hack MyDSL GUI to show download progressForum: myDSL Extensions (deprecated) Topic: hack MyDSL GUI to show download progress started by: petergunn Posted by petergunn on Nov. 19 2004,19:47
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. Posted by ico2 on Nov. 20 2004,23:11
mmmmmmmmm, maybe it should be included in the cd
|