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

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

Exception: Could not find a default OpenFlow controller in Mininet

v4l2: open /dev/video0: Permission denied