← Back to team overview

ubuntu-x-swat team mailing list archive

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

 

For those who specifically only wish to make Caps Lock into Control, I found help at this site:
http://mina86.com/2009/10/11/more-control-no-caps-lock/

What it says:

1) Open /etc/default/console-setup

2) Add ctrl:nocaps to XKBOPTIONS,
for example from
XKBOPTIONS=""
to
XKBOPTIONS="ctrl:nocaps"
(in my case from
XKBOPTIONS="grp:alts_toggle" 
to
XKBOPTIONS="grp:alts_toggle,ctrl:nocaps")

3) Run dpkg-reconfigure console-setup as root and make all the correct
choices for your setup

It worked for me!

I bet more options can be put there that could solve other problems too.

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