automatically enable numlock on startx
hey folks. a decidedly non-urgent question about something that's been annoying me for a while: is there anyway to make x automatically enable the numlock when it boots up? there's a setting for it in the bios, and that works for the machine startup and in the terminal, but for some reason it shuts off when i startx. i imagine this is a simple line in my xorg.conf; does anyone know what it is off the top of your head? (i use gnome, if that has anything to do with it.) thanks!
david |
This works for me in SuSE9:
Code:
test -r /var/run/numlock-on -a -x /usr/X11R6/bin/numlock && /usr/X11R6/bin/numlock |
I think this thread might be of some help to anyone having this same issue.
specifically though, for runlevel 3 "startx"-ers, it appears this might be a quick fix: For the following, you need a program called numlockx For starting X from the console i.e. via startx, stick the following in `$HOME/.xinitrc` (note the path to the numlockx program may be different for your distro): Code:
#! /bin/sh |
All times are GMT -5. The time now is 09:40 AM. |