Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: hack MyDSL GUI to show download progress< Next Oldest | Next Newest >
petergunn Offline





Group: Members
Posts: 40
Joined: Nov. 2004
Posted: Nov. 19 2004,19:47 QUOTE

After getting increasingly frustrated with stalled downloads from ibilio I hacked /usr/bin/mydslgui.pl so that it would show the download progress.

I replaced the grab subroutine with the following...

sub grab {
`cd $to_store; sudo xterm -e sudo wget --timeout=3 http://www.ibiblio.org/pub...._this`;
   `mydsl-load $to_store$grab_this`;
}

Works great. It uses http rather than ftp and retries after 3secs if it stalls, and it shows the progress in an xterm.

Just thought I'd share :-)

BTW love DSL. My friend gave me an old lappy that was 'unuseable'. Im not showing him it running DSL or he'll want it back! :)

ttfn

PG.
Back to top
Profile PM 
ico2 Offline





Group: Members
Posts: 802
Joined: July 2004
Posted: Nov. 20 2004,23:11 QUOTE

mmmmmmmmm, maybe it should be included in the cd :)

--------------
ico2
Back to top
Profile PM MSN 
1 replies since Nov. 19 2004,19:47 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: hack MyDSL GUI to show download progress

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code