LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 03-24-2005, 07:07 PM   #1
AnimeLover1985
LQ Newbie
 
Registered: Mar 2005
Posts: 18

Rep: Reputation: 0
Num Lock


How do you get the Num Lock to be on when you start up Linux or Kde...
 
Old 03-24-2005, 07:16 PM   #2
sls
Member
 
Registered: May 2004
Location: North Wales UK
Distribution: Debian Woody Sarge/Sid
Posts: 77

Rep: Reputation: 15
Hi

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

Sls
 
Old 03-24-2005, 07:31 PM   #3
tank728
Member
 
Registered: Sep 2003
Posts: 142

Rep: Reputation: 16
there is also an option in your bios

-tank
 
Old 03-24-2005, 11:55 PM   #4
tsphan
Member
 
Registered: Jan 2005
Location: Clackamas, Oregon, US
Distribution: Slackware 10.2
Posts: 154

Rep: Reputation: 30
If you wanted to know than just on KDE:

http://insyte.atspace.com/editingcon...html#numlockon
 
Old 03-25-2005, 10:55 AM   #5
Urkburk
LQ Newbie
 
Registered: Mar 2005
Location: Sweden
Distribution: Slackware 10.1
Posts: 11

Rep: Reputation: 0
From a swedish slackware-site...

http://www.slackware.se/?mod=kolla_a...yepp&artid=192
 
Old 03-25-2005, 01:11 PM   #6
AxelFendersson
Member
 
Registered: Mar 2004
Location: Darkest Oxfordshire
Distribution: Arch, Slackware
Posts: 184

Rep: Reputation: 30
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)

Last edited by AxelFendersson; 03-25-2005 at 01:14 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Caps Lock and Num Lock leds dont work! npc Linux - Hardware 2 11-08-2005 11:40 AM
Num Lock always OFF? carlosinfl Fedora 20 03-07-2005 01:51 PM
Num, Scroll, Caps/Lock all Lock up Slackware Zamochit Linux - Newbie 0 10-18-2004 08:47 PM
num lock chrismiceli Linux - General 18 12-16-2002 09:26 PM
Num Lock mtb Linux - Newbie 8 11-27-2002 01:39 AM


All times are GMT -5. The time now is 09:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration