3

I'm using Ubuntu 18.04.3 Server (i.e. no graphical interface, only terminal) as a virtual machine of VirtualBox. How can I make the numerical keyboard active by default directly after Ubuntu is started up, when I type my login and password (too dreary activate it manually every time)?

Jordan
  • 131
  • 1

2 Answers2

1

On Ubuntu 20.04:

sudo gsettings set com.canonical.unity.settings-daemon.peripherals.keyboard numlock-state 'on'
0

Please open a terminal window, then run

sudo -i && xhost +SI:localuser:gdm
su gdm -s /bin/bash
gsettings set org.gnome.settings-daemon.peripherals.keyboard numlock-state 'on'

then advise, after a reboot of the virtual machine, if NumLock is now on.

K7AAY
  • 17,705