[K12OSN] gnome-settings-daemon and esd-sound

Eric Harrison eharrison at mail.mesd.k12.or.us
Thu Feb 2 14:04:35 UTC 2006

On Thu, 2 Feb 2006, [ISO-8859-1] Trond Mæhlum wrote:

> The two questions in the topic is not related. I think.
> I am using icewm, and I see that gnome-settings-daemon is started. What 
> exactly does this do?

It is required for nautilus to run correctly. If you take a look at the
IceWM session script, you'll see that it only runs if nautilus is 
enabled (ICEWM_USE_NAUTILUS=YES in /etc/sysconfig/icewm).

I don't remember all that breaks if you turn off gnome-settings-daemon,
if you are really curious you can comment that line out and see what
happens ;-)

> Also, when using esd for sound, what takes of care sending oss sound through 
> esd?
> The reason for asking is that I am testing a Skolelinux LTSP server (Debian). 
> I know this is off-topic, but please forgive me. I am trying to port some 
> K12LTSP spesific things over to the Skolelinux server. I have also looked at 
> Ubuntu and Edubuntu.
> Now, when I set up esd as sound daemon, I get sound from xmms and mplayer when 
> I set esound as sound-system. Gcompris and Tuxmath reports "no sound" and do 
> not play anything. I suspect this is because they use oss and it does not get 
> redirected to esd.
> When I choose nasd, I get everything playing, but after installing 
> libaudiooss. Is there a similar "glue" to make oss play through esd, like 
> libaudiooss does this for nas?
> I know this is not K12LTSP spesific, but I am asking anyway since the general 
> Linux knowledge here is awesome.
> Best regards
> Trond Maehlum

Yes, you can pre-load esound libraries to do the same magic as nasd.
In K12LTSP, you can turn this on by setting REMOTE_SOUND_HACKS=YES
in /etc/sysconfig/k12ltsp

The simple answer is that you preload the libesd.so and libesddsp.so
libraries, such as:

    LD_PRELOAD="/usr/lib/libesd.so.0 /usr/lib/libesddsp.so.0"
    export LD_PRELOAD

The script K12LTSP uses is a bit more complicated, it has some sanity
checking, etc. This is in /etc/profile.d/ltsp-esound.sh if you want
to see all the details.


More information about the K12OSN mailing list