Kiến Thức Linux

Enable Numlock, Tap to Click in Ubuntu 18.04 Login Screen

launch-terminal

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.

launch-terminal

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

sudo -i

getinroot

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

xhost +SI:localuser:gdm

allow-gdm-tox

4. Finally switch to user gdm in this terminal via command:

su gdm -s /bin/bash

gdm-terminal

2. In this terminal, run command to enable numlock automatically in login screen:

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

enable-numlock

3. To enable tap to click, run command in the same terminal:

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

enable-tapclick

That’s it. Enjoy!

Đăng ký liền tay Nhận Ngay Bài Mới

Subscribe ngay

Cám ơn bạn đã đăng ký !

Lỗi đăng ký !

Add Comment

Click here to post a comment

Đăng ký liền tay
Nhận Ngay Bài Mới

Subscribe ngay

Cám ơn bạn đã đăng ký !

Lỗi đăng ký !