Author Topic: (partially solved) Copy to/Move to in context menu  (Read 1159 times)

Offline charsan2

  • Full Member
  • ***
  • Posts: 142
(partially solved) Copy to/Move to in context menu
« on: August 16, 2010, 03:40:43 PM »
Is there a way to add copy to/move to in the XFCE context menu?
« Last Edit: August 20, 2010, 01:13:36 AM by charsan2 »

Offline Joble

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6804
  • USA - Mountain Time
Re: Copy to/Move to in context menu
« Reply #1 on: August 18, 2010, 02:56:12 PM »
In thunar?  Or where exactly?
Search First.
Forum Rules
Hero means I talk a lot, nothing more, nothing less!
Have an Awesome Day!
Healthy System

Offline charsan2

  • Full Member
  • ***
  • Posts: 142
Re: Copy to/Move to in context menu
« Reply #2 on: August 18, 2010, 07:19:25 PM »
Yes in thuner, I just don't know how to write the command :)

Offline longtom

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3339
  • Satellite Station Africa
Re: Copy to/Move to in context menu
« Reply #3 on: August 19, 2010, 12:59:05 PM »
Also I don't use those commands I certainly would also like to know how to do it.

I had the privilege to meet one of the XFCE gurus, Sproggy, in the IRC channels and asked.  Here is what he came up with:

Quote
mv %F $(zenity --file-selection --directory) <~~~ move file/directory
cp %F $(zenity --file-selection --directory) <~~~ copy file/directory

move/copy file appearance conditions tab put a tick in all


quite nifty.  Hope this helps.
« Last Edit: August 19, 2010, 01:02:37 PM by longtom »
Regards longtom

PCLinuxOS KDE 32bit
Intel Core 2 Duo E2200 / 2.2 GHz
2GB Ram
Nvidia GT610

Offline charsan2

  • Full Member
  • ***
  • Posts: 142
Re: Copy to/Move to in context menu
« Reply #4 on: August 19, 2010, 02:03:40 PM »
Thank you, it helps alot. My question was about the percent F and if I could use it with cp and mv and I got it answered :)

Offline charsan2

  • Full Member
  • ***
  • Posts: 142
Re: (solved) Copy to/Move to in context menu
« Reply #5 on: August 19, 2010, 03:19:55 PM »
Hmm, I notice it doesn't work all the time.

Offline longtom

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3339
  • Satellite Station Africa
Re: (solved) Copy to/Move to in context menu
« Reply #6 on: August 20, 2010, 12:21:55 AM »
Hmm, I notice it doesn't work all the time.

any pattern when it does work and when it doesn't?
Regards longtom

PCLinuxOS KDE 32bit
Intel Core 2 Duo E2200 / 2.2 GHz
2GB Ram
Nvidia GT610

Offline charsan2

  • Full Member
  • ***
  • Posts: 142
Re: (solved) Copy to/Move to in context menu
« Reply #7 on: August 20, 2010, 01:08:07 AM »
No not really. I did do it with the LiveCD first but installed it looks to be working. I notice the commands need to look like this:
Code: [Select]
cp -r %F $(zenity --file-selection --directory)

to copy folders too.

On Edit I tried the move command but on folders it is not working.

Code: [Select]
mv -r %F $(zenity --file-selection --directory)
« Last Edit: August 20, 2010, 01:12:56 AM by charsan2 »

Offline longtom

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3339
  • Satellite Station Africa
Re: (partially solved) Copy to/Move to in context menu
« Reply #8 on: August 20, 2010, 01:17:28 AM »
I don't have Thunar on this machine, but once I get to the Phoenix box I'll check it out to reproduce the error. 

With a bit of luck I get hold of Sproggy again and he can help me to fix this.
Regards longtom

PCLinuxOS KDE 32bit
Intel Core 2 Duo E2200 / 2.2 GHz
2GB Ram
Nvidia GT610