How to make a launch command set focus to an already running app instance in ubuntu / linux?
I'm using a program called easystroke to invoke commands from mouse gestures - typically to launch an application. 'gnome-terminal', for example. If I already have a gnome-terminal window open, and I invoke the gnome-terminal gesture, I'd like to be setting focus to the already running instance, rather than spawn a new instance, which is of course what happens now. (I am actually more interested in this for my gmail chrome app shortcut, and other larger apps.)
|