Dialogs in Shell Scripts - zenity

From Nearline Storage
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>