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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-03-2003, 12:02 PM
|
#1
|
Member
Registered: Jul 2003
Distribution: RH 7.3/8.0/9.0, Debian Stable 3.0, FreeBSD 5.2, Solaris 8/9/10,HP-UX
Posts: 340
Rep:
|
Turning on Keyboard LEDs on startup
I don't know you guys, but I'm a bit lazy to turn on the Num Lock led each time I boot Linux. Windoze does it automatically. So i did some research and I concluded that in order to do it I must modify the /etc/X11/XF86Config file... There are some references about three LEDs in that file, but I couldn't undertand them. Any suggestions?
|
|
|
08-03-2003, 12:40 PM
|
#2
|
Member
Registered: Nov 2000
Posts: 368
Rep: 
|
on start up my mandrake server does this in a startup file
setleds -D +num
and to take it off:
setleds -D -num
just put that in a start up file and your off
|
|
|
08-03-2003, 06:25 PM
|
#3
|
Member
Registered: Jul 2003
Distribution: RH 7.3/8.0/9.0, Debian Stable 3.0, FreeBSD 5.2, Solaris 8/9/10,HP-UX
Posts: 340
Original Poster
Rep:
|
yup it really works. thanks.
|
|
|
08-03-2003, 06:32 PM
|
#4
|
Member
Registered: Jul 2003
Distribution: RH 7.3/8.0/9.0, Debian Stable 3.0, FreeBSD 5.2, Solaris 8/9/10,HP-UX
Posts: 340
Original Poster
Rep:
|
...however strangely enough this does not work on RED HAT 9... it gives me this error:
KDGKBLED: Invalid argument
Error reading current flags setting. Maybe you are not on the console?
Any suggestions?
|
|
|
08-03-2003, 08:01 PM
|
#5
|
Member
Registered: Nov 2000
Posts: 368
Rep: 
|
Quote:
yup it really works. thanks.
|
no problem
Quote:
KDGKBLED: Invalid argument
|
i should have just posted the hole line out of my start up script D'OH!
basically to make the numlock come on on all the screens it does a mini loop
in that loop it does this:
setleds -D +num < /dev/ttyX
where /dev/ttyx is the console your on e.g. /dev/tty6
have a play
and let us know
|
|
|
08-04-2003, 02:23 AM
|
#6
|
Member
Registered: Jul 2003
Distribution: RH 7.3/8.0/9.0, Debian Stable 3.0, FreeBSD 5.2, Solaris 8/9/10,HP-UX
Posts: 340
Original Poster
Rep:
|
yes i've tested it with that script (infact on mandy it works...) The problem is in RedHat Linux (apologies, that error came up prior to the script), but still no LEDs light after that script (and no errors)
|
|
|
All times are GMT -5. The time now is 05:05 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|