Wmctrl: gather and focus your chosen window by hotkey

I find it extremely handy to be able to recall my windows by just using the keyboard.

It's pretty easy to do in Linux, just use:

wmctrl -x -R <WM_CLASS>

you can find the WM_CLASS of any window using this command:

xprop | grep WM_CLASS

then clicking on the desired Window. There may be more than one match, just choose one.

Example:

wmctrl -x -R "Gnome-terminal"

When you execute such command, the windows matching such class will be gathered on the
current workspace and focused; you can assign global hotkeys in Gnome with System -> Preferences -> Keyboard -> Shortcuts. The Windows key (Super) is usually a great candidate for such global hotkeys.