Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

9
  • possible duplicate of Associating Multiple Commands with one key in .xbindkeys Commented May 9, 2015 at 16:08
  • 3
    @Serg: I think that Q is not really the same as mine because, well, I know how to run two commands on the same line! Also, I think the solution will not involve running two or more commands after the key has been bound because the loop condition will remain. What I think I need is a completely different solution. I think. Commented May 9, 2015 at 16:14
  • So, what exactly you're trying to achieve ? some_command launches some applications and you're trying to make it start with q pressed ? Commented May 9, 2015 at 16:18
  • @Serg: yup, but I want the 'q' press to also continue. As it is, some_command replaces the q press. I want the q press to be executed as normal in addition to some_command also being executed. Maybe this wasn't clear in the Q... Commented May 9, 2015 at 16:21
  • Ok, so what I did is I bound "gnome-terminal && xdotool key q" to q and now I have infinitely spawning gnome-terminal. Is that what you're experiencing ? Commented May 9, 2015 at 16:37