[Pkg-ltsp-devel] Bug#425057: ltsp-server: Sound does not work "out of box" and no instructions for making it work

Petter Reinholdtsen pere at hungry.com
Mon Jun 11 06:47:38 UTC 2007


In Debian Edu/Etch, we configure sound in KDE automatically using
desktop-profiles.  We provide default KDE settings to enable ESD when
logging in from a thin client with sound support enabled.  Here is how
it is done.


The file /etc/desktop-profiles/debian-edu-config.listing contain this
entry:

  # Settings for the thin clients, to enable esd sound
  edu-ltsp;KDE;/usr/share/debian-edu/thin-client;20;$([ "$LTSP_CLIENT" ] && [ "$ESPEAKER" ] && echo 1);Settings common to all debian-edu LTSP clients

This activate the KDE configuration files in
/usr/share/debian-edu/thin-client when both LTSP_CLIENT and ESPEAKER
is set.

Next, the file
/usr/share/debian-edu/thin-client/share/config/kcmartsrc contain the
KDE configuration to enable esd and use it:

  [Arts]
  AudioIO=esd
  Arguments=\s-F 10 -S 4096 -a esd -s 60 -m artsmessage -c drkonqi -

With these two files in place, KDE switches to esd and uses the
ESPEAKER setting to send sound to the thin client when logging in from
a LTSP thin client with sound enabled.

As gnome as far as I know already uses esd, there is no need to
reconfigure gnome to get its application to use esd.

Happy hacking,
-- 
Petter Reinholdtsen




More information about the Pkg-ltsp-devel mailing list