[PATCH powerd] audio inhibit support

Walter Bender walter.bender at gmail.com
Tue May 22 14:35:56 EDT 2012


On Tue, May 22, 2012 at 1:59 PM, Sascha Silbe <silbe at activitycentral.com> wrote:
> Walter Bender <walter.bender at gmail.com> writes:
>
>> What I found was that notify::action was enough to catch most of what
>> I needed. At first I didn't think it was working properly because I
>> wasn't seeing the signal when switching from Measure to the Desktop.
>> But as soon as I switched to a different activity, I see the
>> notification. So unless the Desktop (or Journal or Neighborhood) need
>> to access gstreamer, I think we are OK.
>
> What about non-sugarised audio players? Jukebox seems to be broken, so
> someone using a Gnome application (e.g. Rhythmbox) instead would seem
> rather likely.

I presume that in order to run the GNOME app, you need to either exit
Sugar or launch Terminal. In either case, notify::active should be
enough. Or am I not understanding something?

-walter

>
> Sascha
>
> --
> http://sascha.silbe.org/
> http://www.infra-silbe.de/



-- 
Walter Bender
Sugar Labs
http://www.sugarlabs.org



More information about the Devel mailing list