Running is therapy

a blog about running and Linux. Why? What are you into?
  • Home
  • Current Schedule
  • Personal Records
  • Upcoming Races

Customizing Gnome and using gmrun

Published by Nathan Powell on February 13, 2008 09:50 am under computers

One of the apps I really liked on OS X was Quicksilver. However I really only used a small subset of what it was capable of. Mostly I found using it as a smart ‘Run Dialog’ was quite handy.

To that end I decided that I would bind a run dialog to the same key combo as I had used with Quicksilver.

Nothing in Gnome is straight forward and it took a little digging, but I figured it out. To set up our custom keybinding (we’re going to use <ctrl>+<alt>+r to launch our run dialog) you have to install or already have ‘gconf-editor’.

Fire up gconf-editor which appears to be an ill-conceived regedit and navigate to

apps -> metacity -> global_keybindings

Double click on the run_command_1 and then hit the key combination you want to use. (In my case <ctrl>+<alt>+r).

Now, we need to map that combo to a keybinding_command. Click on ‘keybinding_commands’ (right below ‘global_keybindings’ in the left hand pane) and double click on ‘command_1′. Type the word ‘gmrun’. You’re done with that part so go ahead and close gconf-editor.

If you haven’t already done so, install gmrun. `sudo apt-get install gmrun`.

Now we are ready to give it a shot. Hit the key combination you picked for your keybinding, and when gmrun appears, start typing. It supports tab-completion, so you really only need to hit a few letters and then the tab key.

One more gmrun tip before I end this post. You can create a ~/.gmrunrc file and set up certain behaviors (see man gmrun for a full list). For example in my gmrunrc I set it up to make Firefox handle urls in a new tab:

# Url Handler
URL_http = firefox -remote "openURL(%u, new-tab)"

Happy computing!

No Comment

Comments are closed.

Posting your comment.

  • Search

  • Archives

    • July 2008 (11)
    • June 2008 (14)
    • May 2008 (15)
    • April 2008 (10)
    • March 2008 (16)
    • February 2008 (17)
    • January 2008 (37)
    • December 2007 (21)
    • November 2007 (30)
    • October 2007 (29)
    • September 2007 (22)
    • August 2007 (30)
    • July 2007 (49)
    • June 2007 (32)
    • May 2007 (29)
    • April 2007 (38)
    • March 2007 (26)
    • February 2007 (25)
    • January 2007 (23)
    • December 2006 (10)
    • November 2006 (12)
    • October 2006 (9)
    • September 2006 (9)
    • August 2006 (5)
    • July 2006 (13)
    • June 2006 (9)
    • May 2006 (8)
    • April 2006 (11)
    • March 2006 (12)
    • February 2006 (12)
    • January 2006 (13)
    • December 2005 (15)
    • November 2005 (19)
    • October 2005 (8)
  • Categories

    • blather (60)
    • books (10)
    • computers (177)
    • cooking (1)
    • economics (3)
    • emacs (3)
    • football (1)
    • gaming (1)
    • hiking (5)
    • housekeeping (5)
    • lifehacking (7)
    • music (3)
    • paddling (2)
    • personal (1)
    • politics (21)
    • programming (66)
    • running (223)
    • smoking (40)
    • sysadmin (8)
    • tlc (10)
    • Uncategorized (1)
  • Pages

    • Current Schedule
    • Personal Records
    • Upcoming Races

Copyright © 2008 Running is therapy
WordPress Theme based on Light Theme