Bug 466279

Summary: libcanberra makes noise when it isn't configured and can't be unconfigured
Product: [Fedora] Fedora Reporter: Matthew Miller <mattdm>
Component: libcanberraAssignee: Lennart Poettering <lpoetter>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: bnocera, lpoetter, mclasen
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-10-10 15:43:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 465130    

Description Matthew Miller 2008-10-09 15:10:03 UTC
Description of problem:

Suddenly, my XFCE desktop started making what I find to be obtrusive sounds whenever I do anything (like have a popup window).

It appears that libcanberra is what's doing it. Unfortunately, XFCE doesn't know about this and its settings manager is missing the appropriate control settings.

Removing libcanberra is impossible since it is a dependency of many vital programs.

A temporary workaround is to edit or remove /etc/X11/xinit/xinitrc.d/libcanberra-gtk-module.sh, but since that isn't meant to be a config file it's overwritten on upgrade. Plus, that's a big, system-wide hammer — maybe someone else *does* want the sounds.

Version-Release number of selected component (if applicable):

libcanberra-0.10-1.fc10
xfce-mcs-manager-4.4.2-2.fc9.x86_64

How reproducible:

Always.


Steps to Reproduce:
1. Install XFCE and libcanberra.
2. Do something.
3. Listen.
  
Actual results:

Noise!

Expected results:

Silence.

Additional info:

It's reasonable that future XFCE should support the sound scheme spec. However, in absence of configuration, the default should be off, not on.

I've filed an upstream bug at http://bugzilla.xfce.org/show_bug.cgi?id=4367, but that only addresses the future, not the present.

Comment 1 John Poelstra 2008-10-09 22:16:37 UTC
adding desktop tracker... not sure if they track XFCE

This bug has been triaged

Comment 2 Matthias Clasen 2008-10-10 04:10:31 UTC
/etc/X11/xinit/xinitrc.d/libcanberra-gtk-module.sh will be gone in F10 final.
Instead we are going to use the gtk-modules xsetting.

Comment 3 Matthew Miller 2008-10-10 11:17:12 UTC
So does that mean the workaround won't work, or is there a new one? Or does it mean that there's a way to configure that in XFCE? (I've never seen one, but I'm sure I haven't seen everything.)

Comment 4 Matthias Clasen 2008-10-10 14:29:45 UTC
It means that the workaround won't be necessary anymore, since xcfe will not have a gtk-modules xsetting including the libcanberra-gtk module, so it won't be loaded, so it can't make noise.

Comment 5 Matthew Miller 2008-10-10 14:35:10 UTC
That sounds (um, no pun intended) good. Thanks. Should that hit rawhide sometime soon?

Comment 6 Lennart Poettering 2008-10-10 15:43:50 UTC
Fixed in 0.10-2.