2

how could I re-map the 'Super' (left) key to launch an app? I want to launch Synapse with it, which is far more responsive than the Unity launcher. Cheers.

Gabriel
  • 2,453
  • 7
  • 32
  • 52
  • You might want to look into xbindkeys (http://manpages.ubuntu.com/manpages/hardy/man1/xbindkeys.1.html) and xmodmap (http://manpages.ubuntu.com/manpages/hardy/man1/xmodmap.1.html). – Michael Jan 30 '13 at 18:40
  • @MichaelBiech xbindkeys doesn't work for the super key, moreover, xbindkeys only adds behavior, I assume the OP also wants to unbind the Unity Launcher... – Gerhard Burger Jan 30 '13 at 19:48
  • @GerhardBurger: Using xbindkeys with "Super_L" works perfectly fine for me. I pointed out xmodmap for precisely that reason, though: It might not work out of the box, so something along the lines of xmodmap -e "remove mod4 = Super_L" might be in order to stop it from being recognized as a modifier. Your point about the OP wanting to unbind the Unity launcher from Super_L is very valid, though and I didn't take it into account. Also you're right about adding complexity typically not being a good thing. – Michael Jan 30 '13 at 20:38
  • 1
    @MichaelBiech, that is strange, I tried adding it to .xbindkeyrc and that didn't work... Could you tell me how you got it working? Also the xmodmap -e "remove mod4 = Super_L" didn't seem to do anything. I'm very interested in solutions to this question, if you have some time could you have a look at my question about Ubuntu key bindings in general (unanswered)? – Gerhard Burger Jan 30 '13 at 21:02
  • Super_L didn't work for me either. – Seth Feb 01 '13 at 00:56
  • Actually, Super_L worked after I rebooted. I've never had to reboot to get xbindkeys working before.. – Seth Feb 01 '13 at 22:57
  • @GerhardBurger To be fair, I'm using i3 for my window manager, so what I said can not simply be applied to a more "default" Ubuntu desktop. Sorry I couldn't be of more help on this one. – Michael Feb 03 '13 at 15:07
  • 1

1 Answers1

0

The 'Super' button can be set as an activation key in the configuration file for Synapse.

See Can I change Synapse shortcut to Super/Windows key alone?

jnas
  • 468