Re: [gpm] command line for laptop-lid-close behavior



On 21 September 2011 21:36, h.lekin <h lekin gmx net> wrote:
> I wish to script the laptop-lid-close behavior which is accessible
> through the Power-Management-Preferences GUI.  Can someone tell me the
> respective command line, please.

gsettings set org.gnome.settings-daemon.plugins.power lid-close-ac-action foo
gsettings set org.gnome.settings-daemon.plugins.power
lid-close-battery-action foo

where foo is hibernate, suspend, shutdown, blank or nothing.

Hope that helps.

Richard


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]