You are not logged in.

#1 2009-01-10 20:55:24

dhgwilliam
Member
Registered: 2008-11-11
Posts: 6

setting autorepeat on caps lock doesn't work

disclaimer: yes i have RTFM, yes xset r works for other keys on my keyboard

so, in summary, xset [-]r works for some keys on my keyboard, but not for keycode 66, formerly the caps lock key, presently the backspace key. apparently, i am not the only person facing this difficulty.


setting your my caps lock to backspace should work like this:
xmodmap -e "remove Lock = Caps_Lock"
xmodmap -e "keycode 66 = BackSpace"
xset r 66

the first two steps work, the third doesn't. a non autorepeating backspace is damn near useless.

xset docs suggest that particular keys can't be set to autorepeat, but 66 doesn't seem like a very low keycode to me.

       r       The  r  option controls the autorepeat.  Invoking with "-r", or
               "r off", will disable autorepeat, whereas "r", or  "r on"  will
               enable  autorepeat.   Following  the "-r" or "r" option with an
               integer keycode between  0  and  255  will  disable  or  enable
               autorepeat on that key respectively, but only if it makes sense
               for the particular keycode.  Keycodes below 8 are not typically
               valid  for  this  command.

Offline

#2 2009-01-10 22:28:37

vogt
Member
From: Toronto, Canada
Registered: 2006-11-25
Posts: 389

Re: setting autorepeat on caps lock doesn't work

Those commands work for me; my previously non-repeating Control_L with keycode 66 (default is capslock) became a repeating backspace; the only differences are that that key is a control modifier, and my hardware is almost certainly different.

Offline

#3 2009-01-11 13:23:28

faemir
Member
From: UK
Registered: 2007-11-09
Posts: 18

Re: setting autorepeat on caps lock doesn't work

Those commands give me a non-repeating backspace too sad

Offline

Board footer

Powered by FluxBB