Discuss your project
Ubuntu 14.04 LTS

Enable numLock at startup

To enable the numeric keypad on startup in Ubuntu, there are two solutions.1 – With the numlockx package (Starting from version 14.04 64-bit): sudo apt-get install numlockxDo not create a file at /etc/lightdm/lightdm.conf, otherwise lightdm will not start! ...

Méthode de validation d’une procédure Linux historique

To enable the numeric keypad on startup in Ubuntu, there are two solutions.

1 – With the numlockx package (Starting from version 14.04 64-bit):
sudo apt-get install numlockx

Do not create a file at /etc/lightdm/lightdm.conf, otherwise lightdm will not start!
In /usr/share/lightdm/lightdm.conf.d/50-unity-greeter.conf Add the following in the [SeatDefaults] section

greeter-setup-script=/usr/bin/numlockx on

2 – For all versions of Linux:
Edit the file /etc/rc.local and add this:
# Turn Numlock on for the TTYs:
for tty in /dev/tty[1-6]; do
/usr/bin/setleds -D +num < $tty
done

Méthode de validation d’une procédure Linux historique

Version context

This procedure describes the software and the environment available at the time of its publication. The packages, interfaces, and repositories mentioned may have changed or disappeared; first check the system version and its support level.

cat /etc/os-release
uname -r

Work on a backup or a snapshot, note every modified file, and prepare for rollback. For a current workstation or server, prefer signed packages from officially supported repositories.

Reference: official Ubuntu lifecycle.

Share this article