I've got a laptop that doesn't include a super / windows key. I find this very frustrating. When I had windows on this computer I had mapped one of my alt keys to act like the windows key. I'd like to accomplish the same thing on linux how can I do this?
I tried to make ~/.Xmodmap with the following:
Code:
keycode 108 = Super_R NoSymbol Super_R NoSymbol Super_R
keycode 134 = Alt_R Meta_R Alt_R Meta_R Alt_R Meta_R
Then I ran
Then I ran xev and pressed the right alt key (108) and got:
Code:
KeyPress event, serial 35, synthetic NO, window 0x2200001,
root 0x65, subw 0x0, time 1298472, (286,-242), root:(897,395),
state 0x0, keycode 108 (keysym 0xffec, Super_R), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
This suggested to me that it had worked; however, when testing a keyboard shortcut that required the super key it did not work. Next I tested a shortcut that requires an alt key and it did work.
Clearly I don't know what I'm doing. Can someone please help me?