enable sound events in xfce4-appearance-settings doesn't work

Bug #1321445 reported by Scott Moore
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Ubuntu Manual Tests
New
Low
Unassigned
xfce4-session (Fedora)
In Progress
Medium
xfce4-settings (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Enabling sound events in xfce4-appearance-settings doesn't work. Minimizing & maximizing a window doesn't make any sound as described in the testcase.

Revision history for this message
In , Raphael (raphael-redhat-bugs) wrote :

Description of problem:
There are no sounds for xfce events, though both options are activated in xfce4-settings-manager.

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

How reproducible:
yes

Steps to Reproduce:
1. login to xfce
2. enable event sounds in xfconf
3. click around

Actual results:
none

Expected results:
sounds

Additional info:

Revision history for this message
In , Raphael (raphael-redhat-bugs) wrote :

From upstream bug https://bugzilla.xfce.org/show_bug.cgi?id=4367

 Stephan Arts editbugs 2008-10-19 06:26:38 CEST

(In reply to comment #24)
> Thanks for adding a support for this.
>
> Anyways there is a problem how to play logout sound on logout/restart ?

Yes, for that to work, xfce4-session needs support for libcanberra... Since we are at a feature-freeze for 4.6, that won't be added now.

I am closing this bug since the related XSETTINGS have been added now.

You need to submit separate bugreports for libcanberra support in xfce4-session and xfwm4 (targeted at 4.8)

Revision history for this message
In , Kevin (kevin-redhat-bugs) wrote :

I know this worked in the past...

Do you have libcanberra and sound-theme-freedesktop (or some sound theme) installed?

Revision history for this message
In , Raphael (raphael-redhat-bugs) wrote :

$ rpm -q libcanberra libcanberra-gtk2 libcanberra-gtk3 sound-theme-freedesktop
libcanberra-0.30-4.fc20.x86_64
libcanberra-gtk2-0.30-4.fc20.x86_64
libcanberra-gtk3-0.30-4.fc20.x86_64
sound-theme-freedesktop-0.8-3.fc20.noarch

Maybe this is related to pulseaudio or a muted special sound channel?
Just guessing...

Revision history for this message
In , Kevin (kevin-redhat-bugs) wrote :

So, some more info:

xfconf-query -c xsettings -p /Net/SoundThemeName

env | grep GTK_MODULES

ls /usr/share/sounds/$(xfconf-query -c xsettings -p /Net/SoundThemeName)/stereo

which canberra-gtk-play

You may need to set SoundThemeName to 'freedesktop' and export GTK_MODULES=canberra-gtk-module:canberra-gtk-module

Revision history for this message
In , Raphael (raphael-redhat-bugs) wrote :

(In reply to Kevin Fenzi from comment #4)

> xfconf-query -c xsettings -p /Net/SoundThemeName
default

> env | grep GTK_MODULES
<nothing>

> ls /usr/share/sounds/default/stereo
<not found>

# find /usr/share/sounds/* -name stereo
/usr/share/sounds/freedesktop/stereo

> which canberra-gtk-play
/usr/bin/canberra-gtk-play

> You may need to set SoundThemeName to 'freedesktop' and export
> GTK_MODULES=canberra-gtk-module:canberra-gtk-module
Where should I put the export statement? Is this still a bug?

Revision history for this message
In , Raphael (raphael-redhat-bugs) wrote :

No success so far, no sounds ...

> xfconf-query -c xsettings -p /Net/SoundThemeName
freedesktop

> env | grep GTK_MODULES
GTK_MODULES=canberra-gtk-module:canberra-gtk-module

> ls /usr/share/sounds/$(xfconf-query -c xsettings -p /Net/SoundThemeName)/stereo
alarm-clock-elapsed.oga dialog-warning.oga
audio-channel-front-center.oga message-new-instant.oga
audio-channel-front-left.oga message.oga
audio-channel-front-right.oga network-connectivity-established.oga
audio-channel-rear-center.oga network-connectivity-lost.oga
audio-channel-rear-left.oga phone-incoming-call.oga
audio-channel-rear-right.oga phone-outgoing-busy.oga
audio-channel-side-left.oga phone-outgoing-calling.oga
audio-channel-side-right.oga power-plug.oga
audio-test-signal.oga power-unplug.oga
audio-volume-change.oga screen-capture.oga
bell.oga service-login.oga
camera-shutter.oga service-logout.oga
complete.oga suspend-error.oga
device-added.oga trash-empty.oga
device-removed.oga window-attention.oga
dialog-error.oga window-question.oga
dialog-information.oga

> which canberra-gtk-play
/usr/bin/canberra-gtk-play

Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu Package testing tracker.

A list of all reports related to this bug can be found here:
http://packages.qa.ubuntu.com/qatracker/reports/bugs/1321445

tags: added: package-qa-testing
Scott Moore (scottbomb)
affects: ubuntu → xfce4-settings (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in xfce4-settings (Ubuntu):
status: New → Confirmed
Revision history for this message
In , Raphael (raphael-redhat-bugs) wrote :

Could it be an issue with PulseAudio? I found something that Pulse can't write to sockets in some circumstances according to missing access rights or the like?

Revision history for this message
In , Kevin (kevin-redhat-bugs) wrote :

It seems unlikely, but you could try removing

alsa-plugins-pulseaudio

and relogin and see?

Revision history for this message
In , Raphael (raphael-redhat-bugs) wrote :

(In reply to Kevin Fenzi from comment #8)
> It seems unlikely, but you could try removing
>
> alsa-plugins-pulseaudio
>
> and relogin and see?

I don't understand what's going on here…
https://bugzilla.redhat.com/show_bug.cgi?id=1104951

Revision history for this message
In , Raphael (raphael-redhat-bugs) wrote :

I have removed all the pulseaudio crap. But ALSA doesn't detect the internal sound card, alsamixer does only see SPDIF HDMI that I don't use.

Revision history for this message
In , Kevin (kevin-redhat-bugs) wrote :

Thats odd, as pulse uses alsa... so if alsa doesn't see the card, I wouldn't expect it to work under pulseaudio either. ;(

Revision history for this message
In , Raphael (raphael-redhat-bugs) wrote :

Well, PulseAudio sees the card and there's generally sound available (e.g. Clase-Mail, Firefox, etc.). But Alsa only doesn't detect the internal chip, only HDMI SPDIF is offered. But that's a general issue and has nothing to do with canberra support in Xfce.

Changed in xfce4-settings (Ubuntu):
importance: Undecided → Low
Revision history for this message
In , Raphael (raphael-redhat-bugs) wrote :

Setting to rawhide to prevent upcoming EOL warnings.

Revision history for this message
In , Raphael (raphael-redhat-bugs) wrote :

Maybe that user can reproduce and knows the solution and it's a duplication:

https://bugzilla.redhat.com/show_bug.cgi?id=1067899

Revision history for this message
In , Jaroslav (jaroslav-redhat-bugs) wrote :

This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22

Revision history for this message
In , Raphael (raphael-redhat-bugs) wrote :

I'll try to reproduce when Xfce 4.12 has officially arrived in Fedora.

Changed in xfce4-session (Fedora):
importance: Unknown → Medium
status: Unknown → In Progress
Revision history for this message
Theo Linkspfeifer (lastonestanding) wrote :

https://cgit.freedesktop.org/sound-theme-freedesktop/commit/?id=cc9ff29162e09e0f69e0034b3ff48248be9be8ca

For window event sounds to work there have to be sound files for them.

I have created them manually, and that worked.

Changed in xfce4-settings (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Theo Linkspfeifer (lastonestanding) wrote :

The test case mentioned in the bug description requires additional steps, including the creation of sound files for window-minimized/-maximized:

- install libcanberra-gtk-module and libcanberra-pulse
- set GTK_MODULES="canberra-gtk-module" (can be done via /etc/X11/Xsession.d/56xubuntu-session)
- create both window-minimized.oga and window-maximized.oga in /usr/share/sounds/freedesktop/stereo
- relog

Also, the command "xfconf-query -c xsettings -p /Net/SoundThemeName" should return 'default'.

Kev Bowring (flocculant)
Changed in ubuntu-manual-tests:
importance: Undecided → Low
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.