LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 03-16-2005, 05:46 AM   #1
GSX
Member
 
Registered: Feb 2005
Location: Germany
Distribution: Debian Etch, kernel 2.6.18
Posts: 103

Rep: Reputation: 15
Help with NUM


Hi,

how can I configure Linux that the NUM-button is automatically set on startup, so that I can use the numerical keyboard?

I use Debian Sarge kernel 2.6.6-1


Thx in advance
Greetz
 
Old 03-16-2005, 06:34 AM   #2
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
### And if you like to have numlock on:
echo "Setting numlock on VTs 1-12 to on..."
for tty in /dev/tty{1,2,3,4,5,6,7,8,9,10,11,12}; do
/usr/bin/setleds +num < $tty
done

********************************************************
add these lines to the appropriate init script. something like runlevel 2 or 3 should do fine.
 
Old 03-18-2005, 05:20 AM   #3
GSX
Member
 
Registered: Feb 2005
Location: Germany
Distribution: Debian Etch, kernel 2.6.18
Posts: 103

Original Poster
Rep: Reputation: 15
Thx....

Greetz
GSX
 
Old 06-30-2005, 06:08 AM   #4
GSX
Member
 
Registered: Feb 2005
Location: Germany
Distribution: Debian Etch, kernel 2.6.18
Posts: 103

Original Poster
Rep: Reputation: 15
Hi,

I wrote the lines above in a script named "S99numon" lying in my /etc/rc3.d/ directory (I boot in runlevel 3 by default)...
On startup of my linux machine (debian etch, kernel 2.6.8-2) linux will start the script S99numon but I get an error:

"Permission denied"


After startup, when I logged in as root, the script runs without problems......Anybody knows help?????




Greetz
GSX
 
Old 07-05-2005, 01:52 AM   #5
GSX
Member
 
Registered: Feb 2005
Location: Germany
Distribution: Debian Etch, kernel 2.6.18
Posts: 103

Original Poster
Rep: Reputation: 15
Nobody any idea???

Please help..


Greetz GSX
 
Old 07-05-2005, 09:46 AM   #6
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 14.1
Posts: 1,141

Rep: Reputation: 55
You might try chmoding it to make it executable.

chmod 755 /location/name-of-the-script

Tux,
 
Old 07-07-2005, 12:30 PM   #7
GSX
Member
 
Registered: Feb 2005
Location: Germany
Distribution: Debian Etch, kernel 2.6.18
Posts: 103

Original Poster
Rep: Reputation: 15
Oh my god....I'm such a fool...very thx

(I want to die for that )

greetz
gsx
 
  


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
Num Lock AnimeLover1985 Slackware 5 03-25-2005 12:11 PM
Num Lock always OFF? carlosinfl Fedora 20 03-07-2005 12:51 PM
Num Lock laurentbon Slackware 3 07-01-2003 05:47 AM
Num Lock davecs Linux - Software 5 06-12-2003 07:28 AM
num lock chrismiceli Linux - General 18 12-16-2002 08:26 PM


All times are GMT -5. The time now is 04:33 PM.

Main Menu
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