Computing.Net > Forums > Linux > numlock as default

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

numlock as default

Reply to Message Icon

Name: _Samer_
Date: February 26, 2003 at 20:09:11 Pacific
OS: RedHat 8.0
CPU/Ram: e-machines 500, 256MB
Comment:

I have been searhing google for a way the change the startup default of linux to numlock, since I use the keypad a lot. I was able to change /etc/rc.d/rc.local so that it numlocks when loading the console, but I want a clean way for X to do this as well. In the same site they mentioned downloading a .tar.gz file, but I can't imagine that this is the only way to do such a simple thing!

Thanks a bunch,
Samer



Sponsored Link
Ads by Google

Response Number 1
Name: egkenny
Date: February 27, 2003 at 20:18:17 Pacific
Reply:

If you are using KDE then to turn on numlock at startup:
Select menu: Preferences / Peripherals / Keyboard
Click Advanced tab
In Numlock on KDE startup Select Turn on

I have not found a way to do it in GNOME.

If you insist on using GNOME then I found a program called numlockx that works with RedHat. You can get it at: http://lea-linux.org/xwindow/numlock.php3
The site is in French. The instructions in English are:

1) download numlockx-0.2.tar.gz (look for the source link)
2) uncompress numlockx
$ tar xzf numlockx-0.2.tar.gz
3) build and install numlockx
$ cd numlockx-0.2
$ ./configure
$ make
$ su -c "make install"
4) syntax for numlockx
to turn numlock on:
$ numlockx on
to turn numlock off:
$ numlockx off
5) to activate "numlockx on" at boot time add to file: /etc/X11/xdm/Xsetup_0

if [ -x /usr/X11R6/bin/numlockx ]; then
/usr/X11R6/bin/numlockx on
fi

Note the $ signs just indicates where a linux prompt wouuld be. Just ignore it.


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: numlock as default

Dont want Linux as Default ! www.computing.net/answers/linux/dont-want-linux-as-default-/20583.html

NT as Default OS in Linux boot menu www.computing.net/answers/linux/nt-as-default-os-in-linux-boot-menu/14018.html

Linux/Windows- need Win. as default www.computing.net/answers/linux/linuxwindows-need-win-as-default/22714.html