Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 248253 - gnome-base/gdm-2.20.8 - sounds are not working
Summary: gnome-base/gdm-2.20.8 - sounds are not working
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-22 22:07 UTC by Dirk Best
Modified: 2009-01-05 23:33 UTC (History)
0 users

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 Dirk Best 2008-11-22 22:07:38 UTC
GDM allows to define sounds for various events, those are not currently working on Gentoo. 

Reproducible: Always

Steps to Reproduce:
1. Open GDMSetup
2. Enable Sounds
3. Restart GDM

Actual Results:  
No Sound.

Expected Results:  
Sound effects.

The default config for GDM includes this line:

#SoundProgram=/usr/bin/play

However, /usr/bin/play doesn't exist on my system and therefore sounds don't play. A possible solution (which is used by Ubuntu) is to write a wrapper script like this:

#!/bin/sh
/usr/bin/aplay -q -N "$@" 2> /dev/null

This is put into a file called "/usr/lib/gdmplay". Next, the GDM config in /etc/X11/gdm/custom.conf needs to be modified to include this line:

SoundProgram=/usr/lib/gdmplay

Result: Sounds in GDM work as expected.
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-11-29 23:02:35 UTC
this is a user configuration problem but it is probably a good idea to provide this script. @herd, what say you ?
Comment 2 Rémi Cardona (RETIRED) gentoo-dev 2008-11-30 17:25:23 UTC
As long as the default is unchanged (ie, not playing sounds) then ACK from me.

Thanks
Comment 3 Daniel Gryniewicz (RETIRED) gentoo-dev 2008-12-08 17:09:02 UTC
As long as my gdm doesn't suddenly start playing sounds, it's fine with me.
Comment 4 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-01-05 23:33:14 UTC
fixed in 2.20.9.