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

Notices

Reply
 
Search this Thread
Old 12-17-2003, 06:28 AM   #1
AceTech747
Member
 
Registered: Nov 2003
Distribution: RH 9.0
Posts: 144

Rep: Reputation: 15
Locking the Num-Lock


Is there a way to have a default of having the num-lock on the computer?
 
Old 12-17-2003, 07:52 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Re: Locking the Num-Lock

Quote:
Originally posted by AceTech747
Is there a way to have a default of having the num-lock on the computer?
If you use the KDE desktop, go to Control Center, Peripherals, Keyboard and then NumLock on KDE startup: Turn on.

I don't know about any other desktop environments, but it should be similar.
 
Old 12-17-2003, 12:39 PM   #3
AceTech747
Member
 
Registered: Nov 2003
Distribution: RH 9.0
Posts: 144

Original Poster
Rep: Reputation: 15
I am using fluxbox.
 
Old 12-17-2003, 05:05 PM   #4
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
I don't use Fluxbox at this time. But I searched LQ and found some things.

Read this thread ->

http://www.linuxquestions.org/questi...ox+and+numlock

Last edited by Bruce Hill; 12-17-2003 at 05:09 PM.
 
Old 01-04-2004, 03:27 AM   #5
AceTech747
Member
 
Registered: Nov 2003
Distribution: RH 9.0
Posts: 144

Original Poster
Rep: Reputation: 15
What is the command line command to bring up the GUI for the above mentioned KDE configuration. If I run this from fluxbox will it still work? I have also tried the stuff in the above mentioned thread and have had no luck with it. Has anyone got this working on their computer under fluxbox?
 
Old 01-06-2004, 01:33 PM   #6
GAVollink
Member
 
Registered: Apr 2002
Location: St. Paul, Minnesota
Distribution: UbuntuStudio, Ubuntu
Posts: 357

Rep: Reputation: 31
KDE Control Center is KDE specific, and will do no good (and may in fact try to load the entire KDE environment when you run it).

It doesn't appear that there is an effective way of setting the NumLock in any of the other Window Managers. But I too would be happy to be proven wrong!
 
Old 07-09-2004, 04:13 AM   #7
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Quote:
Originally posted by GAVollink
KDE Control Center is KDE specific, and will do no good (and may in fact try to load the entire KDE environment when you run it).

It doesn't appear that there is an effective way of setting the NumLock in any of the other Window Managers. But I too would be happy to be proven wrong!
If you've still not figured out how to enable the NumLock key when the comp
boots with Fluxbox, for instance, post back...
 
Old 07-10-2004, 12:38 AM   #8
GAVollink
Member
 
Registered: Apr 2002
Location: St. Paul, Minnesota
Distribution: UbuntuStudio, Ubuntu
Posts: 357

Rep: Reputation: 31
Posting back. I don't know how to do it, and also think it would bring good closure to this thread (remember many Google searches terminate on threads like this one).
 
Old 07-10-2004, 05:01 AM   #9
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Download NumLockX from http://ktown.kde.org/~seli/numlockx/
Untar wherever you desire, then cd /numlockx-1.0
Issue "pico README"
and if you need more help after that, post back...
 
Old 07-10-2004, 08:49 AM   #10
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Post HOW-TO turn on Num Lock when you start the X server

Basically all you need to do is:

Download the file from http://ktown.kde.org/~seli/numlockx/numlockx-1.0.tar.gz
$ tar -zxvf numlockx-1.0.tar.gz
$ cd numlockx-1.0
$ ./configure
$ make
# make install
Then if you have a file .xinitrc in your home directory just add
numlock &
to the file, save it, and you'll have NumLock on whenever you start the X server.

If you don't have the file, create it in your home directory. You can put other
programs in it to run when you start X. Here's mine as an example:

Code:
bash-2.05b$ cat .xinitrc
# This is my X server start up file

# Add any programs you want to have running when X starts here
# Make sure they all end with a &

numlockx on &
kmail &
/home/mingdao/firefox-installer/firefox &
xterm &

# Now add your windows manager here.
# I have included some examples, just remove the # in the beginning for yours

# exec gnome-session
# exec startkde
# exec blackbox
exec fluxbox
 
Old 07-15-2004, 06:35 AM   #11
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Quote:
Originally posted by GAVollink
Posting back. I don't know how to do it, and also think it would bring good closure to this thread (remember many Google searches terminate on threads like this one).
So have you been back and read it?

Were you able to get it working, or do you need some help?

Edit: P.S. I get a 503 on your website link...

Last edited by Bruce Hill; 07-15-2004 at 06:40 AM.
 
Old 09-08-2004, 04:34 PM   #12
GAVollink
Member
 
Registered: Apr 2002
Location: St. Paul, Minnesota
Distribution: UbuntuStudio, Ubuntu
Posts: 357

Rep: Reputation: 31
Been away...

Hello,

I've fallen out of the habit of checking the forums here (bad I know)... I've been doing a lot of online work over at ChefMoz.org. Anyway... I never got it working, but I also stopped using Fluxbox (mostly due to having a beefier machine and really liking the usability of Gnome 2.6).

I appreciate the offer, but I think the links above should suffice.

Re: PS...
A web site link? What web site link?
 
Old 09-08-2004, 06:54 PM   #13
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Re: Been away...

Quote:
Originally posted by GAVollink
Hello,

I've fallen out of the habit of checking the forums here (bad I know)... I've been doing a lot of online work over at ChefMoz.org. Anyway... I never got it working, but I also stopped using Fluxbox (mostly due to having a beefier machine and really liking the usability of Gnome 2.6).
I believe G nome might have numlockx installed and you'll have to figure out
some gui that's hiding it to use it, just like with KDE.
Quote:
Re: PS...
A web site link? What web site link?
In your LQ UserCP you have listed your website. At the bottom of a users post are
several buttons - www is the link to a website you provided - it does not work.
If that link is no longer valid, you should change or remove it. You should update
your profiles if you're going to continue to use LQ, so folks can help you better.
 
  


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 AnimeLover1985 Slackware 5 03-25-2005 01:11 PM
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


All times are GMT -5. The time now is 08:42 PM.

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