setting Num lock on by default

suvayu ali fatkasuvayu+linux at gmail.com
Sun Oct 11 06:34:17 UTC 2009


2009/10/10 Kam Leo <kam.leo at gmail.com>:
> On Sat, Oct 10, 2009 at 11:02 PM, Hiisi <very-cool at rambler.ru> wrote:
>> 2009/10/11 Kam Leo <kam.leo at gmail.com>:
>>> On Sat, Oct 10, 2009 at 10:46 PM, Hiisi <very-cool at rambler.ru> wrote:
>>>> 2009/10/11 suvayu ali <fatkasuvayu+linux at gmail.com>:
>>>>> Hi everyone,
>> <--SNIP-->
>>  But it seemed to me that only
>>>>> works in runlevel 5.
>> <--SNIP-->
>>>
>>> NumLockX may not help you in runlevel 3.  You might have to run the
>>> script listed at  http://www.userlocal.com/tips/activatingnumlock.php
>>>
>> It seems to me the OP asked how to set Num on by default not in
>> runlevel: 5 either....
>> --
>> Hiisi.
>
> My bad. I didn't notice the OP stating numlockx did not work for
> runlevels 1-4. If you are not using Gnome use the script that I
> referenced.
>

Thanks Kam for that script. I also found a similar script in some list
archive after I posted here.

-----------------------------------------------
INITTY=/dev/tty[1-8]

for tty in $INITTY
do
  setleds -D +num < $tty
done
-----------------------------------------------

Thanks to everyone who replied. :)
-- 
Suvayu

Open source is the future. It sets us free.




More information about the fedora-list mailing list