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

Re: Turning off esd

Even if the below works, you may still have trouble with gnome (at least I do).
I find that when I stop esd and restart it, the panel doesn't make its cool
sounds anymore--and indeed can freeze up in an effort to play anything!



Robert Guthrie wrote:

> On Saturday 30 December 2000 16:39, Felix E. Klee wrote:
> > Hi,
> >
> > I would like to automatically turn off the Enlightenment Sound Deamon
> > (esd) and remove the sound modules before suspending my laptop and turn
> > everything back on when resuming. Otherwise sound does not work anymore
> > after resuming and I have to reload the modules manually. I tried
> > putting "esdctl off; modprobe -r i810_audio, etc." into a script in
> > /etc/apm/event.d. However this does not seem to work since esdctl is
> > executed from the root account and esd was started from a normal user
> > account by Gnome.
> >
> > Did anyone already solve this problem? I appreciate all suggestions!
> >
> > TIA,
> >
> > Felix
> I'd suggest using "su flea esdctl on" (replace flea with your username), or
> whatever you do to restart esd.  If you want a generic solution, use ps to
> capture the username associated with esd before you kill it, and when your
> computer resumes, read that info from an environment variable.  Then the
> startup command would go "su $ESDUSER ...".
> --
> Did you know that if you play a Windows 2000 cd backwards, you
> will hear the voice of Satan?
> That's nothing!  If you play it forward, it'll install Windows 2000.
> --
> To UNSUBSCRIBE, email to debian-laptop-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
org:Algorithmcs Inc.
adr:;;185 Spadina Avenue;Toronto;Ontario;M5T 2C6;Canada
title:Financial Engineer
fn:Richard Black

Reply to: