Ubuntu – change a shortcut key to Windows key

gnomekeyboard shortcutsUbuntu

I'm trying to change the shortcut key for "Run Application" ( Alt+F2 ) to the Windows key.

When I click "Show the panel's Run application dialog box" in Keyboard Shorcuts, it says "New Shortcut", waiting for my key combination. I press the Windows key… and nothing happens.

Best Answer

try using xev command - my output after windows key pressed: If you can't see it name(Super_L in this case) you should map it. More info on archlinix wiki.

KeyPress event, serial 30, synthetic NO, window 0x4200001, root 0xb4, subw 0x0, time 4453306, (1419,619), root:(1420,662), state 0x10, keycode 133 (keysym 0xffeb, Super_L), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False

Related Question