When I close the lid, the power manager tries to go to hibernation. But it only locks the screen. After I relogin, I can see a popup message "no swap space available". In settings, I can't save the new action to be "standby" or "nothing". It seems to be ignored and the hibernate mode stays active.
$ xfconf-query -c xfce4-power-manager -lv /xfce4-power-manager/brightness-level-on-battery 50 /xfce4-power-manager/brightness-on-ac 120 /xfce4-power-manager/brightness-on-battery 90 /xfce4-power-manager/critical-power-action 1 /xfce4-power-manager/dpms-on-ac-off 11 /xfce4-power-manager/dpms-on-ac-sleep 10 /xfce4-power-manager/hibernate-button-action 3 /xfce4-power-manager/inactivity-on-ac 20 /xfce4-power-manager/inactivity-on-battery 15 /xfce4-power-manager/lid-action-on-ac 2 /xfce4-power-manager/lid-action-on-battery 2 /xfce4-power-manager/power-button-action 3 /xfce4-power-manager/show-tray-icon 3 /xfce4-power-manager/sleep-button-action 1 /xfce4-power-manager/spin-down-on-ac true
Work around done with $ xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/lid-action-on-battery -s 1 It seems that the settings GUI doesn't change any value though hibernate options aren't available any more (maybe due to upower feedback). The use case is that the user then just closes the dialog again and nothing is stored to xfconf. So maybe change the GUI logic to mark the settings that were set to hibernate mode to be changed and then stored to xfconf by enforcement.
I am working on a patch. Therefore, I need to refactor xfpm-settings.c, it turns out that it can be reduced for about 500 lines of code. Are there already any bindings for xfconf to connect them directly to Gtk widgets?
Retry with current version.