Adding graphic elements to your scripts with Zenity and KDialog
SHELL CLICK
Author(s): KRISTIAN KISSLING
Zenity and KDialog let you integrate your scripts with the native KDE or Gnome environment.
A full-blown GUI-based application graphical interface is way more trouble to create than a simple shell script. If you like the simplicity of scripting, but you prefer a little more visual feedback, Zenity (for Gnome environments) ,and KDialog (for KDE) are a pair of tools you should know about. These handy helpers let you integrate graphic dialog boxes into your scripts.
Dialog boxes prompt users for input, display output, or just report progress on a process. Zenity and KDialog also output error messages and general status information in the form of visual feedback, and you’ll never need to type pathnames painstakingly; instead, you can use a graphical file browser.
Stop by Rikki's Open Source Exchange for dispatches from the world of women in open source.
Rikki Kite examines the experience of women across the spectrum of open source – the people, projects, organizations, events, articles, issues, and news.
Comments