LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
LinkBack Search this Thread
Old 02-28-2006, 05:56 PM   #1
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,321

Rep: Reputation: 55
Numlock key turn on


I got the suggestion at FedoraFaq, if I wanted the numlock to be turn on at boot to put the following in /etc/rc.local and when I boot up and before i go to the login console you can see the numlock key turn on , then it goes out. when I get to the login console, I don't have a numlock key on. is there a defect in the script below.

/etc/rc.local


touch /var/lock/subsys/local

LEDTTY=/dev/tty[1-8]
for tty in $LEDTTY; do
setleds -D +num < $tty
done


Jim
 
Old 02-28-2006, 06:02 PM   #2
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 57
This works on Debian:

install console-tools if not already, add
LEDS=+num
to /etc/console-tools/config

Tip of the hat to Dracae
 
Old 03-01-2006, 05:31 AM   #3
Gethyn
Member
 
Registered: Aug 2003
Location: UK
Distribution: (X)Ubuntu 10.04/10.10, Debian 5, CentOS 5
Posts: 900

Rep: Reputation: 31
Do you use kdm or gdm? I think there's an option in the KDE settings to turn numlock on at boot in kdm (not at my FC box so can't check right now), there may be an equivalent in Gnome too.
 
Old 03-01-2006, 02:34 PM   #4
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,321

Original Poster
Rep: Reputation: 55
I use KDE and I know all about turning it on when KDE loads.
But I want to turn it on before I get to login console.

Jim
 
Old 03-01-2006, 05:50 PM   #5
bushidozen
Member
 
Registered: Oct 2004
Posts: 215

Rep: Reputation: 30
You should be able to use yum to install numlockx from the fedora extras repository. That way every time you start Fedora, numlock will be on.
 
Old 02-03-2008, 12:45 AM   #6
ronaldprettyman
LQ Newbie
 
Registered: Oct 2007
Posts: 13

Rep: Reputation: 0
Quote:
Originally Posted by rickh View Post
This works on Debian:

install console-tools if not already, add
LEDS=+num
to /etc/console-tools/config

Tip of the hat to Dracae
Thank you this was a life saver, I can't stand GDM or KDM.
here's another little piece of debian code, for those who used an apt-get to install gnome(aptitude doesn't seem to create a /etc/init.d/gdm)
Code:
 update-rc.d -f gdm remove
or for kde
Code:
 update-rc.d -f kdm remove
no more graphical login

Last edited by ronaldprettyman; 02-03-2008 at 12:48 AM.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
numlock turn on auto with start whited Linux - General 2 03-05-2005 11:53 AM
How can I make my debian turn NumLock on automatically? LittlesnowLinux Debian 8 11-26-2004 06:40 AM
making numlock turn on at kdm startup nafan Mandriva 2 08-23-2004 12:12 PM
turn on numlock (wmaker) eduac Linux - Software 1 12-01-2003 01:23 PM
how to turn numlock on automatically? Alf829 Linux - Newbie 6 08-22-2003 08:15 AM


All times are GMT -5. The time now is 05:44 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
Open Source Consulting | Domain Registration