8 May
2010
8 May
'10
22:53
Bash gurus, How do I check for an active display in a bash script before calling zenity or the like to request input or provide graphical output? Do I just use the DISPLAY variable? Is there something better for a test. I want some type of test I can use like: if 'TheXTest'; then zenity blahblah else echo "blahblah" fi Any favorites? -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org