Zenity is a utility used to add GUI forms to scripts and receive feedback from the user. It was designed for use with Linux and GNOME. It uses GTK+ and GLADE libraries. The official website for Zenity is: http://live.gnome.org/Zenity. I have ported the latest version (2.28.0) of this software to Windows (win32). It should work for both XP and Vista.
|
|
Win32 installer: | |
| Source code: | http://ftp.gnome.org/pub/gnome/sources/zenity/ |
1: Help files don't build.
2: When executing from a batch script, the annoying black window belonging to "cmd.exe" stays in the background all the time. I have a written a program, "bg_start", to take care of this http://www.placella.com/software/bg_start/.
3: Even though the "win32-3" version is built with support for LIBNOTIFY, this feature does not really work as it requires a "notification daemon", yet I'm not able to find one that works in windows.
4: The program refuses to install on 64-bit systems. To overcome this, you can right-click on the installer, select properties, then tick the box near "Run this program in compatibility mode". It will work just fine then.
$ gcc foo.c -o /bin/scrollkeeper-config
$ rm foo.c
After the configure script was happy that all the dependencies were satisfied, Zenity still didn't build and "GCC" was complaining about not being able to find "langinfo.h". Eventually I found it in the form of the "libgw32c" library from http://gnuwin32.sourceforge.net/packages.html. I extracted the archive in "/mingw". To make the system aware of this library and resolve a conflict, the following commands need to be issued in MSYS (modify the path to libgw32c to match it's location on your PC):
$ export LIBS="-lgw32c"
$ mv /mingw/include/glibc/stdlib.h /mingw/include/glibc/stdlib.h.bak
I'm not going to explain how the program should be packaged for it to work correctly, if you need to know this I suggest you download the installer and have a look around. Also, you can look at my NSIS script here: zenity-2.28.0_win32-3.nsi
Comments to date: 14. Page 1 of 1. Average Rating: 
Joel Tijuana, México | 12:31am on Wednesday, September 14th, 2011 |
Good, how about a lite version for those who already have gtk2 installed :)? | |
iGore Ger | 9:41am on Monday, July 18th, 2011 |
Hi. I'm trying to write a simple php script, that i run in the cmd of Windows 7(64). My problem is that i dont get back the return value of the pushed button, only the return value of the entry. | |
Sundi US | 7:48pm on Sunday, May 15th, 2011 |
Does anyone know if I can use the "--no-cancel" command with this version of Zenity to hide the cancel button with the progress bar | |
Benjamin California | 12:27am on Saturday, April 30th, 2011 |
Thank you so much for porting Zenity to Windows! This made it really easy to get my bash scripts to work in both Linux and Windows! This really helped a lot. | |
Luciano Seibel Brazil, Sapiranga | 8:36am on Friday, March 11th, 2011 |
Great!!! For win32 but on my WIN7 64 bits doesnt install ... | |
Shantanu Kumar Bangalore, India | 1:37am on Tuesday, March 1st, 2011 |
Zenity for Windows is an excellent tool, but it wiped out my PATH variable on 32-bit Windows 7 and replaced it with its own when I installed it. Hence rating it as dreadful. :-( | |
KIAaze Location unknown | 1:05pm on Wednesday, February 23rd, 2011 |
The environment variable ZENITY_DATADIR is incorrectly defined by the installer. | |
Dony Brazil | 4:35pm on Monday, January 10th, 2011 |
Excelent job man! | |
TheCric France | 11:30am on Saturday, November 13th, 2010 |
Very useful on Windows - Great job - Thanks a lot | |
Agnus Brazil | 2:19pm on Wednesday, July 21st, 2010 |
Thanks a lot! | |
Hans Austria | 1:38am on Monday, April 19th, 2010 |
Fine tool, this makes life for scripters much easier. | |
Jack France | 5:07pm on Friday, January 29th, 2010 |
I am trying to run it with a portable version of Octave. How to make zenity on win portable. | |
Eric HAMON Gretz, FRANCE | 3:38am on Tuesday, December 29th, 2009 |
Excellent. It's very easy to make it portable too. | |
steve Hungary | 4:44am on Monday, November 30th, 2009 |
Thanks a lot! :) | |