Numlock not working I have a fresh install of Fedora Core 2 and numlock is not working. When
I press the buttin (shift ScrLk) nothing happens.
I know this should be fixable with xkb and / or xmodmap but I spent a
lot of time on that a couple of weeks ago with another computer but
didn't get it to work so I figured it should be easily fixable with a
mini hack this time.
If I run this command:
xmodmap -e "keysym Pointer_EnableKeys = Num_Lock"
In xterm Numlock magically starts working so I figured the easy way
would be to put that exact line in one of the initfiles.
The init file I found that seemed appropriate was /etc/rc.local so I
added the line to that file wich now looks like this (I am not sure what
the last line does but it was there already).
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
xmodmap -e "keysym Pointer_EnableKeys = Num_Lock"
touch /var/lock/subsys/local
Unfortunatley that didnt help. Numlock still doesn't work (unless I
write the command in xterm).
I don't know why but a hunch is that maybe the small Keyboard layout
indicator applet for GNOME, Keyboard Indicator 2.6.0 is started after
this file is run and that it messes something up?
Any ideas about where I could enter that mysterious line to get NumLock
working would be much apreciated.
Tim |