← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 524774] Re: xmodmap failure BadValue error, 118 (X_SetModifierMapping)

 

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 :)

-- 
xmodmap failure BadValue error, 118 (X_SetModifierMapping)
https://bugs.launchpad.net/bugs/524774
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg-server in ubuntu.



References