NumLock v X

uhlar na fantomas.sk uhlar na fantomas.sk
Pondělí Říjen 16 07:50:27 CEST 2000


Matěj Cepl <cepl na bigfoot.com> wrote:
-> skutečně si už nevím rady. Chtěl bych mít implicitně zapnutý NumLock při
-> startu X Window, ale nějak se mi nevede. V KDE FAQ jsem si našel odkaz na
-> setleds a kdo dobrý mi poradil, že si mám dát do /etc/rc.d/rc.local tohle

-> setleds -v -D +num
-> KDGETLED: Nepřípustný argument
-> Error reading current led setting. Maybe stdin is not a VT?

setleds je pre virtualne konzoly; 
 
-> Můžete mi někdo poradit něco konstruktivního?

man xset

       led     The led option controls the keyboard  LEDs.   This
               controls  the  turning  on or off of one or all of
               the LEDs.  It accepts an optional integer, a  pre­
               ceding dash(-) or an 'on/off' flag.  If no parame­
               ter or the 'on' flag is given, all LEDs are turned
               on.   If  a  preceding  dash  or the flag 'off' is
               given, all  LEDs  are  turned  off.   If  a  value
               between 1 and 32 is given, that LED will be turned
               on or off depending on the existence of a  preced­
               ing dash.  A common LED which can be controlled is
               the `Caps Lock'' LED.  `xset led 3'' would  turn
               led  #3  on.   `xset  -led 3'' would turn it off.
               The particular LED values may refer  to  different
               LEDs on different hardware.


-- 
 Matus "fantomas" Uhlar, sysadmin at NEXTRA, Slovakia; IRCNET admin of *.sk
 uhlar na fantomas.sk ; http://www.fantomas.sk/ ; http://www.nextra.sk/
 Spam is for losers who can't get business any other way.


Další informace o konferenci Linux