I have a desktop running ubuntu 10.04 I want numlock to be turned on initially. What do I have to change to accomplish this?
~~edit~~
I checked in my BIOS. It was already set up to have the numlock turned on initially. Yet it isn't being turned on initially. I have a USB keyboard: would that break this functionality? Or, should I ask elsewhere (superuser, perhaps) about how to get that BOIS setting working properly?
From the man page: "numlockx is a program to control the NumLock key inside X11 session scripts." It's a very simple tool. You invoke it from the commandline or a script
will enable numlock and
will disable it.
I use it with xfce myself as an autostarted application. Once you have installed the package, go to "Settings->Session and Startup" from the xfce menu. Click on the "Application Autostart" tab, and then on the Add button. Enter whatever you like in the Name and Description boxes and in the Command box, enter "numlockx on" (without the quotes). Click OK and Close, and the next time you login, you'll have your numlock on.
You will have to try searching in your BIOS, if you do not want to do that then you can try numlockx, it is available in the repositories.