I recently started using Gnome Do as a launcher in xmonad - not to replace the good old XMonad.Prompt, but because it integrates quite nicely into some other OS features. For example, suspending is a matter of pressing Ctrl-Alt-space and entering susp
To use Gnome Do with xmonad, I changed two things: I made sure that the Gnome Do window is ignored by xmonad, and I bound the popup key to Ctrl-Alt-space instead of the default mod4-space, which I use to switch layouts in xmonad.
Ignoring the window is simply a matter of adding a condition to the manageHook:
-
main = do din <- spawnPipe statusBarCmd
-
xmonad $ defaultConfig
-
{
-
manageHook = composeAll . concat $ [
-
[ className =? "Do" --> doIgnore ]
-
]
-
}
To assign a new shortcut for the popup, simply press mod4-space to bring it up, and then click on the small arrow in the top right corner. Under Preferences->Keyboard, a new shortcut can be assigned.




[...] This post was mentioned on Twitter by xmonad, Joakim Recht. Joakim Recht said: gnome-do in #xmonad: http://bit.ly/646K7E [...]