Comment 12 for bug 524774

NiñoScript (cristian-arenas) wrote :

I figured out how to change that stuff myself without needing xmodmap, yay for me :)

In this file: /usr/share/X11/xkb/keycodes/evdev
I found these lines:

<LALT> = 64;
<LCTL> = 37;
<SPCE> = 65;
<RCTL> = 105;
<RALT> = 108;
// Microsoft keyboard extra keys
<LWIN> = 133;
<RWIN> = 134;

which I changed for these ones:

<LALT> = 108;
<LCTL> = 133;
<SPCE> = 65;
<RCTL> = 134;
<RALT> = 64;
// Microsoft keyboard extra keys
<LWIN> = 37;
<RWIN> = 105;

then logout/login, and tadá!
controls in "command" key
super in "control" key
alt for 3rd level (altgr) in the left
alt for options and stuff in the right

just how I like it!

Hope it helps someone :)