GNOME Session Shutdown can trigger a shutdown from user space via dbus. Its syntax is similar to that of the 'shutdown' command (e.g. 'gnome-session-shutdown -P +30') but it doesn't need root privileges.
I wrote it because I needed to programmatically shut down the system in a clean fashion (instead of just terminating the GNOME Display Manager like the 'shutdown' command does) and I couldn't find a way to do it.
GNOME Session Shutdown can trigger a shutdown from user space via dbus. Its syntax is similar to that of the 'shutdown' command (e.g. 'gnome- session- shutdown -P +30') but it doesn't need root privileges.
I wrote it because I needed to programmatically shut down the system in a clean fashion (instead of just terminating the GNOME Display Manager like the 'shutdown' command does) and I couldn't find a way to do it.
I don't know about start events, sorry.