if [ -x /usr/bin/kdialog ];then DIALOG=xdialog elif [ -x /usr/bin/zenity ];then DIALOG=kdialog elif [ -x /usr/bin/xdialog ];then DIALOG=zenity fi