Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 262969 - x11-themes/sound-themes-freedesktop and gnome-extra/gnome-audio do the same thing
Summary: x11-themes/sound-themes-freedesktop and gnome-extra/gnome-audio do the same t...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-18 22:38 UTC by Maciej Józiewicz
Modified: 2009-09-06 11:52 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maciej Józiewicz 2009-03-18 22:38:30 UTC
With gnome 2.22 we had gnome-audio and with 2.24 sound-themes-freedesktop is installed. On upgrade both are left and sounds from both sets are played during login. A portage message displayed when emerging sound-themes-freedesktop would be really nice.

Something like:
"If you're upgrading gnome to 2.24 and suffer from double login sound you should uninstall the old sounds set:
'emerge -C gnome-audio'"

Reproducible: Always

Steps to Reproduce:
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-03-18 23:08:49 UTC
what you are seeing is probably unrelated to the presence of both on the system. sound-themes-freedesktop provides sounds *and* a theme file so that the new sound preferences capplet can use them.

Do you have pulseaudio or esound installed ?
Comment 2 Maciej Józiewicz 2009-03-18 23:21:25 UTC
I just checked that I have the esd flag set. Probably it's in the desktop profile as I didn't set it. So I have esound installed but not pulseaudio. Could you please educate me on how is this of importance? (a link or something...)

I forgot to paste the link to the topic on the forums:
http://forums.gentoo.org/viewtopic-t-747293.html
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-03-22 14:33:40 UTC
if you go to "System -> Preferences -> Sound", does disabling login sound leaves you with zero, one or two login sound ? libcanberra might be doing things on its own and esound as well.
Comment 4 Maciej Józiewicz 2009-03-22 15:47:00 UTC
I just checked and disabling it leaves me with one - the old one. The new sound can be switched no/off and the old one is always played if installed.

I have the currently stable libcanberra:
szczerb@nomad ~ $ eix libcanberra
[I] media-libs/libcanberra
     Available versions:  ~0.9 ~0.10 0.11 ~0.11-r1 {alsa doc gstreamer gtk oss pulseaudio}
     Installed versions:  0.11(00:26:31 12.03.2009)(alsa doc gstreamer gtk -oss)
     Homepage:            http://0pointer.de/lennart/projects/libcanberra/
     Description:         Portable Sound Event Library

and esound:
szczerb@nomad ~ $ eix esound
[I] media-sound/esound
     Available versions:  0.2.38-r1 ~0.2.39 ~0.2.40 0.2.41 {alsa debug doc ipv6 tcpd}
     Installed versions:  0.2.41(02:12:08 28.01.2009)(alsa doc ipv6 tcpd -debug)
     Homepage:            http://www.tux.org/~ricdude/EsounD.html
     Description:         The Enlightened Sound Daemon

Would you like me to check something more?
Comment 5 Andy Wilkinson 2009-07-03 15:26:05 UTC
(In reply to comment #1)
> what you are seeing is probably unrelated to the presence of both on the
> system. sound-themes-freedesktop provides sounds *and* a theme file so that the
> new sound preferences capplet can use them.
> 
> Do you have pulseaudio or esound installed ?
> 

I have pulseaudio installed, and have no discernable way of deactivating the "old" sound.  Is there a compelling reason that pulseaudio[gnome] should depend on gnome-audio, rather than something a little more version sensitive?
Comment 6 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-08-26 21:28:22 UTC
I suppose this is pulseaudio playing start sound on its own with the "old" gnome-audio sample while libcanberra is spawned via gnome-session (see System -> Preferences -> Application startup).

Since I have no clue how pulseaudio decides to play login/shutdown sound, I'm CCing sound to get their input.
Comment 7 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-08-27 14:26:24 UTC
Which version of PulseAudio do you have?
Comment 8 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-09-06 11:52:38 UTC
please get back to us.