gnome-settings-daemon does not display notification bubbles on volume changes

Bug #394217 reported by Adrian Roman
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gnome-settings-daemon (Ubuntu)
Confirmed
Wishlist
Mirco Müller

Bug Description

Binary package hint: gnome-settings-daemon

According to a discussion with Matthew Paul Thomas, when changing the volume from a script, gnome-settings-daemon should display the corresponding notification bubble.

The script I am using relies on amixer to change the volume. It is called by irexec when lirc detects the volume buttons keypresses on the remote control. Here's an example script:

adyroman@panther:~$ cat lirc_scripts/volume_up.sh
#!/bin/bash
/usr/bin/amixer -c 0 set Master 10%+
adyroman@panther:~$

I am using Ubuntu 9.04 AMD64:

adyroman@panther:~$ lsb_release -rd
Description: Ubuntu 9.04
Release: 9.04
adyroman@panther:~$ apt-cache policy gnome-settings-daemon
gnome-settings-daemon:
  Installed: 2.26.1-0ubuntu2
  Candidate: 2.26.1-0ubuntu2
  Version table:
 *** 2.26.1-0ubuntu2 0
        500 http://ro.archive.ubuntu.com jaunty-updates/main Packages
        100 /var/lib/dpkg/status
     2.26.0-0ubuntu4 0
        500 http://ro.archive.ubuntu.com jaunty/main Packages
adyroman@panther:~$

Revision history for this message
Adrian Roman (adyroman5) wrote :

Per the discussion with Matthew, Mirco should be the correct assignee for this bug report.

Changed in gnome-settings-daemon (Ubuntu):
assignee: nobody → Mirco Müller (macslow)
tags: added: notifications
Revision history for this message
Matthew Paul Thomas (mpt) wrote :
Revision history for this message
Gabe Gorelick (gabegorelick) wrote :

This is still a problem in Karmic. There are no notifications for volume changes done through amixer.

Changed in gnome-settings-daemon (Ubuntu):
status: New → Confirmed
Revision history for this message
Chris Coulson (chrisccoulson) wrote :

How do you suggest to implement this in g-s-d? Currently, it handles the keypresses, changes the volume and displays the notification. If you want it to display the notification when it notices the volume has been changed, then it would also display when adjusting the slider in the volume applet, which would be absolutely horrendous.

The only way I can think of, would be for g-s-d to export some D-Bus methods for changing the volume, which you would then have to adjust your scripts to use

Changed in gnome-settings-daemon (Ubuntu):
importance: Undecided → Wishlist
status: Confirmed → Incomplete
Revision history for this message
Adrian Roman (adyroman5) wrote : Re: [Bug 394217] Re: gnome-settings-daemon does not display notification bubbles on volume changes

I have to admit I haven't figured out what the most appropriate way of
dealing with this is, but from a usability point of view it seems natural
that any change of the volume that is not caused by the volume slider should
be presented in a notification bubble. As far as I am concerned, if there's
any way to do this from a script, it's just fine with me - I don't _have to_
use amixer - any scripted way to change the volume and present a
notification bubble is fine by me.

--
Support Wikipedia:
http://wikimediafoundation.org/wiki/Donate/en
http://volunteer.wikimedia.org/
--
DRM 'manages access' in the same way that jail 'manages freedom'.

On Wed, Dec 2, 2009 at 12:28 PM, Chris Coulson <<email address hidden>
> wrote:

> How do you suggest to implement this in g-s-d? Currently, it handles the
> keypresses, changes the volume and displays the notification. If you
> want it to display the notification when it notices the volume has been
> changed, then it would also display when adjusting the slider in the
> volume applet, which would be absolutely horrendous.
>
> The only way I can think of, would be for g-s-d to export some D-Bus
> methods for changing the volume, which you would then have to adjust
> your scripts to use
>
> ** Changed in: gnome-settings-daemon (Ubuntu)
> Importance: Undecided => Wishlist
>
> ** Changed in: gnome-settings-daemon (Ubuntu)
> Status: Confirmed => Incomplete
>
> --
> gnome-settings-daemon does not display notification bubbles on volume
> changes
> https://bugs.launchpad.net/bugs/394217
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Gabe Gorelick (gabegorelick) wrote :

Does this have to be handled at the g-s-d level? It may be easier to leave it up to whatever is interacting with g-s-d to handle notifications. I don't know anything about the architecture of amixer, but couldn't it just be patched to interact with notify-osd?

Changed in gnome-settings-daemon (Ubuntu):
status: Incomplete → New
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.