Ask Your Question

Revision history [back]

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.

http://code.google.com/p/yad/

How to install yad?

su -c 'yum -y install yad'

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

http://linuxlibrary.org/zenity-simple-gui-creation-tool/

http://linux.byexamples.com/archives/265/a-complete-zenity-dialog-examples-2/

http://www.linuxjournal.com/content/make-your-scripts-user-friendly-zenity

Dowload bar

example

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

or

wget -c http://www.someweb.com/some-directory/miarchive.bin 2>&1 | sed -u 's/.*\ \([0-9]\+%\)\ \+\([0-9.]\+\ [KMB\/s]\+\)$/\1\n# Downloading \2/' | yad --progress --title="Descargando archivo..."