Re: [gpm] =?utf-8?q?how_to_use_s2ram_--force_in_the_panel=3F?=



On Mon, 8 Mar 2010 13:24:06 +0000, Richard Hughes <hughsient gmail com>
wrote:
> On 8 March 2010 12:58, Pau <vim unix googlemail com> wrote:
>> This is why I would like to make gnome power manager aware of s2ram
>> and tell it to use it.
>> How can I achieve this?
> 
> You can't easily. GNOME Power Manager asks UPower to Suspend() which
> then calls pm-suspend. I'm not sure how easy it is to modify
> pm-suspend to call s2ram.

Not sure if pm-utils is configured on all distributions as it is in
Debian, but I have an /etc/pm/config.d/config (I think the executable bit
needs to be set) with the following contents:
S2RAM_OPTS="-f -s -p -v"

Not sure if this is still required or not (would require some tests), but
this way, I am able to suspend the box using s2ram.

Cheers,
Julien


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