Skip to Content »

Tech Life of Recht » Gnome Do in XMonad

 Gnome Do in XMonad

  • December 2nd, 2009
  • 10:15 pm

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. There are a lot of other nice features like that. I still use the regular XMonad.Prompt to start programs, as it works just fine for that.

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:

CODE:
  1. main = do din <- spawnPipe statusBarCmd
  2.   xmonad $ defaultConfig
  3.     {
  4.       manageHook = composeAll . concat $ [
  5.         [ className =? "Do" --> doIgnore ]
  6.       ]
  7.     }

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.

17 People had this to say...

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

Gravatar

[...] This post was Twitted by janhxie [...]

Gravatar

i never expect it that easy good job

Gravatar

like your website. This is a cool site and I wanted to post a comment to let you know, nice job!

Gravatar

genuine ugg boots

Gravatar

genuine ugg boots

Gravatar

Basketball Jerseys
Links of London says lovers of the Emerald Isle can even take things one step further by choosing a green, orange and white thread to create a friendship bracelet in homage to the Irish flag.cheap nba jerseys

Gravatar

I read with great interest.Your article looks nice!

Gravatar

I guess I’m not the only one enjoying reading through your website. Carry on the good work.

Gravatar

I appeared on the web for the problem and found most individuals will associate with with your website.

Gravatar

Tech life of recht and that shows it’s things.

Gravatar

Tech life of recht and that thing is great.

Gravatar

Thanks a lot! Your article is pretty good. I like it

Gravatar

This post is a luckfor me! Thank you for sharing.

Gravatar
  • John
  • February 26th, 2014
  • 12:52 pm

Thank you for the article!

Gravatar

Nice post. I like the way you start and then conclude your thoughts. Thanks for this information . Writings-centre.com

Want your say?

* Required fields. Your e-mail address will not be published on this site

You can use the following XHTML tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>