In xfsm_shutdown_try_suspend the logic is:
SystemD ? use LoginD suspend
Upower < 0.99 ? use Upower suspend
Otherwise lock the screen and call pkexec xfsm-shutdown-helper --suspend
Same for hibernate. I've been testing with a system that has consolekit + upower git master (it calls itself 0.99.2). Or is this for systems without polkit installed (or polkit-gobject-1 which is used for the fallback instead of sudo)? Just trying to figure out where it's gone wrong so we can fix it.
Does pkaction --action-id org.xfce.session.xfsm-shutdown-helper -v return anything?
In xfsm_shutdown_ try_suspend the logic is: helper --suspend
SystemD ? use LoginD suspend
Upower < 0.99 ? use Upower suspend
Otherwise lock the screen and call pkexec xfsm-shutdown-
http:// git.xfce. org/xfce/ xfce4-session/ tree/xfce4- session/ xfsm-shutdown. c#n312
Same for hibernate. I've been testing with a system that has consolekit + upower git master (it calls itself 0.99.2). Or is this for systems without polkit installed (or polkit-gobject-1 which is used for the fallback instead of sudo)? Just trying to figure out where it's gone wrong so we can fix it.
Does pkaction --action-id org.xfce. session. xfsm-shutdown- helper -v return anything?