Top White Papers
Saving my sanity with Zenity : shell script interaction via the GUIFeb 05, 2009, 07:34 (0 Talkback[s])
(Other stories by Ryan Cartwright)
[ Thanks to steve hill for this link. ]
"Zenity is not a unique tool (it’s similar to dialog and Xdialog etc.) and not the first of its kind either, but it is very usable. The FSF directory page says that “Zenity lets you display Gtk+ dialog boxes from the command line and through shell scripts” and I can find no better way of summarising it. Put another way though, Zenity allows a shell script to interact with a GUI user in a mutually beneficial way. Sometimes your shell script needs to ask the user a question: Zenity gives them a familiar dialog window and accepts the answer accordingly. The end user need not even be aware that they are running a shell script.
0 Talkback[s] (click to add your comment)