Zenity, a GUI mode for Shell/Bash script

On my previous learning, I use “dialog” to visualize my shell script program. Dialog lets users to visualize my script in better way compared to original shell program. But Dialog does not allow users to use their mouse to interact with the shell script program. See the following script built using Dialog.

gamblisfx app installer

And fortunately there is a better way to create GUI application from shell script called Zenity. With Zenity we can create a full GUI mode which user can interact using mouse, keyboard just like any other GTK GUI applications. Here is the example of a shell script visualized using Zenity.


The above radio list program was coded with the following script:

[codesyntax lang=”bash”]


Zenity should be available by default on most Linus distribution but if its not, you can install it on your Ubuntu using the following command:

[codesyntax lang=”bash”]



One Comment

Leave a Reply

Your email address will not be published. Required fields are marked *