This quick tutorial is going to show you how to enable ‘numlock‘ and ‘tap to click‘ in the GDM login screen of Ubuntu 18.04 LTS.
GSettings configuration tool can do the jobs via 2 commands, though the gdm user privilege is required.
1. Get gdm user privilege in a terminal window.
1. Open terminal by either pressing Ctrl+Alt+T or searching for ‘Terminal’ from software launcher.

2. Run command to get root privilege (type your password when it prompts):
sudo -i

3. In the terminal, run command to allow gdm to make connections to the X server:
xhost +SI:localuser:gdm

4. Finally switch to user gdm in this terminal via command:
su gdm -s /bin/bash

2. In this terminal, run command to enable numlock automatically in login screen:
gsettings set org.gnome.settings-daemon.peripherals.keyboard numlock-state 'on'

3. To enable tap to click, run command in the same terminal:
gsettings set org.gnome.desktop.peripherals.touchpad tap-to-click true

That’s it. Enjoy!









Add Comment