Tag Info

Hot answers tagged

21

Thanks to @derobert for recommending the Dragbox application to me. Dragbox does exactly what I need. For example, I have a folder with a number of .png files that I would like to be able to drag into Chromium. Inside that folder, executing dragbox *.png creates this window: I can use my mouse to drag files from there into Chromium, and it works ...


4

I had exactly the same problem a few months back and ultimately just wrote a tool to do it for me. When I saw this and found someone else had the same itch I cleaned it up so that someone other than me could actually get it running, and finished off my to-do list. The code is up now: https://github.com/mwh/dragon To get it, run git clone ...


4

If you've just downloaded the user script and its name is appearing in the bottom bar, open the Extensions page (Menu > Tools > Extensions, chrome://chrome/extensions/), then drag-and-drop from the download bar to the middle of the Extensions page. (Thanks to balpha for this method.) If you've got the script on your system somewhere, you can use ...


4

For some reason, the drag-and-drop mechanisms in both Nautilus and Konqueror do not work properly with the extension manager in Google Chrome / Chromium. I've found two solutions: To force the issue, you can use an alternative file manager. I found that the one from the XFCE project called thunar works for me and can be run inside of either Gnome, KDE or ...


4

In X11, drag and drop is something that the application must support, it has nothing to do with the window manager. For example: you cannot drag'n'drop anything in a xcalc window, even with the Compiz window manager. The X11 drag and drop protocol is called XDND: see http://www.newplanetsoftware.com/xdnd/ for more information.


4

You can easily navigate the filesystem within your browser, using the syntax: file:///home/username/blah/blah Open the path in an empty tab and from there you can drag and drop your file. At least with chrome/chromium, don't have other browsers here to try.


2

You might want to take a look at this tutorial titled: Scripting the Linux desktop, Part 2: Scripting Nautilus, which discusses how to add your own items to Nautilus' right click context menu as well as which variables Nautilus provides you when manipulating/dragging objects around inside of it. example Variables presented in Nautilus. Environment ...


2

Awesome supports drag and drop between windows. There is a catch: you can't change tags┬╣ while dragging, but you can show two tags at the same time (with all their windows) and then drag and drop. ┬╣something similar to a workspace, but more flexible


2

From this answer at askubuntu.com which refers to some freedesktop.org spec, I gather what you're looking for is possible by creating a .desktop file with an EXEC= entry. I suppose the recognized field codes (e.g. %u) get replaced with the dropped file's URI/path: %f A single file name, even if multiple files are selected. The system reading the ...


1

I'm not going to leaves this unanswered, because there are a couple of things seriously wrong with this script. However, because I don't know what the script is supposed to do, this answer isn't going to solve your problem. chdir($directory); can fail. You need to handle the error. chdir($directory) or die "chdir($directory): $!"; $files .= "'$filename' ...


1

The just tested in Nautilus, the default file manager for Gnome support this by default. It feels like about 1500ms for folders to open while hovering over them as a drag target. I'm sure that time is configurable. (Tested with nautilus 2.32.2.1 on PLD-Linux TH) I also fired up KDE and tested both Konqueror and Dolphin. The default configurations don't seem ...



Only top voted, non community-wiki answers of a minimum length are eligible