Gennaro Arguzzi Asked: 2020-07-21 02:00:26 +0800 CST2020-07-21 02:00:26 +0800 CST 2020-07-21 02:00:26 +0800 CST Hibernate button on ubuntu 20.04 772 I'm wondering if it's possible to add a hibernate button to the power menu of ubuntu 20.04. Online I found only solutions which require the use of the terminal. hibernate button 20.04 1 Answers Voted Best Answer UnKNOWn 2020-07-21T06:27:16+08:002020-07-21T06:27:16+08:00 There is a extension for Hibernate Button in the Power Menu. Hibernate gnome-shel Extension Out of the box there is no effect when you click on the two items, Hibernate and Hybrid Sleep.. If you go to the Extension Homepage link provided on gnome extension website for the Hibernate Extension you will find FAQ part on the README.md Following the workaround from the FAQ.. copy paste the below content in the file /etc/polkit-1/localauthority/10-vendor.d/com.ubuntu.desktop.pkla [Enable hibernate in upower] Identity=unix-user:* Action=org.freedesktop.upower.hibernate ResultActive=yes [Enable hibernate in logind] Identity=unix-user:* Action=org.freedesktop.login1.hibernate;org.freedesktop.login1.handle-hibernate-key;org.freedesktop.login1;org.freedesktop.login1.hibernate-multiple-sessions;org.freedesktop.login1.hibernate-ignore-inhibit ResultActive=yes Open the file with below command sudo -H gedit /etc/polkit-1/localauthority/10-vendor.d/com.ubuntu.desktop.pkla Copy paste the above content, save the file and close.. Reboot & Test it..
There is a extension for Hibernate Button in the Power Menu.
Hibernate gnome-shel Extension
Out of the box there is no effect when you click on the two items, Hibernate and Hybrid Sleep..
If you go to the Extension Homepage link provided on gnome extension website for the Hibernate Extension you will find FAQ part on the README.md
Following the workaround from the FAQ.. copy paste the below content in the file
/etc/polkit-1/localauthority/10-vendor.d/com.ubuntu.desktop.pkla
Open the file with below command
Copy paste the above content, save the file and close..
Reboot & Test it..