Re: Pleasantness [was: Re: Sound effects]



On Fri, Dec 12, 2008 at 6:34 PM, Lennart Poettering <mztabzr 0pointer de> wrote:
> On Fri, 12.12.08 12:19, Ronald S. Bultje (rsbultje gmail com) wrote:
>> On Fri, Dec 12, 2008 at 12:06 PM, Patryk Zawadzki <patrys pld-linux org> wrote:
>> > Futhermore it's really much easier to open one capplet and be able to
>> > mute half of the system sounds in just one click when preparing to
>> > give a presentation
>> Like for power-management, this should be automated.
> There's not much to automate. All a presentation program needs to do
> is to toggle the GConf key /desktop/gnome/sound/event_sounds or the
> XSETTING gtk-enable-event-sounds.
>
> I don't think we need a daemon for managing that key, do we?

I actually don't agree here. We need something like system usage
profiles (normal use, stealth mode for public areas, presentation
etc.) so we don't run into a heap of race conditions where multiple
applications try to change and restore the same bunch of GConf keys.
Ideally there would just be an fd.o standard with a corresponding
GConf key and XSETTING so applications can monitor the changes and act
along (in this case canberra-gtk might decide to mute all sounds for
some of the profiles).

Then we can build on top of that to provide locations so you can
switch the usage profile, the proxy configuration, VPN settings and
other stuff basing on where you sit (and get bonus points for
detecting locations basing on stuff like current wireless network).
Anyway that's a whole different story and does not belong in this
thread.

-- 
Patryk Zawadzki


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