Skip to content

No shutdown option on lid close

Submitted by diogenes_

Link to original bug (#14067)

Description

Hello guys! So my issue is that the xfce4-power-manager has only 4 options for "When lid is closed":

  1. Switch off display,
  2. Suspend,
  3. Hibernate,
  4. Lock screen,

there is no Shutdown option so this is what one has to do for getting power-manager to shutdown the pc on lid close:

  1. xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/logind-handle-lid-switch -s true
  2. sudo vi /etc/systemd/logind.conf
  3. uncomment: #HandleLidSwitch=suspend
  4. change it to: HandleLidSwitch=poweroff

so I thought maybe it would be great if you include the "Shutdown" option for "When lid is closed".

Thank you!

Version: 1.4.x

Edited by Yousuf Philips