Enabling Numlock and tap to click on the login screen of Zorin OS (and Ubuntu)

I don’t have too many pet peeves, but a disabled Numlock is annoying as hell, especially if you type numbers a lot. It is also infuriating if you physically have to click the trackpad instead of just tapping lightly once you got used to this feature in Windows. When I used a Macbook Pro for a few months this has baffled me but I didn’t realize you can enable tap to click in system preferences.



If your Linux distribution is using the Gnome desktop environment, you can enable both Numlock and Tap to click by entering the commands listed below in the terminal.

Acquire root privilege (type your password when it prompts):

sudo -i

Allow gdm to make connections to the X server:

xhost +SI:localuser:gdm

Switch to user gdm in this terminal via command:

su gdm -s /bin/bash

Enable numlock automatically on the login screen:

gsettings set org.gnome.settings-daemon.peripherals.keyboard numlock-state 'on'

Enable tap to click:

gsettings set org.gnome.desktop.peripherals.touchpad tap-to-click true

The last two commands showed error messages, but upon restart everything worked fine.


Leave a Reply

Your email address will not be published.

adplus-dvertising