Rocking the blogosphere
Apple Online Store

Getting the Windows key to work in GNOME/Ubuntu

After seeing Nick Thomas’s post, I thought it might be useful to actually do something with the Windows key on my keyboard in GNOME in Ubuntu. Here’s how I got it to work:

windows_key

First, I had to go the Keyboard Preferences Panel, click on the Layout Options tab, expand Alt/Win key behavior, and select “Super is mapped to the Win-keys (default)”

Then in the Keyboard Shortcuts Panel, I could select “Show the panel run application dialog” and press Windows+R.

I also tried to map Calculator to Windows+C, but for some reason it doesn’t seem to work. Any ideas?

Steve Yegge had the interesting idea of using the Windows key to have a slew of available key bindings for Emacs, but I haven’t tried this yet.

Del.icio.us Digg Reddit Technorati

Possibly related posts

Comments

  1. June 22nd, 2006 | 11:45 am

    Hmm… That’s very interesting. So, you can bind Win-T and Win-R, but not Win-C. I’ll have to play with that the next time I boot into Ubuntu. If you turn out to be right, I’ll probably file a bug report, since this doesn’t seem to be documented behavior.

    (N.B.: I think I got the CAPTCHA wrong on my first try submitting this. If this is double-posted, that’s why.)

  2. June 22nd, 2006 | 11:59 am

    I also wonder if this will work. I’ll probably try it later when I get home:

    http://freshmeat.net/projects/hotkeys/

  3. June 22nd, 2006 | 5:19 pm

    OK, I downloaded Hotkeys. I spend some time trying to get the damn thing to compile, but I’ve come to the conclusion that it’s suffering from some pretty bad bit rot. According to the change log, it was last updated in 2002. I’m assuming that it won’t compile on a modern system.

  4. June 22nd, 2006 | 9:10 pm

    I was just in a bookstore looking at Linux Desktop Hacks and it mentionedthat hotkeys is kind of old and that a more modern program is Lineak. It also mentioned xosd (xosd-bin package in Ubuntu) which is used in conjuction with hotkeys or Lineak to do on-screen display of volume and such.

  5. June 25th, 2006 | 7:04 pm

    Marc,

    Following you instructions (1. “Super is mapped…” and then setting the shortcuts as desire) worked like a charm.

    Also for the record I can’t bind Win+C to anything either.

    Cheers, Mark

  6. Dave
    July 22nd, 2006 | 5:30 pm

    Hey, awesome tip. Thanks for posting it. My system already feels much more responsive :)

  7. DMS
    August 26th, 2006 | 5:27 am

    it worked like a charm, thanks (y)

  8. Siva
    October 9th, 2006 | 6:32 am

    Simply great. you gave me the knowledge which I am looking for.
    . .
    |
    \ /
    *

  9. November 2nd, 2006 | 11:08 am

    well, it’s not just the “c” key or a specific keyrange… i get the feeling it’s something about the way gnome is invoking a command to get the app to open.
    I tried binding win-s to gnome-terminal (something i’m used to using), which worked, and then bound it to mail program (i use kmail). no dice. Was able to bind win-C to terminal, but not to calculator.

    This is the one (and possibly, only) thing that makes me pine a little for the cluttered sh!tty brightness of KDE or the simple efficiency of IceWM again–at least there I could make a key combo do pretty much whatever I wanted, and wasn’t restricted to 40 or so “actions”.

Leave a reply

Apple Online Store
Apple Online Store