How to Drag and Drop files to open application?
Encouraging update (Nov 2020) after waiting since 2012 (!), see also github-comment from 2015:
vadikom presented an approach to get it working with the GNOME extension Dash-to-Dock (tested on Ubuntu 20.04 and Pop!_OS). Please test it and comment!
If you would like to test it:
- Find and backup the following file:
~/.local/share/gnome-shell/extensions/[email protected]/dash.js
- Make a copy of the file
dash.js
- Open the file
dash.js
with a text editor and replace the content with the text from the Github User Content. - Hit alt + F2, type r and hit Enter to reload GNOME shell.
For some known issues and thoughts see vadikom's post.
Source code on the fork of Dash-to-Dock.
A short video about how it looks like.
Apart from that there are two ways of one inconvenient possibility (see comment below):
- Left-click on the file, hold it, press the keys alt and press as many times the key tab to navigate to the window you want to drag the file to (while still holding the left-click), release alt when the right application window is chosen and drag the file to the desired place to drop. (This is difficult on a laptop while using the touch pad, though, easier with a mouse.)
- If you click on alt & tab and hold alt (as well as the left-click on the file, the overview of all opened windows/apps will open and you can move the cursor over the appropriate window and finally release the file there when the windows is opened (Thanks fcole90).
With Nautilus, it looks like this only works if the files are in list view not icon view!
For some it works without the keyboard, but just the mouse or touchpad or whatever you use to move your cursor. You drag the element to the bar, this triggers the overview window, you then drag the item to the window you want, then the window get focus, finally release your item.
Kyriakos Loizou suggests the same behaviour but with left-click on the file [I have to drag the file to the Dash to Dock] and then click & hold the super (while still holding the left-click). This triggers the overview window, you then drag the item to the window you want, then the window get focus, finally release your item.
There is also a bugzilla-report. Maybe we can all subscribe to this bugzilla-thread and the github-thread to show the support for it and please contribute or comment** with your reaction (smiley, thumb up, ...). I think this feature is crucial for Ubuntu and without it a real pain.
You can try the following command in your terminal. It worked for me on ubuntu 18.04.
gsettings set org.gnome.nautilus.preferences use-experimental-views false