Dialogs in Shell Scripts - zenity

From Nearline Storage
Revision as of 10:14, 11 January 2009 by Dlk (talk | contribs)
(diff) ←Older revision | view current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

zenity in Gnome, or kdialog in KDE, are the tools to use to display simple dialogs from shell scripts

zenity 2.24.0, in Fedora 10, does not give its dialogs focus, they appear underneath other windows on the desktop. This behaviour can be changed by editing /usr/share/zenity/zenity.glade and changing every instance of

 <property name="focus_on_map">False</property>

to

 <property name="focus_on_map">True</property>