Turn Numlock on at login

From MEPIS Documentation Wiki

Revision as of 16:18, 15 June 2012 by Jerry bond (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Basic Solution

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


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

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


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


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.
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.

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...


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