Ask Your Question

Help to create bash script-based gui

asked 2012-09-16 16:08:24 -0600

Cielo gravatar image

updated 2014-09-28 10:40:50 -0600

mether gravatar image

Hello everybody!

I am a newie at bash scripts, and I would like to know how to create a panel-based script to create executable files with wget, to mass-download lists of files.

So far, all I have been able to create is this:


cd ~/ mkdir ~/Downloads/ cd ~/Downloads/ wget -options exit

I'd like to create something similar to this, but with a graphic enviroment and with a progress bar that is not the tipical [===> ] progress bar.


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-09-16 18:30:39 -0600

davidva gravatar image

I recommend to use zenity or yad

image description

Yad (yet another dialog) is a fork of Zenity with many improvements, such as custom buttons, additional dialogs, pop-up menu in notification icon and more.

How to install yad?

su -c 'yum -y install yad'

Some examples with zenity (you can replace zenity for yad, and work)

Dowload bar


wget -c 2>&1 | sed -u 's/.*\ \([0-9]\+%\)\ \+\([0-9.]\+\ [KMB\/s]\+\)$/\1\n# Downloading \2/' | zenity --progress --title="Descargando archivo..."


wget -c 2>&1 | sed -u 's/.*\ \([0-9]\+%\)\ \+\([0-9.]\+\ [KMB\/s]\+\)$/\1\n# Downloading \2/' | yad --progress --title="Descargando archivo..."
edit flag offensive delete link more

Question Tools


Asked: 2012-09-16 16:08:24 -0600

Seen: 2,487 times

Last updated: Sep 16 '12