setting Num lock on by default

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


2009/10/10 Kam Leo <kam.leo at gmail.com>:
> On Sat, Oct 10, 2009 at 11:34 PM, suvayu ali
> <fatkasuvayu+linux at gmail.com> wrote:
>> 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
>
> The script is in the setleds documentation, l.e. "man setleds".
>

I was completely unaware of the utility setleds before I made the
original post. The mention in the archive post led me to it. :) Thanks
for all the help everyone, much appreciated :)

-- 
Suvayu

Open source is the future. It sets us free.




More information about the users mailing list