One of the features I’ve really been missing in Gnome 3 (and Gnome 2, too) for a long time is the ability to directly jump to a given window by using a key combination. Some other desktop environments offer such a feature per default: Unity uses META+[NUMBERKEY] as it maintains a globally unique window order ([NUMBERKEY] signifies an application’s position on the panel), similarly to Windows 7, which uses the same key combination. KDE4, on the other hand side, does not maintain a strict order amongst all running applications on all workspaces etc, but it allows users to define a per application shortcut, enabling you to jump to the first launched window of that application (I like this feature very much
).
Well, Gnome Shell, to my knowledge, does not offer any corresponding function. I think it would be possible to implement it the Unity way, given the fact that Gnome Shell’s Activities Dock does offer an application order, but I’m not that much into the code yet to implement it myself. Instead, I proceeded the KDE4 way and used a very nice and powerful tool, wmctrl. The following is a generic, desktop environment independent solution, as it is based upon executing a script which can be simply bound to a key combination in most DEs. The script checks whether a given application is running and switches to it; if it isn’t, it launches it. Proceed as follows.
Continue reading »