Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 22 Sep 2014, 18:18
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Browsers and Internet
Pwget-0.8.2
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [17 Posts]   Goto page: 1, 2 Next
Author Message
Bert


Joined: 30 Jun 2006
Posts: 928

PostPosted: Sat 30 Nov 2013, 10:27    Post subject:  Pwget-0.8.2
Subject description: A new pw(s)get - download manager
 

2014-01-09: update: version 0.8.2

Hi all,

Just a small bug-fix upgrade.
I added a missing icon and added the text-domain to Preferences (yes, managed to forget that Wink )

I'll also post the Dutch translation file here, as a pet.

Happy downloading Smile

---------------------------------------------------------------------------------

2013-12-06 update: new version: 0.8

Hi all,

Pwget 0.8 : improvements:
    Preferences are now set from within Pwget. No longer using the text editor.
    Windows resizable.
    Clear-button for URL-entry field.


When the Preferences-button is clicked, this window appears:


which is much more user friendly than my former solution.
The changes you make are immediately available in the open pwget main window, no need to refresh or restart.

Resizable windows: Sometimes there's a need to see the whole URL at a glance, especially with long or cryptic URLs. Instead of the slow and boring scrolling in the entry field, just grab the right or left border and pull the window width out. Like this:



And finally, the URL entry field deserved its own 'Clear'-button Wink

Hope you like the changes!
Bert

-----------------------------------------------------------------------------------------------


2013-12-01: New version: 0.7
Some small internal changes, but the main change is L18L's contribution: now the terminal remains open when the download is finished, enabling to see what wget has done and to check for eventual error messages.
---------------------------------------------------------------------------------

Hi all,

Here's my attempt at making pwsget a better and nicer utility.
After happily using pwsget for several years now, I knew exactly what I wanted to change Wink

This is what I did:

    New layout, more intuitive, more inviting
    Wider entry fields
    Download-button instead of OK-button
    Tooltips for entry-fields and buttons
    Enable the ENTER key as alternative to clicking the Download button
    'Login' and 'Password' removed (didn't work + no need + caused bug (2 rox windows))
    Added a Preferences button, thus enabling:

1 preset the download location (dir/folder)
2 choose your preferred terminal
3 choose your preferred file manager
4 change the wget-arguments the way you want

It looks like this:



(I forgot to change the locale for the screenshot...that button "Annuleren" is Dutch and will of course be "Cancel" with an English locale.)

This Pwget, with a destination pre-set, is now a very fast way to download: just paste the URL and hit Enter! Faster than wget in terminal Cool

The freedom to choose another terminal than rxvt and another filemanager than rox, also means pwget will be usable in Puppy's that do not have rox or rxvt.

Bye.
MoManager-de-pwget-0.6.tar.gz
Description  German translation file for pwget 0.6 by L18L
gz

 Download 
Filename  MoManager-de-pwget-0.6.tar.gz 
Filesize  1.83 KB 
Downloaded  20 Time(s) 
pwget-spanish.tar.gz
Description  Spanish translation for Pwget 0.8.2 by nilsonmorales
gz

 Download 
Filename  pwget-spanish.tar.gz 
Filesize  2.59 KB 
Downloaded  22 Time(s) 
pwget-Dutch_lang_file.pet
Description  voor pwget 0.8.2, gewoon downloaden, klikken, klaar ;)
pet

 Download 
Filename  pwget-Dutch_lang_file.pet 
Filesize  2.79 KB 
Downloaded  153 Time(s) 
pwget-0.8.2.pet
Description 
pet

 Download 
Filename  pwget-0.8.2.pet 
Filesize  19.83 KB 
Downloaded  220 Time(s) 
pwget-0.8.pet
Description 
pet

 Download 
Filename  pwget-0.8.pet 
Filesize  18.22 KB 
Downloaded  213 Time(s) 
pwget-0.7.pet
Description 
pet

 Download 
Filename  pwget-0.7.pet 
Filesize  16.02 KB 
Downloaded  206 Time(s) 
pwget-0.6.pet
Description 
pet

 Download 
Filename  pwget-0.6.pet 
Filesize  15.95 KB 
Downloaded  208 Time(s) 

_________________



Last edited by Bert on Wed 13 Aug 2014, 07:47; edited 9 times in total
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 2505
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Sun 01 Dec 2013, 08:06    Post subject: Pwget-0.6  

Hi Bert,

I have always directly used wget because it not display any errors and thus not translated original pwget.
But here is my contribution to your version:
Code:
IFS=$I
#if [ $EXIT = Download ]
if [ $EXIT = "$(gettext 'Download')" ]
 then
  #`cat /usr/local/pwget/PREF/terminal` -e `cat /usr/local/pwget/PREF/wget-arguments` "$DEST" $SOURCE
  `cat /usr/local/pwget/PREF/terminal` --hold -e `cat /usr/local/pwget/PREF/wget-arguments` "$DEST" $SOURCE
  `cat /usr/local/pwget/PREF/file-manager` "$DEST"
fi
The --hold will will let the xterm opened so you can see what wget is doing.
MoManager-de-pwget-0.6.tar.gz
Description 
gz

 Download 
Filename  MoManager-de-pwget-0.6.tar.gz 
Filesize  1.83 KB 
Downloaded  199 Time(s) 
Back to top
View user's profile Send private message 
Bert


Joined: 30 Jun 2006
Posts: 928

PostPosted: Sun 01 Dec 2013, 17:39    Post subject:  

Hi L18L,

That's a great contribution! Thank you very much.
Added to Pwget 0.7 Smile

Also thanks for the german translation. You're a turbo translator!
Sieht gut aus:



I had to make a small change in my gettext for the info-button-tooltip: now only the word 'info' is gettexted, instead of the whole tooltip. I corrected your translation file for this, attached here. (btw and off-topic, is the 'language' setting in the header of your translation a little insiders' joke, or an error?)

Speaking about languages: https://www.youtube.com/watch?v=BUeTn8FbupE Laughing

I'm going to upload the new version now.
Thanks again!

(edited because the link to youtube was broken Wink )
pwget.mo.gz
Description  the .gz is fake
gz

 Download 
Filename  pwget.mo.gz 
Filesize  2.7 KB 
Downloaded  202 Time(s) 

_________________



Last edited by Bert on Sat 23 Aug 2014, 16:11; edited 2 times in total
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 2505
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Mon 02 Dec 2013, 11:25    Post subject:  

Bert wrote:
(btw and off-topic, is the 'language' setting in the header of your translation a little insiders' joke, or an error?)

Speaking about languages: https://www.youtube.com/watch?v=dtP7q1Jbz9Y Laughing

Sorry for mylate reply: It is late because I was in Fatdog and there Bon Appétit did not play (now in precice: Laughing Laughing Laughing )

which language setting is so funny
language team=none Laughing
or
language=de_BE Question
both have been set by the system if I recall correctly
Back to top
View user's profile Send private message 
Bert


Joined: 30 Jun 2006
Posts: 928

PostPosted: Mon 02 Dec 2013, 11:48    Post subject:  

I was wondering where the de_BE came from Question

If I understand this correctly, only about 70.000 people will be able to enjoy your German translation, all of them Belgian Laughing

Or did you set transLANG=de_BE?

_________________


Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 2505
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Mon 02 Dec 2013, 12:11    Post subject:  

I did the translation in Fatdog.
There I did forget to edit preferences.
Thus transLANG stayed in default de_BE (one of my locales is de_BE.UTF8)

Why de_BE?
Why not? Maybe as test for the 70000 Cool
I heared your new king also speaking German this year....

language=de_BE is just a comment.
What counts is: in which langpack this file will be:
It will be in langpack_de and not in (maybe never existing) langpack_de_BE

Thanks for asking
I will have to check my Fatdog work......
Back to top
View user's profile Send private message 
Bert


Joined: 30 Jun 2006
Posts: 928

PostPosted: Mon 02 Dec 2013, 12:22    Post subject:  

Ah, that clears up my misunderstanding.

I always thought a "de_BE" translation would not be readable in a "de" or "de_DE" or "de_AU" langpack.

Thanks for explaining. I no longer have to worry about "nl_BE" files getting into my "nl" langpack ! (something Momanager does)

Have a nice evening!

_________________


Back to top
View user's profile Send private message 
Bert


Joined: 30 Jun 2006
Posts: 928

PostPosted: Fri 06 Dec 2013, 13:40    Post subject:  

Pwget 0.8 uploaded.
See first post...

_________________


Back to top
View user's profile Send private message 
Bert


Joined: 30 Jun 2006
Posts: 928

PostPosted: Sun 08 Dec 2013, 07:10    Post subject:  

Just a quick note for Lx fans:

LxTerminal is the only terminal that refuses to run with the new "-hold" parameter (that keeps the terminal open after a download)

This is easily solved by entering "lxterminal -t " in preferences>terminal.

Unfortunately it then just ignores the "-hold" and closes as soon as the download is finished.
The "-t" solution is also mentioned in Pwget's terminal-help-window.

Any LXDE guru out there able to point me to docs or manpages? It's amazing how little there is to be found with a search engine.

_________________


Back to top
View user's profile Send private message 
sunburnt


Joined: 08 Jun 2005
Posts: 5031
Location: Arizona, U.S.A.

PostPosted: Sun 08 Dec 2013, 14:45    Post subject:  

What... No progress bar.? Laughing

Most web stuff has them, but it`s not terribly important I`ll agree.
Back to top
View user's profile Send private message 
Bert


Joined: 30 Jun 2006
Posts: 928

PostPosted: Sun 08 Dec 2013, 16:53    Post subject:  

sunburnt wrote:
What... No progress bar.? Laughing

Most web stuff has them, but it`s not terribly important I`ll agree.


Hi sunburnt,

I've been following your progress bar thread with much interest!

I did not participate (lucky you Wink ), mainly because that discussion so far has been between experienced coders/developers. I'm just an amateur, eager to learn something new...

I looked at the progress bar examples and even considered to include the yad example by sfs, but it suddenly dawned on me that would be regress rather than progress Laughing :

The "old" pwsget always had a ' progress bar', while wget is running in the terminal. Any alternative seems like a regression to me. I don't think the user would be helped by a progress bar that merely acts like a splash screen, hiding all other useful information.

That's why I've always liked Pwsget, despite of it being far from perfect, it is a very simple but honest tool , doing the job and showing what's happening. ( I presume that's also why Barry included it in many generations of Puppy.)

So, Pwget has a (I agree, not very sexy) progress bar, but it's accurate and doesn't hide what else is going on.

Xdialog has been a real struggle for me! It feels like a medieval system, or even worse: something from the 1980's Wink I can see the potential: creating really light-weight and fast interfaces, but its behaviour is abysmal! It also feels like a long abandoned project, but I could be wrong...

Thanks for taking the time to post here! I'll keep following your fascinating progress bar/xdialog thread!

_________________


Back to top
View user's profile Send private message 
sunburnt


Joined: 08 Jun 2005
Posts: 5031
Location: Arizona, U.S.A.

PostPosted: Sun 08 Dec 2013, 17:25    Post subject:  

I`ve gotten fairly use to Xdialog, but it`s so damn ugly.! And Yad just gives me fits... Mad

Yes, I agree if you`re running wget in a VT, then it already has a progress bar being shown.
Back to top
View user's profile Send private message 
Bert


Joined: 30 Jun 2006
Posts: 928

PostPosted: Thu 09 Jan 2014, 10:44    Post subject:  

New version 0.8.2 and Dutch translation file.

See first post

_________________


Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 2505
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Fri 10 Jan 2014, 07:47    Post subject: Pwget-0.8.2
Subject description: quotes for asterixes
 

if you want you display the quotes as quotes you could use backticks:
Code:
      <button><input file>/usr/local/pwget/icons/help-browser24.png</input>
         <action>`Xdialog --wrap --screencenter --left --title "'$(gettext 'Pwget - wget-arguments  - Help')'" --msgbox "'`gettext 'This allows fine-tuning wget. \n\nFor most downloading tasks the default (wget -c -P ) is usually adequate.\n\nFor more info type \"wget -h\" in a terminal (without the quotes).'`'" 470x0`</action>
      </button>

But Help is very nice. Very Happy
Pwget-Help.png
 Description   
 Filesize   5.67 KB
 Viewed   575 Time(s)

Pwget-Help.png

Back to top
View user's profile Send private message 
Bert


Joined: 30 Jun 2006
Posts: 928

PostPosted: Fri 10 Jan 2014, 08:15    Post subject:  

Ah, I knew there had to be a way to display quotes in Xdialog...but could not find it!

Thanks L18L, will be corrected in next version Wink

_________________


Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [17 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Browsers and Internet
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0975s ][ Queries: 13 (0.0115s) ][ GZIP on ]