restart and shutdown buttons

Landry Breuil landry.breuil at gmail.com
Mon Nov 9 10:14:27 CET 2009


On Mon, Nov 9, 2009 at 10:01 AM, Rakotomandimby Mihamina
<mihamina at gulfsat.mg> wrote:
> Hi all
>
> I would like to know what reboot and shutdown commands the XFCE use.
> Do they use 'shutdown +options' or directly 'halt' or 'reboot' or whatever?

shutdown -r / -h if using sudo fallback :
http://git.xfce.org/xfce/xfce4-session/tree/xfsm-shutdown-helper/main.c

hal/dbus calls otherwise :
http://git.xfce.org/xfce/xfce4-session/tree/xfce4-session/xfsm-shutdown-helper.c

Landry



More information about the Xfce mailing list