LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   Locking the Num-Lock (https://www.linuxquestions.org/questions/red-hat-31/locking-the-num-lock-126591/)

AceTech747 12-17-2003 05:28 AM

Locking the Num-Lock
 
Is there a way to have a default of having the num-lock on the computer?

Bruce Hill 12-17-2003 06:52 AM

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.

AceTech747 12-17-2003 11:39 AM

I am using fluxbox.

Bruce Hill 12-17-2003 04:05 PM

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

AceTech747 01-04-2004 02:27 AM

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?

GAVollink 01-06-2004 12:33 PM

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!

Bruce Hill 07-09-2004 03:13 AM

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...

GAVollink 07-09-2004 11:38 PM

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).

Bruce Hill 07-10-2004 04:01 AM

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...

Bruce Hill 07-10-2004 07:49 AM

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


Bruce Hill 07-15-2004 05:35 AM

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...

GAVollink 09-08-2004 03:34 PM

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?

Bruce Hill 09-08-2004 05:54 PM

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.


All times are GMT -5. The time now is 02:39 PM.