I can see the utility of needing to test and then set the volume. I have users in my office that miss alerts and alarms because the volume has been turned down on their machines. So what I do these days in my shell scripts is to turn up the volume and also provide a visual alert. On Aug 16, 2011 1:18 PM, "Bastien Nocera" <[email protected]> wrote: > On Sun, 2011-08-07 at 15:39 +0200, Juan Rafael Garcia Blanco wrote: >> Hello, >> I'm trying to retrieve the volume setting of alerts. I've done a >> search using d-feet to check if some module exposes that setting, but >> I could not find anything. I have also checked dconf, and found >> nothing. I have read some of the gnome-control-center source code >> relating to sound settings, and it seems to use hardwire pulseaudio. >> Then I have two questions: does Gnome use definitely pulseaudio as >> audio server (I mean on every linux/bsd distribution)? and is there >> some way to retrieve the information I want without dealing with >> pulseaudio APIs? > > We use the PulseAudio settings for that. Any particular reason why you > would want to get that volume? If it's just to play some sound at that > volume, there's easier ways to do it (like not caring, and playing the > sound saying you are an event sound). > > _______________________________________________ > gnome-love mailing list > [email protected] > http://mail.gnome.org/mailman/listinfo/gnome-love
_______________________________________________ gnome-love mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gnome-love
