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

0
votes
1answer
4k views

output terminal redirect to zenity

Let's explain you my doubt. We all know that >& is shell syntax for "fold a file descriptor into another". So 2>&1 means that i want to redirect stderr to the stdin, this is simple and ...
0
votes
1answer
1k views

bash script and zenity progress

I have this cmds: (youtube-dl http://www.youtube.com/watch?v=HhoewflkQu0) | zenity --progress --width=400 --height=100 --title="Scaricamento" --text "Scaricamento in corso..." --auto-close --pulsate ...
6
votes
2answers
3k views

Where's documented combo box usage with zenity?

I found by chance it was possible to display a combo box with zenity (version tested: 2.32.1). See the following code: #!/bin/bash array=(a b c d e) value=$(zenity --entry --title "Window title" ...
4
votes
1answer
3k views

How to use a zenity progress bar with cclive

I tried to use a zenity progress bar with cclive. I'm writting a script to download web videos files and I wanna see the progression of the download. But when I try something like $cclive ...
1
vote
1answer
1k views

How to open a file in gedit with zenity --file-selection as root

I try to open a file in gedit with the file-selection option of zenity. It's very easy to do it for file that i can access in normal mode, but I wanna open too some configuration files (as for exemple ...
5
votes
2answers
1k 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
323 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
675 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
828 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
487 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
5k 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 ...