! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
cut and paste on desktop
Status:
RESOLVED: FIXED
Severity:
enhancement
Product:
Xfdesktop
Component:
General

Comments

Description Hervé Va 2008-01-14 11:14:06 CET
i have noticed that it's no possible to paste a cutted file in a folder directly on desktop whithout use the file manager. it's obligatory to do this task by using the file manager and it's a loss of time.
Comment 1 rogue_ronin 2008-04-05 14:39:50 CEST
Further, if you right click on a desktop item and select 'cut' then launch a thunar window, 'paste' is greyed out and you must do it again.
Comment 2 Kevin Day 2009-03-06 17:06:28 CET
I can confirm this problem on xfce 4.6.0.
The menu does appear on right click and the paste option is visible but shaded out.

The cut from the desktop problem also exists.
The problem also exists with copy from the desktop

I can confirm that cutting and pasting through the file manage to the file manager works flawlessly.

Note: I do not have hal enabled nor installed.
Note: dbus does exists, is installed, and is running.
Comment 3 Brian J. Tarricone (not reading bugmail) 2009-03-06 20:41:07 CET
It's not a "problem," it's an unimplemented feature.
Comment 4 John Beaumont 2009-03-13 14:16:04 CET
I would dispute that it's an unimplemented feature since cutting from the desktop works fine if a thunar window is already open to paste into. The problem only occurs if you cut from the desktop and then open a thunar window.

Shame someone said this is still present in 4.6. Pretty annoying bug.
Comment 5 Brian J. Tarricone (not reading bugmail) 2009-04-01 02:41:46 CEST
*** Bug 5174 has been marked as a duplicate of this bug. ***
Comment 6 Brian J. Tarricone (not reading bugmail) 2009-05-04 19:27:10 CEST
*** Bug 5329 has been marked as a duplicate of this bug. ***
Comment 7 Denis Rutkov 2009-09-29 21:16:00 CEST
Well, still not fixed (XFCE 4.6.1).
Comment 8 Brian J. Tarricone (not reading bugmail) 2009-09-29 22:48:20 CEST
(In reply to comment #7)
> Well, still not fixed (XFCE 4.6.1).

No one said it was.  Please don't spam.
Comment 9 wathellama 2010-09-17 09:33:28 CEST
..two years later. How's it coming? >__>
For the time being, here's some custom actions as a bandaid:

Name: Send to Desktop
Command: mv %f "$HOME/Desktop"
Appearance Conditions: All

Name: Copy to Desktop
Command: cp %f "$HOME/Desktop"
Appearance Conditions: All except Directories

Name: Copy to Desktop
Command: cp -r %f "$HOME/Desktop"
Appearance Conditions: Directories
Comment 10 Eric Koegel editbugs 2011-12-03 18:26:19 CET
Created attachment 4000 
[PATCH] This patch adds the code required to perform a paste on the desktop. Fixes bug 3804.

Most of the real work was taken from Thunar (and credit is attributed in the code). After applying this patch you should be able to cut & copy to and from the desktop.
Comment 11 Eric Koegel editbugs 2011-12-17 08:40:28 CET
Created attachment 4028 
Adds the code required to perform a paste on the on the desktop.

This patch extends the previous one to add the ability to paste to the desktop via a key press. I missed that part and only noticed now.
Comment 12 Ivan Romanov 2011-12-18 18:37:34 CET
Cool! This patch works for me. I've tested it on Fedora 16 with Xfce 4.8.
Comment 13 Eric Koegel editbugs 2012-02-13 18:15:43 CET
*** Bug 8257 has been marked as a duplicate of this bug. ***

Bug #3804

Reported by:
Hervé Va
Reported on: 2008-01-14
Last modified on: 2012-02-13
Duplicates (3):
  • 5174 xfdesktop has problems with "cut" command
  • 5329 xfdesktop4 should be able to paste items that were copied/cut from the file manager
  • 8257 Can't paste files

People

Assignee:
Brian J. Tarricone (not reading bugmail)
CC List:
13 users

Version

Attachments

Additional information