LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Num Lock (https://www.linuxquestions.org/questions/slackware-14/num-lock-305685/)

AnimeLover1985 03-24-2005 06:07 PM

Num Lock
 
How do you get the Num Lock to be on when you start up Linux or Kde...

sls 03-24-2005 06:16 PM

Hi

For Kde use control center
Peripherals
Keyboard
You can set it there.

Sls

tank728 03-24-2005 06:31 PM

there is also an option in your bios

-tank

tsphan 03-24-2005 10:55 PM

If you wanted to know than just on KDE:

http://insyte.atspace.com/editingcon...html#numlockon

Urkburk 03-25-2005 09:55 AM

From a swedish slackware-site...

http://www.slackware.se/?mod=kolla_a...yepp&artid=192

AxelFendersson 03-25-2005 12:11 PM

Quote:

Quoth tank728:
there is also an option in your bios
That won't help; the Linux kernel automatically turns numlock off when it starts.

For terminals, add the following to your /etc/rc.d/rc.local :

# Turn on Numlock for all consoles:
for t in 1 2 3 4 5 6
do
setleds -D +num < /dev/tty$t &> /dev/null
done

To have numlock turned on in X as well, first you need to install numlockx. Then create a file called /etc/xprofile containing the following:

#!/bin/sh
# Turn on num-lock:
/usr/bin/X11/numlockx on

(or, if you already have an xprofile, add the last two lines to the botom of it)


All times are GMT -5. The time now is 07:26 AM.