Bits and Bytes from Johnny Mac

Tuesday, December 27, 2005

How Do I Turn On NumLock in X by Default?

yum install numlockx

Yes, it's that easy. This is a utility package found in Fedora Extras. It installs a command line program that will set NumLock to on or off. It also installs the shell script /etc/X11/xinit/xinitrc.d/numlockx.sh. This is executed at X startup time and sets the NumLock key to on.

The shell script was a nice surprise. I found it when I was about to open vi to create exactly the same script. Every once in a while, things just work.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]



<< Home