Numlock key turn on logon

Peter Collier pecb at nildram.co.uk
Sun Oct 10 22:44:03 UTC 2004


On Sun, 2004-10-10 at 22:19, ne... wrote:
> On Oct 10, 2004 at 04:35, Jeff Vian in a soothing rage wrote:
> 
> >On Sat, 2004-10-09 at 23:21, Harikrishnan M wrote:
> >> > How do I setup fedora so that when I log into gnome the numlock will be
> >> > on. I have tried the save session settings and it does not seem to save
> >> > this option.
> >> 
snip
> >If you can tell me of any other key settings that are in the bios of
> >most computers I would love to know what ones they are.  The bios on all
> >boards I have ever used only has the numlock key setting.
> >From the console, no X, all you need is something like
> the following in /etc/rc.local:
> 
> INITTY=/dev/tty[1-8]
> for tty in $INITTY
>   do
>    /usr/bin/setleds -D +num < $tty
> done
> 
> If you use KDE, this can be set per user via the KDE Control Centre:
> 
> Peripherals -> Keyboard -> Numlock on KDE Startup
> 
> GNOME users are outta luck.
> 
> N.Emile...

	This works under gnome numlockx-1.0.tar.gz download from
http://ourworld.cs.com/kvsmaster/files/numlockx-1.0.tar.gz. Extract in
/tmp directory. Run the usual ./configure, make, make install, make
clean.
Then edit your .bashrc in home dir, and add the line numlockx.

Peter




More information about the fedora-list mailing list