2

When we drag some file from some web page or Nautilus towards the launcher, the application that in which it can be coppied remains highlighted and others fade out.

So where is this configuration file that decides which file can be dragged to which application in the launcher?

For example, right now, only a file of some document type can be dragged to Gwoffice and some binary file or deb file cant be drag and dropped. So how do I allow suppose a deb file to be draged and droped to Gwoffice.

That was just an example... I want to know how its done in general too.

1 Answer 1

3

There is no general configuration file for that behavior. The launchers for the programs themselves, define which MIME types they can open, as per the FreeDesktop Desktop Entry Spec.

The reason you can't drag a .deb file to gwoffice for example, is because the program has no idea how to handle it, and if you did drag it to the launcher, it wouldn't work, even if you edited the launcher such that you could successfully drag it there.

1
  • "The launchers for the programs themselves, define which MIME types they can open." This answer would be improved by explaining exactly how to specify in a .desktop file (since that's how a launcher is implemented) what MIME types the application can open. Jul 12, 2012 at 1:47

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .