ubuntu-devel@lists.ubuntu.com
[Top] [All Lists]

Re: gnome mixer applet and suspend/resume.

Subject: Re: gnome mixer applet and suspend/resume.
From: Nick Barcet
Date: Sun, 30 Sep 2007 13:46:57 +0200
Tim Gardner wrote:
> mdz has suggested that I distribute this to a wider audience.
> 
> On Wed, Sep 26, 2007 at 01:30:15PM -0600, Tim Gardner wrote:
>> On platforms where the sound module must be removed prior to suspend or
>> hibernate, is there an elegant way to stop the Gnome mixer applet? If
>> you killall prior to suspending, upon resume Gnome pops up an annoying
>> dialog and asks if you want to restart the mixer applet. I would like to
>> be able to stash the state of the mixer applet, stop it,
>> suspend/hibernate, resume, and finally restart the mixer applet.
>>
>> Suggestions appreciated.

I do not know how to fix the mixer itself, but you might want to use
custom suspend/resume script as the acpi architecture allows for.

In /etc/acpi/suspend.d add an executable script that stops the mixer
(killall mixer_applet2 should do the trick), and add a pending script in
/etc/acpi/resume.d to restart it.

Hope this helps,
Nick



-- 
ubuntu-devel mailing list
ubuntu-devel@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel
<Prev in Thread] Current Thread [Next in Thread>