(quoted from Wikipedia's Xfce article also found in the Xfce docs FAQ). After noting this, the FAQ on the Xfce Wiki comments "(suggestion: X Freakin' Cool Environment)". loginctl show-seat EnableWallMessagesyes NAutoVTs6 KillUserProcessesno RebootToFirmwareSetupno IdleHintno IdleSinceHint0 IdleSinceHintMonotonic0 BlockInhibitedhandle-power-key:handle-suspend-key:handle-hibernate-key:handle-lid-switch DelayInhibitedsleep InhibitDelayMaxUSec5s HandlePowerKeypoweroff HandleSuspendKeysuspend HandleHibernateKeyhibernate HandleLidSwitchsuspend. The developers' current stance is that the initialism no longer stands for anything specific. The name survived, but it is no longer capitalized as "XFCE", but rather as "Xfce". The name "XFCE" was originally an acronym for "XForms Common Environment", but since that time it has been rewritten twice and no longer uses the XForms toolkit. Update:Ġ7.01.19: Changed XFCE -> Xfce as per Corsac's suggestion in the comments below. Now the UI options will work again as intended and the laptop suspends on lid close and resumes on lid open. Xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/logind-handle-lid-switch -s false d/control: - Replace Recommend on libpam-systemd with default-logind logind. To do that first, stop the current running instance of xfce4-power-manager: xfce4-power-manager -q. So best is to teach Xfce4 to handle the events again as in pre-systemd times: xfce4-power-manager - power manager for Xfce desktop. Assuming your kernel and computers hardware does support suspend/hibernate, you can see what xfce4-power-manager is trying to do by starting it in debug mode. Systemd is configured to handle these events by default ( /etc/systemd/nf has HandleLidSwitch=suspend but for unknown reasons decides not to honor that).
![xfce power manager systemd xfce power manager systemd](https://linuxx.info/wp-content/uploads/2019/12/f416e28765ad8a5c154cc92ee5bf20f9.png)
Xfce4 basically recognizes systemd and thus disables its built-in power-management options for handling these "button events" (but doesn't tell you so in the config UI for power-manager). This forum thread from 2015 received the correct answer in 2017: 'Kali' commands the instance awake and the Powershell to a bash terminal.
Xfce power manager systemd windows#
To the contrary acpi_listen nicely finds button/lid LID close and button/lid LID open events when folding the screen and opening it up again.Īs so often the wonderful docs / community of Arch Linux to the rescue. Im assuming you have installed Windows Subsystem for Linux and acquired and installed Kali from Windows Store. Xfce4-power-manager -quit xfce4-power-manager -no-daemon -debug showed that xfce4 wasn't seeing a laptop lid close event at all. Xfce 4.12 as default in Ubuntu/Xubuntu 18.04 LTS did not suspend a laptop after closing the lid.