[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#621835: xmodmap -e 'remove lock = Caps_Lock' no longer works.



>>>>> "CB" == Cyril Brulebois <kibi@debian.org> writes:

CB> jidanni@jidanni.org <jidanni@jidanni.org> (09/04/2011):
>> xmodmap -e 'remove lock = Caps_Lock' #no longer works.

CB> Since when/what upgrade?

This year sometime. Maybe this month.

>> The best one can do is assign it to something else,
>> xmodmap  -e 'keycode 66 = Tab'
>> as there isn't even a way to do
>> xmodmap  -e 'keycode 66 = NOTHING'.

CB> Surely one of the caps* setxkbmap option is going to do whatever you
CB> want. Like caps:none.

Nobody can figure out how to do it because there are no examples on the
setxkbmap man page.

$ setxkbmap caps:none
Error loading new keyboard description
$ setxkbmap -query
rules:      evdev
model:      pc105
layout:     us
options:    lv3:ralt_switch
$ setxkbmap caps:none | xkbcomp - $DISPLAY
Error loading new keyboard description
syntax error: line 1 of stdin
last scanned symbol is:
Errors encountered in stdin; not compiled.

CB> See available options in:
CB>   /usr/share/X11/xkb/rules/base.lst

caps:none sounds fine to me. But I can't do it as you see above.

CB> And stop using xmodmap, that's obsolete.

Well why don't you put a warning on its man page. Else how is anybody
supposed to know?



Reply to: