The other day, while working with some shell scripts I thought I could add some better usability into the mix – and hence whip up some dialogs using
I needed to figure out how to use zenity, the man pages didn’t tell much. So I went on a hunt for other scripts in the system that might use zenity; I was on Debian Etch system running the usual Gnome Desktop and quite a few applications from the Gnome bunch.
shashi@anacoluthon:~$ for p in `echo $PATH|sed 's/:/ /g'`; do find $p -type f|xargs grep -il zenity; done
Eh! Only two programs and that too zenity itself and a wrapper over zenity for backward compliance. It’s not much popular is it ? If it isn’t why don’t I remove it from my system ?
$ su -c 'apt-get remove zenity'
Reading package lists... Done
Building dependency tree... Done
The following packages will be REMOVED:
uh! oh!! gnome-desktop-environment!!!??? WTF ? So, what dependencies does this package have ?
shashi@anacoluthon:~$ apt-cache rdepends zenity
heh! heh!! So much for a core dependency. Should it be such a core dependency in the first place ?? Anyway it has it’s own place in the software trove.
An interesting tidbit about zenity. This was the first program I translated to Kannada way back in 2002-2003. But it never made it to the repository.
BTW, another interesting program: