So my new office computer is a SunRay which is a thin client type computer that lets me log on to a central server. The SunRay has a sound card in it and a little speaker and I can hear the audio in most applications, like for example I can enjoy a Strong Bad Email in firefox with sound, no problem. Gaim sounds were broken. I managed to fix the problem by using a custom sound command string in Gaim preferences, specifically play --device=/tmp/SUNWut/dev/utaudio/6 %s will play the file %s. So what is my problem? I want to use an environment variable instead: play --device=$AUDIODEV %s $AUDIODEV is set by the system and points to /tmp/SUNWut/dev/utaudio/6 right now. The problem is that when I log on to another machine, like the SunBlade in my old office, it will need to use /dev/audio instead of that funky utaudio device path, and it will break. Also if they reboot the SunFire server, my machine could be assigned a different $AUDIODEV path. CLIFFS How do I use an environment variable in the Gaim->Tools->Preferences->Sounds->Sound Command string?