Enable NumLock in KDE 4.1

Written by sean on August 2, 2008 – 10:35 am -

I setup KDE 4 this week and really enjoy it.  My biggest gripe was that the numlock key was off by default.  I searched and search, but could find no settings to turn it on.  Apparently, there have been some changes between KDE3 and KDE4 and the instructions for KDE3 will not work.  This is what I ended up doing and it seems to work.

The global KDE settins for KDE4 are in

/etc/kde4/kdm/kdmrc

Open this in the text editor of your choice with sudo and change

#NumLock=Off

to

NumLock=On (remove the ‘#’ sign and change Off to On)

You will need to restart the computer for setting to take effect, but from now on the numlock key should be on by default.

If any KDE gurus know a better way to do this in 4.1, let us know since this should be doable via the System Settings.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Reddit
  • StumbleUpon

Tags:
Posted in Troubleshoot, Tweaks |

One Comment to “Enable NumLock in KDE 4.1”

  1. Markus Says:

    For me this only changes the behaviour of KDM, not the KDE workspace. For numlock in the workspace edit
    ~/.kde4/share/config/kcminputrc (or ~/.kde/share/config/kcminputrc if your distro saves the KDE 4 settings there) and change

    [Keyboard]
    NumLock=1

    to

    [Keyboard]
    NumLock=0

    I have no idea why “0″ means “on” but whatever …. it works for me.

Leave a Comment