Extend XfceConsolekit/XfceSystemd API?
When looking into UPower code (xfce4-power-manager#146 (comment 71003)), I noticed it calls systemd-logind/ConsoleKit2 methods HybridSleep()
, Hibernate()
or PowerOff()
with the interactive flag set to FALSE
.
Would make sense extend
xfce_consolekit_reboot
xfce_consolekit_power_off
xfce_consolekit_suspend
xfce_consolekit_hibernate
xfce_consolekit_hybrid_sleep
xfce_systemd_reboot
xfce_systemd_power_off
xfce_systemd_suspend
xfce_systemd_hibernate
xfce_systemd_hybrid_sleep
to accept an additional parameter interactive, to be consumed by xfce4-power-manager? The use case is "System sleep mode" + "When inactive for": it should take action or do nothing. Show an authentication dialog is not useful in this case IMHO.