GNOME Bugzilla – Bug 142502
Gnome 2.6.1 doesn't have sound
Last modified: 2004-12-22 21:47:04 UTC
I just upgraded my Gnome 2.4.2 on Slackware with the official slackware gnome 2.6.1 packages and now no one has sound on Gnome for the system events (not even the slackware developer, but he doesn't know how to solve this, so I file the bug here). Please note that our alsa is fine and unmuted, OSS is working fine, kde has sound, sdl games have sound, GStreamer apps DO have sound, everything is fine on the system. The *only* thing that doesn't work are the *gnome sounds*. Yes, the two checkboxes on the sound preference panel are checked (I even doublechecked on the gconf to see that they are indeed checked), the gnome volume meter is fine, but there is not a peep regarding ESD on gnome. And yes, the sounds are installed properly on /usr/share/sounds/. Please note that *the only* sounds that DO happen on gnome 2.6.1 on Slackware are the *startup* and the *shutdown* sounds. These DO happen! However all the other system sounds (e.g. closing down a window, having an alert etc) DON'T happen. Any clues?
I am not the only one, here is another Slackware person who has the same problem: http://gnomesupport.org/forums/viewtopic.php?t=6340 Are you sure guys Esound works with ALSA on kernel 2.4.25?
I am same with you. only the *startup* and the *shutdown* sounds......no other sounds on Gnome 2.6.1 but I am debian sid using the emperimental packages. Kernel 2.6.5
This is not just Slackware or Debian - I am experiencing the exact same issue on Gentoo. My startup and shutdown sounds work, but none of the other ones do. To add to the confusion, I can open up gnomecc and play the sounds in that applet. The sounds even respond correctly to events in the gnomecc when clicking on buttons or whatnot. Dropping to console and playing a sound with "esdplay <sound>" works also. All ALSA apps work fine (XMMS, etc.) But... during regular usage, none of the desktop sound events work.
Yup, you are right. I can play sounds with "esdplay" as well, it's the normal gnome session that doesn't work! :o
I will look into this for the next point release of 2.6.x. The comments here lead me to think this is a problem higher in the stack though as esdplay is working fine. Maybe libgnome or something like that.
According to the Gentoo bugzilla at: http://bugs.gentoo.org/show_bug.cgi?id=50700 ...there is a patch introduced to libgnome-2.6.1.1 to fix this...?
There are test RPMS for this with a fix at: http://www.gnome.org/~kmaraas/RPMS Please test and report back.
Attaching the patch here for completeness.
Created attachment 27742 [details] [review] Patch to fix sound events
And moving to libgnome.
Please give us *tar.gz* files, not RPMS, I mean, the problems happen mostly on non-rpm distros. thx.
I recompiled libgnome 2.6.1.1 with the patch and I now have sounds, thanks!