Numlock on startup?

gabrielle harrison and Paul van den Bergen gabpaul at melbpc.org.au
Fri Jul 21 00:46:33 UTC 2006


Hi all,

How do I get numlock to behave nicely on Kubuntu?

i.e. if numlock is set on in bios or you want to override bios settings  
(on o off), how do you do so?

For a heads up I found this reference...
https://wiki.kubuntu.org/NumLock?highlight=%28numlock%29

"
Enabling NumLock during startup

Install numlockx using Synaptic or apt-get

Edit /etc/X11/gdm/Init/Default

Find the line
exit 0

Add the following code above that line
if [ -x /usr/bin/numlockx ]; then
   /usr/bin/numlockx on
fi

"

but this referes to gdm and that folder does not exist on my system...

I have successfully installed numlockx on my system using apt-get but the  
man page is spectacularly useful :-)

I understand that one needs to activate this at some stage in a script  
shell, as described above, the question is where?

to tell the truth I'm surprised that one has to go to such lengths as  
running a separate script. Surely there is an X or KDE configuration file  
or panel where this stuff is set - for instance, how does numlockx achieve  
this task? does it set the key explicitly or does it set a variable that  
tells X what to do?



-- 
Dr Paul van den Bergen
Chance favours the prepared mind




More information about the kubuntu-users mailing list