[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ESD click problem



You can perhaps add 'killall esd' in a PreSession script.
In fact, Gdm uses an initV kind of startup scripts.

/etc/gdm/PreSession
/etc/gdm/PreSession/Default
/etc/gdm/PostSession
/etc/gdm/PostSession/Default

Christophe

Le jeu, 27 sep 2001 11:11:28, Peter Hugosson-Miller a écrit :
> Michael Heldebrant wrote:
> 
> > On Mon, 2001-09-24 at 03:41, Peter Hugosson-Miller wrote:
> > > I never thought I'd be complaining when I finally got sound
> > > to work, but I guess I'm not so easy to please... there's a
> > > tiny problem with esd that I hope someone can help me with.
> > >
> > > I'm using Gnome as my desktop, and I have enabled sound for
> > > window events. It all works nicely except for this annoying
> > > "click" that accompanies each sound. I've investigated this
> > > and found that there is an esd option that makes the daemon
> > > shut down after 2 seconds of inactivity. The "click" is the
> > > sound of the daemon starting up again.
> > >
> > > I've increased the delay by various amounts, but found that
> > > in the end, having a short timeout is not desireable, since
> > > the esd startup click is just too annoying. I set the delay
> > > to 30 minutes, which kind of fixes the problem, but now the
> > > problem is replaced by a new one. If I log out, and my wife
> > > logs in inside of half an hour, her desktop can not connect
> > > to the sound daemon. The problem is that my esd instance is
> > > still running, she doesn't have authorization to use it, so
> > > she can't connect to it.
> > >
> > > I can use a virtual terminal to log in and kill the daemon,
> > > again solving the problem, but this is a bit messy. I can't
> > > kill it before I log out, because I have panel applets like
> > > the sound monitor which complain and then remove themselves
> > > from the panel if the daemon isn't running.
> > >
> > > The whole thing smacks of "there must be an easy way to fix
> > > this", as it seems whatever I do, just introduces a further
> > > complication.
> > >
> > > Six months ago I would have been glad to have problems like
> > > this! Now, it's starting to get old... Please help!
> > >
> >
> > Put killall esd in your .bash_logout (or appropriate
> > replacement) file.
> >
> > --mike
> 
> That is almost what I'm looking for, but In my case it doesn't
> do the trick, as I am using gdm for logging in. When I log out
> of Gnome, I get back to the gdm login prompter, and the script
> you mentioned doesn't get run. Is there a corresponding script
> for gdm that I could put the magic line into?
> 
> --
> Best regards,
> 
> Peter Hugosson-Miller
> "Linux - the choice of a GNU generation!"
> begin:vcard 
> n:Hugosson-Miller;Peter
> tel;fax:+468 676 5010
> tel;home:+468 756 93 58
> tel;work:+468 676 52 70
> x-mozilla-html:TRUE
> org:<A href="http://www.im.se";><IMG
SRC=http://www.nasdaq.com/logos/IMIC.GIF
>  ALT="Industri-Matematik International"></A>
> version:2.1
> email;internet:pehu@im.se
> title:Software Development Specialist
> note:Private mailto: hugge@bigfoot.com    Personal Homepage:
> http://www.netg.se/~hugge/
> adr;quoted-printable:;;Kungsgatan 12-14=0D=0ABox 7733;103 95 
> Stockholm;;;Sweden
> x-mozilla-cpt:;19328
> fn:Peter Hugosson-Miller
> end:vcard
> 
-- 
Christophe Barbé
Software Engineer - christophe.barbe@lineo.fr
Lineo France - Lineo High Availability Group
42-46, rue Médéric - 92110 Clichy - France
phone (33).1.41.40.02.12 - fax (33).1.41.40.02.01
http://www.lineo.com



Reply to: