Turn Numlock on at login

From MEPIS Documentation Wiki

Jump to: navigation, search

Contents

Basic Solution

If you want NumLock on (or off) at KDE startup, simply change the default setting:

MEPIS 11

Install numlockx if it is not already installed, then click:

Start menu -> Settings -> System Settings -> Input Devices -> Keyboard in left panel

MEPIS 8.5

KMenu -> Settings -> System Settings -> Keyboard & Mouse -> NumLock on KDE startup, set it to "Turn on".

MEPIS 8

KMenu -> Control Center -> Peripherals -> Keyboard -> NumLock on KDE startup, set it to "Turn on".

Older versions

System Settings -> Peripherals -> Keyboard -> NumLock on KDE startup

If you however want to turn NumLock on by default even before logging in to KDE, in the login dialog itself (this is useful for some laptops that have the numeric keyboard combined with the normal keyboard), do the following (not for MEPIS 8.5):

Start Konsole and run these commands (as root):

apt-get update
apt-get install numlockx
echo numlockx on >>/etc/kde3/kdm/Xsetup

Alternate Solution

Applies to Mepis 8.5 and KDE4.
STEP ONE:
First, click on the system settings icon in the task bar (a crossed screwdriver and wrench) or click on the application launch icon and select settings, system settings. Select the general tab and click on the mouse and keyboard icon. Select the keyboard and make sure that Numlock on KDE Startup is LEAVE UNCHANGED. Click Apply and Ok.

STEP TWO:
Go to /etc/kde4/kdm/kdmrc then right click and select Actions > Edit File as SU. This will put you into the root editor. Add the following line right under the [X-*-Greeter] heading...

NumLock=On

Note it is case sensitive. Also be careful because there are two greeter sections... the other is [X-:*-Greeter]...leave that one alone.

Save the file and reboot.

Personal tools
In other languages