Description of problem: Button Power on PC don't work in XFCE Version-Release number of selected component (if applicable): pm-fallback-policy-0.1 How reproducible: always Steps to Reproduce: 1. to run XFCE 2. to press button Power off on your PC 3. no effect Solution - new files /etc/acpi/events/power and /etc/acpi/actions/pm-fallback-shutdown. /etc/acpi/events/power: event=button/power (PWR.|PBTN) action=/etc/acpi/actions/pm-fallback-shutdown /etc/acpi/actions/pm-fallback-shutdown: #!/bin/sh /usr/bin/poweroff #/usr/bin/pm-has-power-policy || /sbin/poweroff Reproducible: Steps to Reproduce:
and it works in other desktop ?
New xfce4-power-manager should handle PowerOff correctly with systemd without any extra scripts/files. Of course Xfce needs to be configured (with xfce4-power-manager-settings) to shutdown using power button.
CC: (none) => jani.valimaa
I'm closing this as FIXED for now, feel free to reopen if needed.
Status: NEW => RESOLVEDResolution: (none) => FIXED