[Question]Reset Capslock under X window environment

Lubos Lunak l.lunak at suse.cz
Mon Jan 19 02:22:48 PST 2009


On Monday 19 of January 2009, Kan-I Jyo wrote:
> Dear list,
>
> I am new to list and I am not sure if I am posting this quesiton at
> the right place. Please let me know if this is not the place for my
> question.
>
> It comes up to my mind that if I can reset the capslock status by
> command instead of pressing the capslock key itself. For example, if
> the current Capslock is on, which means all the characters would be
> upper case, is there a way to set/reset the capslock to "off" by
> issuing a command through xterm or other terminal soft?
>
> I have tried "$ xset -led [1-32]" but the capslock indicator on "$
> xkbvleds" and "$ xkbwatch" window never turned off.

 See http://ktown.kde.org/~seli/numlockx/ . It is for NumLock but the 
modifications are obvious.

-- 
Lubos Lunak
KDE developer
--------------------------------------------------------------
SUSE LINUX, s.r.o.   e-mail: l.lunak at suse.cz , l.lunak at kde.org
Lihovarska 1060/12   tel: +420 284 028 972
190 00 Prague 9      fax: +420 284 028 951
Czech Republic       http://www.suse.cz



More information about the xorg mailing list