Click to See Complete Forum and Search --> : numlock in KDE (SuSE 7.0)


Boi
03-30-2001, 06:41 PM
Can anyone tell me how to enable numlock in KDE 1.1.2? I'm using SuSE 7.0.
I've succeeded in enabling numlock in console, but as soon as i startx, numlock is disabled again.
Thanks.

bdg1983
03-31-2001, 10:48 AM
Have you tried the FAQ's right at www.kde.org? (http://www.kde.org?)

This from there...

14.8. How do I start KDE with the Num Lock on?

Have you tried man setleds? In addition, you might want to edit your $HOME/.Xmodmap and put the following lines in:

! redefines numeric keypad to be used without NumLock
keycode 79 = 7
keycode 80 = 8
keycode 81 = 9

keycode 83 = 4
keycode 84 = 5
keycode 85 = 6

keycode 87 = 1
keycode 88 = 2
keycode 89 = 3

keycode 90 = 0
keycode 91 = comma
keycode 86 = plus

! deactivates NumLock key
keycode 77 =


Other possible alternatives:

xkeycaps: right clicking should allow edits. May have to do this as root.

man XF86Config and look under section Keyboard.

Install NumLockX which is available from http://dforce.sh.cvut.cz/~seli/en/numlockx.

cameron
04-04-2001, 02:31 AM
in KDE, this is the easy way...

in /home/name/.kde/Autostart make a link to /usr/X11R6/bin/enable_X11_numlock and call it something obvious, like Enable_Numlock. works for me.

cameron