stopping a netbook from sleeping

Fred Roller froller at
Mon Feb 8 05:19:12 UTC 2010

Karl Auer wrote:
> Hi all.
> I have a netbook that is acting as a little router. It has the Ubuntu
> Netbook Remix 9.10 on it. I want it to come up at the GDM greeter
> screen,but I do NOT want it to sleep if the lid is closed (or time
> passes or anything else).
> I have set all the gnome preferences. Once I am logged in, they are
> honoured. BUT: If I log out (or never log in) the netbook sleeps if I
> close the lid, and after a certain amount of time passes without any
> keyboard/mouse activity.
> If I stop the GUI by killing GDM, the netbook never sleeps, so I have
> modified /etc/init/gdm.conf to exit without doing anything if a certain
> file exists. This is a bit of a kludge though, and I would prefer to
> have the GUI available.
> Is there any way to tell GDM not to sleep? I've been through all the
> options in gdmsetup and none look useful in this regard.
> Regards, K.
Double check your screen saver to ensure it is not set to activate:

    System --> Preference --> Screensaver --> [uncheck] Activate 
screensaver when computer is idle

and while you are there click on the "Power Management" button at the 
bottom of the window.  In the new window that pops up you should see 
under the "On AC Power" tab "When laptop lid is closed:" and chose 
"Blank screen" from the drop down options.  Do the same under the "On 
Battery Power" tab if you like as well.

Hope this helps.



"Life is like linux, simple.  If you are fighting it you are doing something wrong."

More information about the ubuntu-users mailing list