[Bug 987664] Re: allow to set restart/resume time

jacopoL 987664 at bugs.launchpad.net
Sun Apr 29 21:59:07 UTC 2012


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
Foundations Bugs, which is subscribed to consolekit in Ubuntu.
https://bugs.launchpad.net/bugs/987664

Title:
  allow to set restart/resume time

Status in GNOME Session Shutdown:
  Invalid
Status in Qt projects from Hakaishi:
  New
Status in Shutdown Timer Extension for GNOME shell:
  New
Status in “consolekit” package in Ubuntu:
  Confirmed

Bug description:
  Linux provides a simple way to schedule a restart event that is
  particularly usefull in conjuction with initiating or scheduling a
  shutdown or suspend.

  rtcwake -m on -s <seconds-util-start-event>

  Howerever, just as the shutdown command it requires root privileges.

  The particular command given in the example above avoids that rtcwake does any switching into another power state (mode -m stays on).
  This allows that the power state fully handled by the regular installed power managment (userspace) tools, which is often more stable than the pure kernel/rtcwake, especially on resume.

  To test it, just schedule a wake event, then do a regular
  shutdown/suspend. Later, the real time clock will trigger the
  scheduled power up event and the machine comes back up.

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-session-shutdown/+bug/987664/+subscriptions




More information about the foundations-bugs mailing list