Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Need help with zenity and axel
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Need help with zenity and axel

netomxnetomx Moderator, Veteran

I am trying to make a GUI for axel, but the percentage bar is not working

Code:

cat axel.sh 
#!/bin/bash

url=$(zenity --entry --text "Enter URL")

if [ "$url" == "" ]
then
 #zenity --info --title="Axel GUI" --text="User cancelled."
 exit 1
fi

#cd ~/Descargas

axel "$url" | sed 's/[^0-9.]*\([0-9.]*\).*/\1/' | zenity --progress --auto-close percentage=0

Any help is appreciated

Comments

  • use Ncurses!

  • si we, no seas naco, usa Ncurses

    XD jajaja ni idea que hablan

  • netomxnetomx Moderator, Veteran

    @BuyCPanel_Kevin said:
    use Ncurses!

    any example?

    @dedicados said:
    si we, no seas naco, usa Ncurses

    XD jajaja ni idea que hablan

    ni yo :( jajaja

    pues un gui para axel, has usado axel?

  • eh usado excel, te sirve? o axtel, o conozco un compa que se llama axel, jajaja

  • netomxnetomx Moderator, Veteran

    @dedicados said:
    eh usado excel, te sirve? o axtel, o conozco un compa que se llama axel, jajaja

    jajaja facepalm

  • c0yc0y Member

    @BuyCPanel_Kevin said:
    use Ncurses!

    Are you like a newbie user hat learnt about ncurses yesterday and still thinks its appropriate in 2014..?

    Or do you just get 0 of what he's trying to do and only recognize a GUI in one way or another and mention the only Linux term related to GUIs you know?

Sign In or Register to comment.