adding support for hibernation to xfce4-sessions's exit dialog

Andre Puschmann andre.puschmann at
Tue Jul 11 21:41:41 CEST 2006

hi folks,
i am using hibernate (s4) and hibernate-ram (s3) quite often on my
system thus i  integrated it into session-logout-dialog as an
alternative for poweroff and reboot.

but i got a question about how the shutdown-procedure works. is it like
- if i select for instance "Power Off"
xfsm_shutdown_helper_send_command() in shutdown.c sends the command to
xfsm-shutdown-helper-sudo.c which does all the fork() and sudo stuff in
order to have a root-privileged xfsm-shutdown-helper which gets the
commands via stdin and finally executes them.



More information about the Xfce4-dev mailing list