Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
    
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
    
Yes - "my app" is an application we are developing and packaged with Debian that is then installed using the Ubuntu Software Center –  Danny Schoemann Jun 25 '12 at 7:06
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. –  Jacob Vlijm Jun 25 '12 at 7:58

1 Answer 1

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

Your Answer

 
discard

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.