Shells scripting – How to create GUI dialogs for GNOME and KDE?

Posted on in Categories Shell scripting last updated July 29, 2006
gnome logo

I love scripting and when you have GUI utilities to create a dialog box from scripts, it makes your life easy.

Zenity and KDialog tools allow you to create GNOME- and KDE-specific front ends for scripts.

FTA, “…Because Linux developers have made great strides in improving Linux’s desktop interfaces and GUI applications, users have had no reason to focus on the command line. New users especially tend to be wary of the command-line interface (CLI) and favor the graphical environments (GUI) …

Read more at Linux.com

For example consider following small command:

$ zenity –info –text “Welcome to nixCraft weblog” –title=’Hi there!’

Output:
zenity command output

Pretty easy eah? 😉

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin and a trainer for the Linux operating system/Unix shell scripting. He has worked with global clients and in various industries, including IT, education, defense and space research, and the nonprofit sector. Follow him on Twitter, Facebook, Google+.

2 comment

Leave a Comment