Zenity is a program often used in scripts to display graphical boxes that very often prompt for user input. It is a rewrite of the old, but still used gdialog program, and has a 'gdialog wrapper script' so that it can be used in older scripts.

learn more… | top users | synonyms

5
votes
2answers
977 views

Add unity quicklist launcher with a zenity command

I try to add a quicklist launcher for gedit that allowed me to open a new doc in gedit directly from unity dash so I tried to add this command to my OpenDoc Shortcut Group [OpenDoc Shortcut Group] ...
0
votes
2answers
306 views

What's wrong with this Zenity code?

What’s wrong with this code? #!/bin/bash ARCH=$(uname -m) if ["$ARCH" = "i686"]; then zenity --info --title="Architechture Checker" --text="Your Architechture is 32-Bit" if ["$ARCH" = "x86_64"];then ...
1
vote
2answers
651 views

Add Progress Bar

I would like to include a zenity progress bar for this part of my script: zenity --question --title "GUI" --text "Sync Music to iPad?" if [[ $? == 0 ]] ; then scp -r "$FOLDER" ...
5
votes
1answer
752 views

Reliable alert dialogs from the shell

I'd like to have a message pop up in response to various system events, mostly in order to be able to set reminders for myself from a shell session. There are a few ways to do this; zenity seems to ...
2
votes
1answer
486 views

zenity script for zsync

Can someone make a simple zenity script for zsync which just takes the location of the file to be synced and the zsync file and show progress ?
5
votes
2answers
4k views

How to load a `zenity` List Dialog with space-embedded data from `ls`?

I'm having problems loading a zenity List Dialog when the data contains spaces. It is straight-forward when there are no spaces in the listed data, but I don't know of a simple/standard method for ...