Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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" root@
    ssh root@ 'rm /var/mobile/Media/Music/"All Songs"/*'
    ssh root@ 'find /var/mobile/Media/Music/ -name "*.mp3" -exec ln -s {} /var/mobile/Media/Music/"All
share|improve this question

According to GNOME Documentation, it looks like --progress should get you what you're looking for.

share|improve this answer

I've used a simple zenity progress like this:

yes|zenity --progress --pulsate --text="Doing the job" --timeout 5

or perhaps with a kill $(pidof zenity) after completion

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.