(Note that this is straight from the man page for setleds.)

For X, you need to edit the file '/usr/X11R6/lib/X11/xkb/types/basic'. The
last section of the file is the "KEYPAD" section and looks like:

type "KEYPAD" {
modifiers = Shift+NumLock;
map[None] = Level1;
map[Shift] = Level2;
map[NumLock] = Level2;
map[Shift+NumLock] = Level1;
level_name[Level1] = "Base";
level_name[Level2] = "Number";

To set NUMLOCK on by default, simply change every occurrence of "Level1" to
"Level2" and change every occurrence of "Level2" to "Level1" (without the
quotes). Then restart X. Note that the behavior of the NUMLOCK light will
change as well (i.e. the light will be lit when NUMLOCK is OFF and will be
dark when NUMLOCK is ON).



----- Original Message -----
From: "Goldenpi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, November 20, 2000 2:42 PM
Subject: Re: [newbie] No NUMBER lock?


> Number lock keeps resetting. There is a service which will in theory do
> something but I never saw any effect when I use it. The numlock still
resets
> at each runlevel change.
>
> ----- Original Message -----
> From: "Charles" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Saturday, November 18, 2000 10:36 PM
> Subject: [newbie] No NUMBER lock?
>
>
> > I have been looking through the DOCs but haven't discoverd how to have
> > NUMBER LOCK active when starting KDE. Suggestions?
> > TIA - Cmo
> >
>
>
>


Reply via email to