You are not logged in.

#1 2006-02-17 05:50:03

matthinckley
Member
From: Oklahoma, USA
Registered: 2006-02-16
Posts: 7

GDM Greeter Sound

OK I don't know if this is the right forum for this, but I am a newbie so here goes..

I use gnome and in the greeter I go to the setup screen (Actions --> Configure the Login Manager).  Under the Accessibility tab there is a checkbox 'Make a sound when login window is ready' which is checked by default and I hear a beep through the PC Speaker.  Underneath the checkbox is a browse button to choose a sound file.. so I choose a .wav file from /opt/gnome/share/sounds but it won't play.. I still get the PC Speaker beep.

So I CTRL-ALT-F1 for terminal and do a 'ps -Af to see that /opt/gnome/libexec/gdmgreeter is being run by user 'nobody'

gpasswd -a nobody audio

still no luck..

Thanks in advance for any suggestions

P.S.  If you run gnome and want to see what I'm talking about without log out, go to Applications --> System Tools --> New Login in a Nested Window

Very handy


Arch Linux
AMD Athlon XP 3200+ 2.0 GHz
512MB PC3200 DDR-400
nVidia GeForceFX 5200 128MB
--------------------------------------------
Registered Linux User #404908

Offline

#2 2006-09-25 15:22:37

pelle.k
Member
From: Åre, Sweden (EU)
Registered: 2006-04-30
Posts: 667

Re: GDM Greeter Sound

Hi and welcome to the club!

This is the original;
/opt/gnome/share/gdm/defaults.conf

Put your customisations here.
/opt/gnome/etc/gdm/custom.conf

This is what i have to play sound from gdm.

in sectiond [daemon]

SoundProgram=/usr/bin/play

in section [greeter]

# If SoundOnLogin is true, then the greeter will beep when login is ready for
# user input.  If SoundOnLogin is a file and the greeter finds the 'play'
# executable (see daemon/SoundProgram) it will play that file instead of just
# beeping.
SoundOnLogin=true
SoundOnLoginFile=
# If SoundOnLoginSuccess, then the greeter will play a sound (as above) when a
# user successfully logs in.
SoundOnLoginSuccess=true
SoundOnLoginSuccessFile=
# If SoundOnLoginFailure, then the greeter will play a sound (as above) when a
# user fails to log in.
#SoundOnLoginFailure=false
#SoundOnLoginFailureFile=

Also you will have to install 'sox' to play audio with /usr/bin/play smile, _and_ you will have to restart gdm / or reboot your computer to load the changes.


"Your beliefs can be like fences that surround you.
You must first see them or you will not even realize that you are not free, simply because you will not see beyond the fences.
They will represent the boundaries of your experience."

SETH / Jane Roberts

Offline

#3 2006-09-25 16:59:50

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,718
Website

Re: GDM Greeter Sound

You make no mention of having set up the sound system so, I'll ask ... did you?
Can you play anything else? Otherwise, the problem may be that you have not  set up ALSA in your system.  wink

Offline

Board footer

Powered by FluxBB