Re: [Evolution] Can Evolution play a sound in KDE when new mail arrives?
- From: Lonnie Borntreger <email borntreger com>
- To: Evolution List <evolution ximian com>
- Subject: Re: [Evolution] Can Evolution play a sound in KDE when new mail arrives?
- Date: 22 Mar 2002 08:50:51 -0600
Yes.
First, you need to be using the CVS version of Evolution (1.1.0.99).
Second, go into your mail settings and set it to play a sound, and point
to a .wav file. Finally, you need to do some tricks. You "might" be
able to set up your evolution startup icon to start it as "artsdsp
evolution", but the key is to wrap esd in artsdsp, not evolution (since
it starts esd, or uses an already running esd for sounds). Because of
this, and due to the fact that I set a variable to eliminate the beta
splash screen, I changed my evolution startup to run a script, which I
call "Evolution". It looks like:
--------------------------
pocket-> cat /usr/local/bin/Evolution
#!/bin/ksh
##
## Deal with Sound
##
#
# For Arts wrapping
#
if [[ $KDEDIR == /opt/kde3 ]]
then
export
LD_PRELOAD=$LD_PRELOAD:/opt/kde3/lib/libartsdsp.so:/opt/kde3/lib/libartsc.so
else
export
LD_PRELOAD=$LD_PRELOAD:/usr/lib/libartsdsp.so:/usr/lib/libartsc.so
fi
if [[ ! `/sbin/pidof esd` ]]
then
esd -nobeeps -spawnfd 4 &
fi
##
## End of Sound Stuff
##
# Eliminate the "beta" splash screen
export EVOLVE_ME_HARDER=1
evolution $*
-----------------------
The KDEDIR stuff is due to the fact that I'm using Mandrake, and KDE3 is
installed into a different directory (for now). This makes so that esd
runs and pipes sound into artsd. If you have a SB Live, or another card
that can handle multiple opens on the device, you don't have to do this.
On Fri, 2002-03-22 at 06:38, Paul Hands wrote:
If so, how?
TIA
Paul
--
TTFN,
Lonnie Borntreger
--
TTFN,
Lonnie Borntreger
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]