Results 1 to 2 of 2

Thread: Going green with shutdown command

  1. #1
    Join Date
    Jan 2006
    Beans
    Hidden!

    Going green with shutdown command

    My G5 iMac lacks any sort of hibernate or standby, but I still wanted to save energy. I'm usually pretty good about shutting down manually, but sometimes forget about it when the screensaver is black and I can't hear the machine running.

    I was checking out Dirk's nice blog and it hit me - why not keep it simple?

    http://linuxtidbits.wordpress.com/

    In the past I just memorized the shutdown command but never really bothered to read the man page.

    Simple solution: just use the shutdown command with a delayed response.

    Shutdown 4 hours from now:
    Code:
    sudo shutdown -h +240
    Shutdown at 11:30 pm:
    Code:
    sudo shutdown -h 23:30
    I just run this in a terminal and then minimize it. For convenience, I just rename the terminal to "shutdown" and when I call it up, I can see how close I am to shutdown, or just cancel it completely with a CTRL-C.

    Until they release full specs on the G5, this is the best I can do so far.

    ** UPDATE*** For an even better way to shutdown based on user-inactivity, see:
    http://ubuntuforums.org/showthread.php?t=530973
    Last edited by stream303; June 18th, 2008 at 08:30 PM. Reason: update
    20" G5 iMac - AMD64 HP desktop
    http://www.ppclinux.info/

  2. #2
    Join Date
    Jan 2006
    Beans
    Hidden!

    Re: Going green with shutdown command

    oops. Tried to shutdown via the gui with a shutdown already running in a terminal, and it logs you out and brings you back to the gdm login.

    Guess you have to kill the delayed-shutdown in the terminal first.
    20" G5 iMac - AMD64 HP desktop
    http://www.ppclinux.info/

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •