Hi TLV,
i wrote this small script to solve ur problem give it a try and tell me..
#! /bin/bash
atitvout -f t # To activate the s-video port on ur ATI card
noatun # Running noatun
#kcalc # dont bother about this its for testing
#********important ***************
#check where ur "pidof" is installed by doing ---> #whereis pidof
#in my case it is in /sbin/pidof so im putting it in my next line...
#*********************************
t=`/sbin/pidof noatun` # checking pid to see if noatun is running
#t=`/sbin/pidof kcalc` #dont bother about this its for testing
while [ -n "$t" ] # while noatun is running
do
echo 'UsualTuxpect' >/dev/null #simply outputting my name to /dev/null
done
if [ -z "$t" ] # If noatun process not running , 'pidof' returns null.
then
echo " "
echo "Process noatun not running."
echo " "
echo "About to deactivate s-video port "
atitvout -t l # deactivating the s-video port
fi # end of if condition
exit 0 # exiting without error
i have tried this script with kcalc and xterm and it seems to be doin the job as i have not
installed noatun on my system...
Post back as to how it went...........
DAMN!!!! I'm So excited just one away from 100