How to disable power button in Ubuntu 18.10

If you have an Asus notebook, probably you hate the new power button location (right top corner).
To disable it and avoid accidently turn off your computer you can do the following steps:

Step1: Install dconf-editor

sudo apt install dconf-editor

Step2:

Run dconf-editor and go to org.gnome.settings-daemon.plugins.power.power-button-action

Step3:

Choose the value 'nothing'

Enjoy it!

Also, you can try directly with these commands:

gsettings list-recursively org.gnome.settings-daemon.plugins.power
gsettings set org.gnome.settings-daemon.plugins.power button-power 'nothing'

Comments

Popular posts from this blog

Exception: Could not find a default OpenFlow controller in Mininet

How to fix Android when developer options are not available for this user

Webcam streaming throught VLC with YUY2 compatibility