| Fedora This forum is for the discussion of the Fedora Project. |
| 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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
07-01-2004, 03:27 AM
|
#1
|
|
Senior Member
Registered: May 2004
Location: Orlando, FL
Distribution: Debian
Posts: 2,860
Rep:
|
Num Lock always OFF?
I have this issue with fedora core 2 - when I boot up everyday - I am always annoyingly reminded that my num lock key is turned off.
My BIOS is set to boot with this on but Linux does not seem to register that info - how do I make this auto?
|
|
|
|
07-01-2004, 03:47 AM
|
#2
|
|
Senior Member
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073
Rep:
|
If you have a C compiler you can make a small application called setnumlock that can turn numlock on for you. Download this ftp://ftp.silug.org/pub/ltsp/setnumlock.tar.gz and untar it then cd into it, compile and install it, change the permissions so ordinary users can use it and then get gnome to run it every time you log in
Code:
tar xzf setnumlock.tar.gz
cd setnumlock
make
su
password
make install
chmod 755 /usr/bin/setnumlock
exit
gnome-session-properties
Click the Startup Programs tab then click Add+, enter setnumlock into the box and click OK
|
|
|
|
07-01-2004, 03:56 AM
|
#3
|
|
Senior Member
Registered: May 2004
Location: Orlando, FL
Distribution: Debian
Posts: 2,860
Original Poster
Rep:
|
Ok -
sorry but I am very new so forgive my ignorance but anytime I see the word compile - it freaks me out...I can hardly untar something.
Next, I am using KDE, not GNOME - so how will that work?
Can you explain what I need to do after these steps?
download the file setnumlock.tar.gz...to /home/carlwill
open konsole and type
Code:
tar xzf setnumlock.tar.gz
Then I CD to the new folder
Code:
make
su
password
make install
chmod 755 /usr/bin/setnumlock
exit
How do I compile this? I don't understad
And how do I make KDE work with this?
Thanks for this great info...
|
|
|
|
07-01-2004, 04:03 AM
|
#4
|
|
Member
Registered: Sep 2003
Location: Denmark
Distribution: FreeBSD v6.0
Posts: 123
Rep:
|
Yeah I got the same problem. Luckily Mandrake runs a "numlock" item during boot that allows me to specify this as "on" -- maybe you should have a look among your RPMs to see if "numlock" is included in your distro as well. I hope so. 
|
|
|
|
07-01-2004, 04:31 AM
|
#5
|
|
Senior Member
Registered: May 2004
Location: Orlando, FL
Distribution: Debian
Posts: 2,860
Original Poster
Rep:
|
how do I check for RPM's?
|
|
|
|
07-01-2004, 06:02 AM
|
#6
|
|
Senior Member
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073
Rep:
|
I think kde can set numlock on for you. I don't use kde but I think I read something about it here http://www.linuxgazette.com/node/view/395
|
|
|
|
07-24-2004, 04:35 PM
|
#7
|
|
Senior Member
Registered: May 2004
Location: Orlando, FL
Distribution: Debian
Posts: 2,860
Original Poster
Rep:
|
Andrew - that worked great for KDE - anything for Gnome?
|
|
|
|
08-22-2004, 01:57 AM
|
#8
|
|
LQ Newbie
Registered: Aug 2004
Location: Vancouver, BC, Canada
Distribution: Mandrake 10
Posts: 1
Rep:
|
Andrew rocks!
Andrew:
Your directions were flawless. I'm new to Linux (though I did run a UNIX box in the 90's) and was also mortified at the word "compile".
So I followed your steps, and it worked. First time. Even added it to my AUTOEXEC, I mean STARTUP, I mean... what's that MSCONFIG-esque utility called in Gnome...?
Thanks, Again
Eric Isbrucker
Now if I could only figure out how to print to the laser on the XP machine. 
|
|
|
|
08-23-2004, 09:33 AM
|
#9
|
|
Member
Registered: Aug 2004
Location: greater dc metro area
Distribution: various, mostly fedora
Posts: 79
Rep:
|
Quote:
Originally posted by carlwill
Ok -
sorry but I am very new so forgive my ignorance but anytime I see the word compile - it freaks me out...I can hardly untar something.
Next, I am using KDE, not GNOME - so how will that work?
Can you explain what I need to do after these steps?
download the file setnumlock.tar.gz...to /home/carlwill
open konsole and type
Code:
tar xzf setnumlock.tar.gz
Then I CD to the new folder
Code:
make
su
password
make install
chmod 755 /usr/bin/setnumlock
exit
How do I compile this? I don't understad
And how do I make KDE work with this?
Thanks for this great info...
|
the make command compiles it.
it seems that you may be missing a step in your code section, generally you have to configure before you compile , ie by typing ./configure
cheers,
--vq
|
|
|
|
08-23-2004, 09:49 AM
|
#10
|
|
Senior Member
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073
Rep:
|
It's a very small piece of code, there is no configure script as there's no need for one.
|
|
|
|
08-27-2004, 03:22 PM
|
#11
|
|
LQ Newbie
Registered: Oct 2003
Location: Manchester UK
Distribution: Dapper 64
Posts: 25
Rep:
|
Andrew, just read your crystal clear instructions, followed them in FC1 with Gnome and they worked perfectly.
As daft as it may sound, it's sometimes the *little things* like no num lock that bug people.
Nice one mate.

|
|
|
|
08-31-2004, 09:14 PM
|
#12
|
|
LQ Newbie
Registered: Mar 2004
Distribution: Fedora Core 5
Posts: 9
Rep:
|
this works for GUI but ...
how can I get this to work from startup
|
|
|
|
09-01-2004, 10:54 AM
|
#13
|
|
LQ Newbie
Registered: Sep 2004
Location: Italy
Distribution: RHEL
Posts: 10
Rep:
|
numlock off
You can set the numlock off(/on) adding a line to /etc/sysconfig/keyboard, i.e. write
KBD_NUMLOCK="no"
if you want the numlock off.
It applies after the boot (grub/lilo), but before the login request.
(This implies that you know how to add a line to a file...)
|
|
|
|
10-11-2004, 12:42 PM
|
#14
|
|
LQ Newbie
Registered: Oct 2004
Distribution: Gentoo
Posts: 18
Rep:
|
W00t that worked like a charm for me
Next question is to figure ouy how to make it work on boot
|
|
|
|
12-10-2004, 07:00 PM
|
#15
|
|
LQ Newbie
Registered: Dec 2004
Location: FL
Distribution: Fedora Core 3
Posts: 6
Rep:
|
THANKS Pollk
adding a line to /etc/sysconfig/keyboard
KBD_NUMLOCK="yes"
worked for me
On my laptop I had SETNUMLOCK in my etc/bashrc and I think it would work on an attached keyboard if I didn't want to use the keybord on the laptop.. you don't want numlock on on a laptop
zoomastr

|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 08:16 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
|
|