Author |
Message |
don570

Joined: 10 Mar 2010 Posts: 5390 Location: Ontario
|
Posted: 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.
___________________________________________________
debian version is available here
Size 10k
copy-fast_2.7_all.deb
https://drive.google.com/open?id=1g6s9hOfZAlV8QdfH0sGMFBIpuCbUmwmD
___________________________________________
Note that a few distros (tazpup) like to add partitions to /media folder
rather than /mnt
I never bothered to implement this.
_____________
 |
Description |
Spanish French German Dutch Arabic locales included inside
|

Download |
Filename |
copy-fast-2.7.pet |
Filesize |
12.6 KB |
Downloaded |
944 Time(s) |
Last edited by don570 on Tue 11 Sep 2018, 19:31; edited 20 times in total
|
Back to top
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 5390 Location: Ontario
|
Posted: 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
|
|
 |
R-S-H
Joined: 18 Feb 2013 Posts: 490
|
Posted: 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
|
|
 |
Flash
Official Dog Handler

Joined: 04 May 2005 Posts: 13389 Location: Arizona USA
|
Posted: 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
|
|
 |
R-S-H
Joined: 18 Feb 2013 Posts: 490
|
Posted: 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!
Also:
Code: | window-position="2" |
would be useful instead of -c
RSH
_________________ LazY Puppy Home
The new LazY Puppy Information Centre
|
Back to top
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 5390 Location: Ontario
|
Posted: 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
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 5390 Location: Ontario
|
Posted: 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
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 5390 Location: Ontario
|
Posted: 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
|
|
 |
R-S-H
Joined: 18 Feb 2013 Posts: 490
|
Posted: 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
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 5390 Location: Ontario
|
Posted: 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
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 5390 Location: Ontario
|
Posted: 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
|
|
 |
scsijon
Joined: 23 May 2007 Posts: 1535 Location: the australian mallee
|
Posted: 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.
Description |
|
Filesize |
13.5 KB |
Viewed |
3182 Time(s) |

|
|
Back to top
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 5390 Location: Ontario
|
Posted: 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
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 5390 Location: Ontario
|
Posted: 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
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 5390 Location: Ontario
|
Posted: Sat 15 Jun 2013, 16:27 Post subject:
|
|
version 1.8
Buttons are wider to accept foreign translations.
I tried an Arabic translation
|
Back to top
|
|
 |
|