This commit is contained in:
parent
59314446a0
commit
95c365b4df
@ -114,8 +114,20 @@ GRUB_CMDLINE_LINUX_DEFAULT="quiet splash resume=/dev/mapper/cryptswap1"
|
|||||||
|
|
||||||
## xfce4-power-manager suspend to hibernate option
|
## xfce4-power-manager suspend to hibernate option
|
||||||
|
|
||||||
|
source : [docs.xfce.org - Frequently Asked Questions - Xfce4 Power Manager](https://docs.xfce.org/xfce/xfce4-power-manager/faq)
|
||||||
|
|
||||||
|
Make logind handle button events instead of xfce4-power-manager :
|
||||||
|
|
||||||
|
* To have logind handle the lid open/close event
|
||||||
|
|
||||||
~~~
|
~~~
|
||||||
xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/logind-handle-lid-switch -n -t bool -s true
|
xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/logind-handle-lid-switch -n -t bool -s true
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
|
* To have logind handle the power key
|
||||||
|
|
||||||
|
~~~
|
||||||
|
xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/logind-handle-power-key -n -t bool -s true
|
||||||
|
~~~
|
||||||
|
|
||||||
If you want everything time related, then you can set them with settings in /etc/systemd : **sleep.conf** and **logind.conf**
|
If you want everything time related, then you can set them with settings in /etc/systemd : **sleep.conf** and **logind.conf**
|
Loading…
Reference in New Issue
Block a user