Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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

This question already has an answer here:

Since 12.04, when additional software is installed, Ubuntu software center puts an icon in the launcher, representing a .desktop file in /usr/share/app-install/desktop/. This desktop file is not "overruled" by a (possible) local .desktop file in ~.local/share/applications.

My question is: Why is the initial icon (.desktop file) put there, and is not the default .desktop file used that is located in /usr/share/applications?

share|improve this question

marked as duplicate by Sneetsher, Jacob Vlijm, Community Jan 18 at 21:32

This question was marked as an exact duplicate of an existing question.

BTW; I do not see a file corresponding to my app in either of the locations that you mention. – Danny Schoemann Jun 21 '12 at 5:47
I am not sure I know what you mean; is "my app" an application installed by the Ubuntu Software Center? – Jacob Vlijm Jun 21 '12 at 6:09
@ Danny That is interesting, because then I wonder where and why the decission is taken. There might be a good reason for it, but I do not know it. It was a problem to me, in developping a quicklist editor, that edited the "usual" local desktop file. That would normally overrule the default desktop file, but not the one I described in my post. In the meantime I found a workaround to edit the gsettings and remove the initial icon (if it exists) and replace it by the edited one in the same index. – Jacob Vlijm Jun 25 '12 at 7:58
@JacobVlijm What about ? – Pandya Sep 6 '14 at 17:40
@Sneetsher thanks for noticing! The linked answer is satisfying enough to mark this question as a dupe :) – Jacob Vlijm Jan 18 at 21:29

Because that is how Ubuntu was designed. When you install an app from Ubuntu Software Center, Ubuntu puts an icon for only the user who installed the app.

share|improve this answer
...but that is not a reason to use a .desktop file in a different location, as the (local) contents of the launcher is determined in the gsettings. – Jacob Vlijm Jun 21 '12 at 13:57

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