Re: how to add sound at login

2011-07-27 Thread Scott Ferguson
On 27/07/11 21:25, abdelkader belahcene wrote:
 *HI,
 I want a sound when I log on my debian as it is done in ubuntu or other
 distro.
 like the file desktop-login.ogg   in /usr/share/sounds/ubuntu
 
 or linuxmint-login.wavde Linux mint
 thanks for help
 *
 
What desktop are you running?

You can set a sound at the start of grub:-
/etc/default/grub - look at the last line and run update-grub afterwards.
You can install beep or aplay and use a script - or you can make use of
the system sounds in a DE.

Cheers

-- 
Supreme Court says pornography is anything without artistic merit that
causes sexual thoughts, that's their definition, essentially. No
artistic merit, causes sexual thoughts. Hmm... Sounds like...every
commercial on television, doesn't it? You know, when I see those two
twins on that Doublemint commercial? I'm not thinking of gum. I am
thinking of chewing, so maybe that's the connection they're trying to make.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4e3017fd.4090...@gmail.com



Re: Re: how to add sound at login

2011-07-27 Thread abdelkader belahcene
thanks for answer

I am using gnome, the same window manager as in linux mint or ubuntu.
I want to know which script calls the sound at the login ( I mean the login
as user to WM,   why do you speak about grub ??!!), to do same with
debian.

thanks for help


Re: how to add sound at login

2011-07-27 Thread Scott Ferguson
On 28/07/11 00:54, abdelkader belahcene wrote:
 thanks for answer
 
 I am using gnome, 

Thankyou.

 the same window manager as in linux mint or ubuntu.

I wouldn't know - they're not Debian.

 I want to know which script calls the sound at the login ( I mean the login
 as user to WM, 

See further down.

 why do you speak about grub ??!!),

It's the first place you can add a sound event.

 to do same with debian.
 
 thanks for help
 

Try this:-
http://forums.debian.net/viewtopic.php?f=10t=52860

and this (right down the bottom):-
http://forums.debian.net/viewtopic.php?f=6t=60392

Good luck (I don't run Gnome)

-- 
Supreme Court says pornography is anything without artistic merit that
causes sexual thoughts, that's their definition, essentially. No
artistic merit, causes sexual thoughts. Hmm... Sounds like...every
commercial on television, doesn't it? You know, when I see those two
twins on that Doublemint commercial? I'm not thinking of gum. I am
thinking of chewing, so maybe that's the connection they're trying to make.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4e302d33.7060...@gmail.com



Re: how to add sound at login

2011-07-27 Thread abdelkader belahcene
*Hi,
I checked  the following  command , it failed

/usr/bin/canberra-gtk-play  -f  /usr/share/sounds/alsa/desktop-login.ogg

(process:2985): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
Failed to play sound: Sound disabled

I am sur the sound is enabled, since I can hear sounds  and can hear this
file with vlc for example, with any other palyer  but canberrra-gtk-play ??

thanks for help*


On Wed, Jul 27, 2011 at 1:25 PM, abdelkader belahcene
abelahc...@gmail.comwrote:

 *HI,
 I want a sound when I log on my debian as it is done in ubuntu or other
 distro.
 like the file desktop-login.ogg   in /usr/share/sounds/ubuntu

 or linuxmint-login.wavde Linux mint
 thanks for help
 *



Re: how to add sound at login

2011-07-27 Thread abdelkader belahcene
Reload this Page  how to add sound at login ( FIXED)

Just add the command canberra ( as root !!) to file

/etc/gdm3/PreSession/Default
thanks for help


On Wed, Jul 27, 2011 at 1:25 PM, abdelkader belahcene
abelahc...@gmail.comwrote:

 *HI,
 I want a sound when I log on my debian as it is done in ubuntu or other
 distro.
 like the file desktop-login.ogg   in /usr/share/sounds/ubuntu

 or linuxmint-login.wavde Linux mint
 thanks for help
 *