How to set NUM-LOCK on when login into X

Anthony E. Greene tony at greene-family.org
Thu Oct 14 00:28:18 UTC 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12-Oct-2004/08:41 +0800, Yin Ming <yinming at mdc-ds.com> wrote:
>Firstly, thank all the kind boys taught me to set Num-lock with setleds.
>I put a line in /etc/rc, and it works very well under test-mode login.
>But When it setups the X, (I usually bootup with runlevel 5) the
>Num-lock turns off again. so how to set the num-lock before X login
>screen??

I installed numlockx 

  http://ktown.kde.org/~seli/numlockx/numlockx-1.0.tar.gz

and called it from within

  /etc/X11/gdm/PreSession/Default

Since I use gdm for logins, numlockx is run each time the login screen is
displayed.

Tony

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Anthony E. Greene <mailto:tony at greene-family.org> 0x6C94239D

iD8DBQFBbcgcpCpg3WyUI50RAkcMAKDZ+BJAOR6ItNGEZHke6sOYhA9g4wCgwsW1
+ZtST34DAKJo+tgjKZCbmwI=
=iVoa
-----END PGP SIGNATURE-----




More information about the redhat-list mailing list