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. ** Changed in: gnome-session-shutdown Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/987664 Title: allow to set restart/resume time To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-session-shutdown/+bug/987664/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs