Nick Merrett wrote:
Hi Luke,

I dont use gnome and hence dont use that little bit of script to start
esd. I modified one of the scripts that sun shipped that set up the
$UTAUDIODEV.

/etc/X11/xinit/xinitrc.d/0100.SUNWut

#
# Set up Sun Ray audio
#
if [ -x $DEVICE_BIN/utaudio ]
then
       AUDIODEV=`$DEVICE_BIN/utaudio`
       UTAUDIODEV=$AUDIODEV
       if [ -n "${AUDIODEV:+setnotnull}" ]
       then
              export AUDIODEV UTAUDIODEV

              # Set the LD_PRELOAD variable for Linux
              OS=`uname -s`
              if [[ $OS == "Linux" ]]; then
                       LD_PRELOAD=/usr/lib/libc_ut.so
                       export LD_PRELOAD
              fi
        fi
   fi

   if [ -n $AUDIODEV ]
   then
          pkill -u $USER esd
          eval /usr/bin/esd -d $AUDIODEV -nobeeps &
   fi

See if that works for you. I mucked around for a while trying to find
the best place to do it.

Cheers
Nick
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users
Well I added this to my copy of that Sun file:

        if [ -n $AUDIODEV ]
        then
                pkill -U $USER esd
                eval /usr/bin/esd -d $AUDIODEV -nobeeps -terminate &
        fi

And it worked!!!!
Thanks so much for all your help!!!
I knew it had to be something very simple.
Thanks again,
-Luke
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users

Reply via email to