20

Is there a way (maybe using some script in nautilus or something) so that you can drag files with the right mouse button and when you release, you're shown the context menu?

If it can even be achieved using some modifier key + left button, I'm ok with it. But Shift + left button (lb) forces a move, Ctrl + lb forces a copy, Alt + lb does a "move window", Super + lb does... well... nothing special, I believe.

pomsky
  • 70,557
Mussnoon
  • 5,236

2 Answers2

22

If you Middle-click drag and drop (or press Alt after you've started moving the icon so that it doesn't trigger the window move) and then let go of the file a context menu shows up giving you the choice of Copy, Move, link, etc.

Example dragging a file onto my desktop:

enter image description here

The cursor will have a little question mark by it, then when you let go this pops up:

enter image description here

Someone filed a bug report with Nautilus to support right click drag and drop but the developer deemed that unnecessary.

Isaiah
  • 60,750
Jorge Castro
  • 73,717
1

For me on Ubuntu 20.04, Gnome and Files (Nautilus) 3.36.3 the steps to move files like windows right click drag is the same as windows except you need to hold the alt key:

  1. If multiple items, select all the items first
  2. Press and hold alt key
  3. Left click drag files to destination
  4. When you let go of mouse, you will get menu with:
    • Move Here
    • Copy Here
    • Link Here
    • Cancel

After you get the menu, you can let go of alt key. Click the button for the action you want want.

If using KDE, you will need to suppress its default alt key window modifier by changing: System Settings -> Window Management -> Window Behavior -> Window Actions -> Modifier key: change to Meta

Note: The answers from 2011 did not work at all for me.