Numlock on at login

From PCLinuxOS Knowledgebase
Jump to navigation Jump to search
  • Relevant to all editions of PCLinuxOS.


Method of ensuring that Num Lock is on at login screen.

Introduction

Having Num Lock on at login screen helps with entering usernames and passwords containing numbers. This will show you the method of getting numlock to be on at login screen.

Numlock On at Log In

If you want your numlock on at the boot up log in screen so that you can use your number keypad, you need to install numlockx and configure it using the following steps. This is strictly a personal preference item.

Step 1.

Log in to root.

Step 2.

Open Synaptic and install numlockx.

Step 3.

Create a text file named 50-unity-greeter.conf in /usr/share/lightdm/lightdm.conf.d/

Step 4.

Open 50-unity-greeter.conf in a text editor.

Step 5.

Copy and paste the following code in to the 50-unity-greeter.conf file.
[Seat:*]
greeter-session=unity-greeter
greeter-setup-script=/usr/bin/numlockx on

Step 6.

Save your changes.

Step 7.

Close your text editor and any other open applications and reboot.

Done

You can now use your number keypad when you log in.