Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
up vote 3 down vote accepted

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.

share|improve this answer
"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. – Eliah Kagan Jul 12 '12 at 1:47

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.