LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-27-2011, 05:59 AM   #1
abd_bela
Member
 
Registered: Dec 2002
Location: algeria
Distribution: redhat 7.3, debian lenny
Posts: 627

Rep: Reputation: 31
how to add sound at login


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.wav de Linux mint
thanks for help
 
Old 07-27-2011, 06:08 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Depends on your window manager.
Did you looked in
system => preferences
or
systemsettings from your WM?

Kind regards
 
Old 07-27-2011, 09:50 AM   #3
abd_bela
Member
 
Registered: Dec 2002
Location: algeria
Distribution: redhat 7.3, debian lenny
Posts: 627

Original Poster
Rep: Reputation: 31
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 , to do same with debian.

thanks for help
 
Old 07-27-2011, 10:20 AM   #4
abd_bela
Member
 
Registered: Dec 2002
Location: algeria
Distribution: redhat 7.3, debian lenny
Posts: 627

Original Poster
Rep: Reputation: 31
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
 
Old 07-27-2011, 10:53 AM   #5
abd_bela
Member
 
Registered: Dec 2002
Location: algeria
Distribution: redhat 7.3, debian lenny
Posts: 627

Original Poster
Rep: Reputation: 31
Reload this Page how to add sound at login ( FIXED)

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

/etc/gdm3/PreSession/Default

bye
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to add sound at login abd_bela Debian 3 07-27-2011 10:20 AM
Mozilla firfox 3.0.b5- how to auto reload for a particular page. raju.mopidevi SUSE / openSUSE 1 01-31-2009 11:37 AM
javascript html link in a form to not reload page true_atlantis Programming 4 10-26-2006 08:49 AM
Reload this Page Help with pakgen. Payload or data Packet_Crazy Linux - Networking 2 07-14-2006 08:01 AM
konqueror: unwanted page reload problems salparadise Linux - Software 3 03-07-2004 08:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration