You are not logged in.

#1 2019-07-20 22:17:25

promike
Member
Registered: 2019-05-19
Posts: 8

XFCE sound theme won't work

Hello,
I followed the wiki https://wiki.archlinux.org/index.php/Xfce#Sound_themes but I just can't make it work!

1) I have both libcanberra and libcanberra-pulse packages installed
$ pacman -Qs libcanberra
local/libcanberra 0.30+2+gc0620e4-2
local/libcanberra-pulse 0.30+2+gc0620e4-2

2) canberra-gtk-module is in GTK_MODULES
$ echo $GTK_MODULES
canberra-gtk-module:canberra-gtk-module

3) 'Enable event sounds' is checked in Settings Manager → Appearance → Settings tab

4) In the settings editor xsettings/Net/SoundThemeName is set to 'freedesktop'
$ ls /usr/share/sounds/
... freedesktop ...

5) The volume of  'System sounds' is turned up and unmuted in pavucontrol.

$ ls /usr/share/sounds/freedesktop/stereo/trash-empty.oga
/usr/share/sounds/freedesktop/stereo/trash-empty.oga

$ canberra-gtk-play -f /usr/share/sounds/freedesktop/stereo/trash-empty.oga
plays it back successfully and audible

$ touch file
then 'file' is moved to trash, and when the trash gets emptied, I don't hear a single thing.

Offline

#2 2019-07-21 00:03:35

toz
Member
Registered: 2011-10-28
Posts: 497

Re: XFCE sound theme won't work

libcanberra only supports some events. See http://git.0pointer.net/libcanberra.git … dule.c#n41.

Using a more comprehensive sound theme, like smooth, will get you more sound events.

Offline

#3 2019-07-23 11:04:08

promike
Member
Registered: 2019-05-19
Posts: 8

Re: XFCE sound theme won't work

uh-oh! Not even the bell sound?
This isn't really useful then.

Is libcanberra the only option under XFCE?
I like the sound collection that freedesktop has and I'm looking for something that can use them.

Offline

#4 2019-07-23 23:06:27

toz
Member
Registered: 2011-10-28
Posts: 497

Re: XFCE sound theme won't work

promike wrote:

Is libcanberra the only option under XFCE?

AFAIK, yes. It's tied to GTK. However, it hasn't been updated since 2012 so its not being maintained anymore.

Offline

#5 2019-07-24 21:20:12

promike
Member
Registered: 2019-05-19
Posts: 8

Re: XFCE sound theme won't work

got it sad
Thank you for your help toz!

Offline

Board footer

Powered by FluxBB