12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- sudo dnf install acpid
- systemctl enable acpid.service
- systemd-inhibit --list
- xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/logind-handle-power-key -n -t bool -s true
- 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-suspend-key -n -t bool -s true
- xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/logind-handle-hibernate-key -n -t bool -s true
- xfce4-power-manager -q
- xfce4-power-manager
- HandlePowerKey=ignore
- HandleSuspendKey=ignore
- HandleHibernateKey=ignore
- HandleLidSwitch=ignore
|