Results 1 to 5 of 5

Thread: gdm suspend on idle

  1. #1
    Join Date
    Nov 2007
    Beans
    20

    gdm suspend on idle

    Is it possible to have the machine suspend when idle at the gdm login screen? I understand it is possible when a user is logged in through the System > Preferences > Power Management controls. What is happening is that the computer is sitting at the login screen and stays on, wasting power. I'd like it to suspend/sleep after a timeout.

  2. #2
    Join Date
    Feb 2007
    Location
    Romania
    Beans
    Hidden!

    Re: gdm suspend on idle

    Add gnome-power-preferences to GDM's autostart directory:
    Code:
    sudo ln -s /usr/share/applications/gnome-power-preferences.desktop /usr/share/gdm/autostart/LoginWindow/
    Log out. The gnome-power-preferences window should show up on the GDM screen.

    Configure it how you want, then close the window and log back in.

    When you're done and want the window to stop opening with GDM, run:
    Code:
    sudo unlink /usr/share/gdm/autostart/LoginWindow/gnome-power-preferences.desktop

  3. #3
    Join Date
    Nov 2007
    Beans
    20

    Re: gdm suspend on idle

    Works great, thanks!

  4. #4
    Join Date
    Nov 2005
    Beans
    209

    Re: gdm suspend on idle

    Quote Originally Posted by sisco311 View Post
    Add gnome-power-preferences to GDM's autostart directory:
    Code:
    sudo ln -s /usr/share/applications/gnome-power-preferences.desktop /usr/share/gdm/autostart/LoginWindow/
    Log out. The gnome-power-preferences window should show up on the GDM screen.

    Configure it how you want, then close the window and log back in.

    When you're done and want the window to stop opening with GDM, run:
    Code:
    sudo unlink /usr/share/gdm/autostart/LoginWindow/gnome-power-preferences.desktop
    Very good, it also works for me, I was looking for this for some time. After that, this made me thinking, and I found that the same can be accomplished the using the 'default' button in the gnome power management screen.

    grtz.

  5. #5
    Join Date
    Jun 2006
    Location
    Pendleton, Oregon, USA
    Beans
    3
    Distro
    Ubuntu 6.06

    Re: gdm suspend on idle

    Any way to do this in Ubuntu 11, either with lightdm or gdm?

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
  •