HOWTO: Stop your Acer Aspire netbook running Ubuntu from going to sleep when unplugged

The largest annoyance I’ve encountered to date while running Ubuntu Linux on my Acer Aspire D150 netbook has been with Gnome Power Manager. A reported problem on the bug trackers and forums, I and other users have been forced up until now to use an alternative like XFCE4′s (excellent and standalone) power manager.

Until this morning.

It has been known that the problem is tied to the power manager’s default action when you close your laptop: At best under the GUI preference you can just change the action to “blank screen” – which still isn’t a perfect fix. Irked by this, I dug a little into the problem with gconfeditor this morning and found you can set the default action to “nothing”.

This isn’t perfect. This isn’t a proper fix for the bug. This will serve as a solid workaround, though.

GUI Steps:

  1. Go to Accessories-> Terminal.
  2. Launch gconfeditor
  3. Nagivate to /apps/gnome-power-manager/buttons/lid_ac
  4. Locate the two entries lid_ac and lid_battery. Change each of their strings to “nothing”.

If all that sound excessive, you can simply copy and paste this:


gconftool-2 --set /apps/gnome-power-manager/buttons/lid_ac --type string "nothing"
gconftool-2 --set /apps/gnome-power-manager/buttons/lid_battery --type string "nothing"

Say something witty:

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>