FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Desktop

 
 
LinkBack Thread Tools
 
Old 02-25-2009, 08:13 PM
Lindsay Haisley
 
Default Gnome and desktop sounds

I have my desktop system configured to use a custom esd command which
sends desktop event sounds to a pair of cheezy little speakers in front
of me (used to be the built-in speakers on my LCD display) but if I play
a CD, or a sound file, the sound goes to a pair of JBL studio monitors
connected to an external amp. When it works, it's very nice, and takes
advantage of the multi-channel hardware in my sound card.

The trouble is, most of the time when I boot the box, gnome runs the
command "esd --nobeeps", which sends sound through the big speakers.
The command it should run is "esd -nobeeps -as 2 -d pcm.lcd" ('pcm.lcd'
is an ALSA interface defined in my .asoundrc). If I kill esd from
within a session and restart it from a command shell, the desktop
doesn't connect with the new daemon. The same thing happens if I do
this from another VT. If I start esd with the proper command while
logged out of gnome and then log in, the gnome session kills the running
esd and starts its own with the wrong command.

I've tried putting the proper invocation in /etc/esd/esd.conf but it
only works sometimes.

Where in the gnome configuration is the command to start esd stored, or
is it hard-coded? I've found switches in the UI and in gconf to turn
esd on and off, but I can't find where the esd startup command is
located.

Any help?

--
Lindsay Haisley | "Never expect the people who caused a problem
FMP Computer Services | to solve it." (Albert Einstein)
512-259-1190 |
http://www.fmp.com |
 
Old 02-26-2009, 05:23 PM
Daniel Gryniewicz
 
Default Gnome and desktop sounds

On Wed, 2009-02-25 at 15:13 -0600, Lindsay Haisley wrote:
> I have my desktop system configured to use a custom esd command which
> sends desktop event sounds to a pair of cheezy little speakers in front
> of me (used to be the built-in speakers on my LCD display) but if I play
> a CD, or a sound file, the sound goes to a pair of JBL studio monitors
> connected to an external amp. When it works, it's very nice, and takes
> advantage of the multi-channel hardware in my sound card.
>
> The trouble is, most of the time when I boot the box, gnome runs the
> command "esd --nobeeps", which sends sound through the big speakers.
> The command it should run is "esd -nobeeps -as 2 -d pcm.lcd" ('pcm.lcd'
> is an ALSA interface defined in my .asoundrc). If I kill esd from
> within a session and restart it from a command shell, the desktop
> doesn't connect with the new daemon. The same thing happens if I do
> this from another VT. If I start esd with the proper command while
> logged out of gnome and then log in, the gnome session kills the running
> esd and starts its own with the wrong command.
>
> I've tried putting the proper invocation in /etc/esd/esd.conf but it
> only works sometimes.
>
> Where in the gnome configuration is the command to start esd stored, or
> is it hard-coded? I've found switches in the UI and in gconf to turn
> esd on and off, but I can't find where the esd startup command is
> located.
>
> Any help?
>

You want to run esd system wide. Use /etc/init.d/esound and
modify /etc/conf.d/esound to change it's default settings.

Daniel
 

Thread Tools




All times are GMT. The time now is 12:21 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org