Monday, 30 May 2011

Gnome 3 - Stupid Power Options Fix

Upgraded to Fedora 15 and Gnome 3 everything is working well and the new interface is looking slick. The gnome guys have done a very good job and am very impressed. However I have come across on thing that, for a while, really pissed me off. They removed the ability to easily change the power options when you close the lid on your laptop. The default option is to suspend the computer. This isn't a problem for a lot of people, even if there is a bug on the dell M1330 laptop which causes a crash when starting from a suspended state. I digress, a lot of work has done into this and has already been discussed in detail.

http://blogs.gnome.org/hughsie/2011/02/02/is-gnome-3-going-to-melt-your-laptop/
http://afaikblog.wordpress.com/2011/02/03/on-laptop-lids-and-power-settings/
http://live.gnome.org/Design/SystemSettings/Power

However all the discussion did not cover my use case, which occurs on a daily basis:

  1. Play audio book.

  2. Run command to shutdown laptop after half an hour.

  3. close laptop lid turn off lights and go to sleep.


You can resolve this using the solution, provided by timlau, to use gsetting to manually set the power setting (He post links to a script to automatically set this using a zenity dialog).


gsettings set org.gnome.settings-daemon.plugins.power lid-close-ac-action “blank”
gsettings set org.gnome.settings-daemon.plugins.power lid-close-battery-action “blank”


End Rant.

1 comment:

  1. There's a separate options tool available now that fixes the problem: gnome-tweak-tool

    ReplyDelete