You are not logged in.
Pages: 1
Hi,
is there a way to re-map the 'Super' key (or 'Windows' key) to act as the launcher of the 'Alt Menu' that displays with 'Alt+F3' by default?
Thanks!
Offline
I'm not running #!, but in rc.xml (in /home/yourusername/.config/openbox):
<keybind key="A-F3">
<action name="Execute">
<command>dmenu_run</command>change the A to W.
Last edited by dura (2013-01-25 19:52:22)
Offline
I did not explained myself correctly. I don't want to use the 'Super+F3' combination as a replacement of 'Alt+F3', I want to replace 'Alt+F3' with the 'Super' key alone (a la Unity or Cinnamon)
Offline
Then remove the +F3, so it is just W, though doing so will most likely render all other special key commands redundant.
Last edited by dura (2013-01-25 19:59:19)
Offline
Nope, did not work. Apparently the 'Super' key can't be used alone or even with F# keys (I logged out each time I changed rc.xml) ...
Offline
First you need to remap the Super key to something else so it is not seen as a modifier key any more.
Use `xev' to find out what keycode your Super key produces, then use xmodmap to change that keycode to something unused, like F13 or higher.
The command will be something like e.g.
xmodmap -e "keycode 133 = F13"Add that command to your ~/.xinitrc (or however you autostart stuff on boot)
Then change your rc.xml to
<keybind key="F13">
<action name="Execute">
<command>dmenu_run</command>Also, note that each Super key (if you have two) has a different keycode, so you could map them to different things (or the same thing).
Offline
Than you, I'll try that.
Offline
Pages: 1
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.