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.
- Go to Accessories-> Terminal.
- Nagivate to
- Locate the two entries
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"
Categorised as: me