You are not logged in.
Just like the title says, I have no event sounds. Pulseaudio is working fine so I assume I'm missing some gnome audio package from the repos. I've combed through them but am unable to locate the correct package.
I have gnome-media and all the correct pulse packages:
local/libao 1.1.0-1
local/libcanberra-pulse 0.26-5 (pulseaudio-gnome)
local/libpulse 0.9.22-2
local/paprefs 0.9.9-6
local/pavucontrol 0.9.10-4
local/pulseaudio 0.9.22-2
local/pulseaudio-alsa 1-2 (pulseaudio-gnome)
I noticed that one of libcanberra's .desktop files calls:
/usr/bin/canberra-gtk-play --id="desktop-login" --description="GNOME Login"
Running that command from a terminal outputs:
Failed to play sound: File or data not found
Which is the reason I think I'm missing something...? I mainly want the event sounds for Empathy.
Any ideas?
Last edited by Ledti (2011-04-25 02:17:29)
Offline
You are most likely missing the sound theme itself. libcanberra is just the engine.
Here is what I have installed (bear in mind I have a 64 bit system, so you can ignore multilib entries if you are on 32 bit):
pacman -Qs canberra # the system files required to play system sounds
multilib/lib32-libcanberra 0.26-3
A small and lightweight implementation of the XDG Sound Theme
Specification (32-bit)
multilib/lib32-libcanberra-pulse 0.26-3
PulseAudio plugin for libcanberra (32-bit)
testing/libcanberra 0.26-5
A small and lightweight implementation of the XDG Sound Theme Specification
testing/libcanberra-gstreamer 0.26-5
GStreamer plugin for libcanberra
testing/libcanberra-pulse 0.26-5 (pulseaudio-gnome)
PulseAudio plugin for libcanberra
pacman -Qs freedesktop # the default sound theme
extra/sound-theme-freedesktop 0.7-1
Freedesktop sound theme
Now, in the System Settings GUI, select sound and choose an alert sound other than default (this creates your user defined theme)
Next, in dconf-editor under key: org.gnome.desktop.sound ensure both event-sounds and input-feedback-sounds are ticked, and the theme name is __custom
Now this is done, your system sounds are set up. Place your selected sounds in ~/.local/share/sounds/__custom. Use .wav or .oga files only (.ogg if necessary but this is deprecated).
Of course, you don't have to add any sounds yourself, you can just use the defaults from the freedesktop theme. Just add your sounds if you want to customise the theme to your own.
Here is a list of what your sounds should be called (extracted gtk events from libcanberra source code - system list is incomplete, but gives the vast majority of sounds you may want)
System sounds (look at the freedesktop.org sound theme spec for more possibilities - trial and error will discover what your desktop supports)
audio-volume-change
desktop-login
desktop-logout
system-ready
message
bell
GTK event sounds (supported by libcanberra)
dialog-error
dialog-warning
dialog-information
dialog-question
window-new
window-close
window-minimized
window-unminimized
window-maximized
window-unmaximized
notebook-tab-changed
dialog-ok
dialog-cancel
item-selected
link-pressed
link-released
button-pressed
button-released
menu-click
button-toggle-on
button-toggle-off
menu-popup
menu-popdown
menu-replace
tooltip-popup
tooltip-popdown
drag-start
drag-accept
drag-fail
expander-toggle-on
expander-toggle-off
Cheers
Last edited by Padfoot (2011-04-24 23:21:50)
Offline
Offline
I recently had to change id from "desktop-login" to "login" so that it started working again:
/usr/bin/canberra-gtk-play --id="login" --description="GNOME Login"
Offline
I recently had to change id from "desktop-login" to "login" so that it started working again:
/usr/bin/canberra-gtk-play --id="login" --description="GNOME Login"
in fact the id is correct but they dropped the sound couples of years ago from sound-theme-freedesktop with the intention to replace it
Give what you have. To someone, it may be better than you dare to think.
Offline