2

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?

8
  • BTW; I do not see a file corresponding to my app in either of the locations that you mention. Jun 21, 2012 at 5:47
  • I am not sure I know what you mean; is "my app" an application installed by the Ubuntu Software Center? Jun 21, 2012 at 6:09
  • 1
    @ 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. Jun 25, 2012 at 7:58
  • 2
    @JacobVlijm What about askubuntu.com/a/470336/256099 ?
    – Pandya
    Sep 6, 2014 at 17:40
  • 1
    @Sneetsher thanks for noticing! The linked answer is satisfying enough to mark this question as a dupe :) Jan 18, 2016 at 21:29

1 Answer 1

0

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.

1
  • ...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. Jun 21, 2012 at 13:57

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