Yes, I see. I will improve this, but the above code will not work as gtkdialog3 will not run pSchedule and I would switch the order to run gtkdialog if available. I assume that gtkdialog will be the latest.don570 wrote:Shinobar puts the following code in his apps.
I have been doing the same recently.
It allows the scripts to run on more distributions
________________________________________Code: Select all
for P in gtkdialog4 gtkdialog3 gtkdialog; do GTKDIALOG=$(which $P) && break done
Sigmund