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 01 Sep 2014, 17:16
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Filesystem
Copy Fast - Right click option
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 4 [51 Posts]   Goto page: 1, 2, 3, 4 Next
Author Message
don570


Joined: 10 Mar 2010
Posts: 3261
Location: Ontario

PostPosted: Mon 10 Jun 2013, 19:52    Post subject:  Copy Fast - Right click option  

I wanted a simple way to copy a file. Microsoft Windows has a right click
menu for copying a file to a USB stick.

So I made an equivalent right click for Puppy but put more features in it.

Locations can be easily added. Also right click on a folder and the
entire folder can be copied.

It has been gettext'd for foreign translators.

Note that in Puppy Linux, /mnt/home is where your frugal install is located.


Notes:
It works with Rox Filer or Thunar file manager.
Use a recent version of Gtkdialog
There is an incompatibility with pwidgets explained in next post.




___________________________________________________
copy-fast_NLS-2.2.pet
Description  Arab language for copy-fast
pet

 Download 
Filename  copy-fast_NLS-2.2.pet 
Filesize  2.81 KB 
Downloaded  423 Time(s) 
copy-fast-2.2.pet
Description  copy a file or folder to location
pet

 Download 
Filename  copy-fast-2.2.pet 
Filesize  7.99 KB 
Downloaded  647 Time(s) 
copy-fast.pot.gz
Description  remove fake .gz extension to obtain pot file
gz

 Download 
Filename  copy-fast.pot.gz 
Filesize  1.81 KB 
Downloaded  412 Time(s) 

Last edited by don570 on Wed 11 Jun 2014, 19:28; edited 13 times in total
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3261
Location: Ontario

PostPosted: Mon 10 Jun 2013, 20:01    Post subject:  

I believe that there is an incompatibility with Pwidgets

I use an invisible entry box to form the 'Add' button.
Here is the code. See 'visible='false''



When I tested on Precise NOP note that the invisible entry box
is visible . The app can still be used.

Back to top
View user's profile Send private message 
R-S-H

Joined: 18 Feb 2013
Posts: 490

PostPosted: Mon 10 Jun 2013, 20:22    Post subject:  

Quote:
It has been gettext'd for foreign translators

There is no .po or .pot file inside the .pet. How should one translate to different languages?

_________________
LazY Puppy Home
The new LazY Puppy Information Centre

Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 11032
Location: Arizona USA

PostPosted: Mon 10 Jun 2013, 21:32    Post subject:  

Don, will it copy in the order the files are numbered? When I copy mp3 files to my mp3 player, I have to use rsync -a because simply dragging and dropping or using cp from the command line results in the files being transferred (copied) in some semi-random order. That causes a problem because every mp3 player I've tried so far ignores the file names and instead plays the files in the order they were loaded into the mp3 player. Somehow rsync -a forces the files to be loaded in numerical order, which is the way I want them to play.
Back to top
View user's profile Send private message 
R-S-H

Joined: 18 Feb 2013
Posts: 490

PostPosted: Tue 11 Jun 2013, 00:05    Post subject:  

Hi.

The GUI appears after doing a right-click onto a file and choosing copy to.... If I'm clicking then the "add a folder to list" button and am closing the file selector gui by its top right close button, the copy process begins to start without any warning, when the file is not already available.

I did this accidentally after right clicking a directory (for testings) containing around 8 GB of files. Since the destination directory was /root/Downloads and the process could not be stopped I've had to watch the directory /root/Downloads and pressing ctrl-a from time to time to remove these files to avoid system crash while writing into empty RAM (have only 1.5 GB) - for some minutes!

Was not funny! Laughing

Also:
Code:
window-position="2"

would be useful instead of -c

RSH

_________________
LazY Puppy Home
The new LazY Puppy Information Centre

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


Joined: 10 Mar 2010
Posts: 3261
Location: Ontario

PostPosted: Tue 11 Jun 2013, 17:12    Post subject:  


Flash wrote:
Somehow rsync -a forces the files to be loaded
in numerical order, which is the way I want them to play.


Have you tried the -p option when using cp command.
If that doesn't work then I'll put a toggle switch to allow
rsync -a to be used instead of cp



Quote:
p (preserve) – the p flag preserves the following characteristics of
each source path in the corresponding target: The time of the last data
modification and the time of the last access, the ownership (only if it has
permissions to do this), and the file permission bits.
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3261
Location: Ontario

PostPosted: Tue 11 Jun 2013, 17:41    Post subject:  

RSH wrote:
How should one translate to different languages?


Instructions to translate....

Load devx file (with SFS on the fly)

Set your language

Launch Momanager and find the script (=copy-fast)
on list of untranslated scripts


A mo file is automatically created at end of process.

Poedit isn't needed unless you want fancier interface.

________________________________________
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3261
Location: Ontario

PostPosted: Tue 11 Jun 2013, 17:48    Post subject:  

Quote:
If I'm clicking then the "add a folder to list" button and am
closing the file selector gui by its top right close button,


Is this a problem with a too lively mouse??

Have you tried to deaden it with the mouse wizard??
_________________________________________
Back to top
View user's profile Send private message 
R-S-H

Joined: 18 Feb 2013
Posts: 490

PostPosted: Tue 11 Jun 2013, 17:49    Post subject:  

Ok, I see.

I would have to use my LazY Precise for this.

Thanks for the info.

RSH

_________________
LazY Puppy Home
The new LazY Puppy Information Centre

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


Joined: 10 Mar 2010
Posts: 3261
Location: Ontario

PostPosted: Tue 11 Jun 2013, 18:07    Post subject:  

Momanager doesn't have to be installed, but it's the easiest way
if it is.

I think poedit will do the translation if the xgettext is installed.

__________________________________________
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3261
Location: Ontario

PostPosted: Wed 12 Jun 2013, 19:42    Post subject:  

New version 1.6

improvements

1) I switched to 'rsync -a' to copy a folder

2) help button to give location of the list of copied files

3) A folder is updated with new files
when a folder with same name is in the destination location.

4) pot file available for translators. File in and send back.

___________________________________
Back to top
View user's profile Send private message 
scsijon

Joined: 23 May 2007
Posts: 1026
Location: the australian mallee

PostPosted: Thu 13 Jun 2013, 01:54    Post subject: 1.6< problem  

I am getting the problem on a wary 5392 (my default online satellite machine).

I shall test on the others later and update this, but this is what i was getting on all three.

I have attached a image with a fake .gz for your perusal.

regards
scsijon

UPDATED: Interesting, for my wary/racy pre 5.5 (5.4.90/3) and 5.5 without the service pack have problems, add the service pack, it's gone. I shall have to update my others as I do like your little package. Sorry for the trouble.
capture8157.png
 Description   
 Filesize   13.5 KB
 Viewed   930 Time(s)

capture8157.png

Back to top
View user's profile Send private message Visit poster's website 
don570


Joined: 10 Mar 2010
Posts: 3261
Location: Ontario

PostPosted: Thu 13 Jun 2013, 19:55    Post subject:  

To scsijon ....

If you could track down the source of the bug that would be useful.

I don't think the version of gtkdialog makes any difference.

Pwidgets does some monkeying around with the gtkdialog theme.
I suspect that.

What is the gtkdialog theme when the visibility bug occurs.

Does the upgrade change this theme??


____________________________________________________
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3261
Location: Ontario

PostPosted: Thu 13 Jun 2013, 20:01    Post subject:  

version 1.7

I worked on suggestions by RSH

1) Changed window placement to "2"

2) I looked into the problem with the close box
and I discovered that I didn't understand the importance
of the variable EXIT when relaunching program .
I think that this is now fixed in version 1.7.

Now unintended copying won't take place.

________________________________________
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3261
Location: Ontario

PostPosted: Sat 15 Jun 2013, 16:27    Post subject:  

version 1.8

Buttons are wider to accept foreign translations.

I tried an Arabic translation Laughing

Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 4 [51 Posts]   Goto page: 1, 2, 3, 4 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Filesystem
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.0814s ][ Queries: 13 (0.0046s) ][ GZIP on ]