On 21-May-00 Steve Sheriff wrote:
Hi everyone.
I can't get the KDE systems sounds to work after upgrading to SuSE 6.4. I can set them up and click the test button and they work fine but after that, silence. My /opt/kde/bin/startkde looks like this
startifthere kcontrol -init sleep 1 ; startifaudio kaudioserver (sleep 1 && startifaudio kwmsound) &
Is the problem here? all other stuff like XMMS works fine.
Thanks, Steve.
--
Try either of the following edits to your startkde file:
follows:
OPTION 1
--------
# sound detection.
#
#function startifaudio () {
# if [ "`grep sound /proc/devices`" ]; then
# startifthere $@
# else
# echo "No sound device available. $@ not started."
# fi
function startifaudio () {
TESTVAR=`grep -A1 "Audio devices" /dev/sndstat | tail -n 1`
test -n "$TESTVAR" && startifthere $@
}
OPTION 2
--------
-This applies only if you are using OSS for your sound card use.
-Replace the "grep sound" with "grep OSS" is the startifaudio function.
One other thing to keep in mind is that it seems these edits should be done to
the /usr/X11R6/bin/startkde file, and NOT to the /opt/kde/bin/startkde. At
least that's what I have observed.
Hope this helps...I know it solved my problems.
-----------------------------------
Arlen Carlson