Adding your application and its icon to the Ubuntu Mobile Desktop
The final step for your new mobile application
This information also appears on the Ubuntu Mobile Guide
Assuming you have a fairly recent drop of UME, new applications should:- install a .desktop file into /usr/share/applications
- install an icon into /usr/share/icons/hicolor/<size>/<type> (e.g. /usr/share/icons/hicolor/64x64/apps/myapp.png)
If 1 is done correctly, the app should show up in the UI.
If 1 and 2 are done, it will also have the right icon :)
OnlyShowIn
The freedesktop.org has a standardOnlyShowInfor the application to appear in certain environments.
So you can also add
OnlyShowIn=GNOME;Mobile;
to the desktop file and the icon will appear on the desktop.
Also something to note:
For example, cheese does not have
OnlyShowInbut it appears in hildon desktop...others also do not have
OnlyShowInand do not appear..it seems that there is some special
implementation for ubuntu mobile which is seen in the gconf keys:
/desktop/hildon/htmlhomeplugin/onlyshowin_filter
Check
OnlyShowInvalue in .desktop. If
_False_then every .desktop is shown and
/onlyshowin_ignore
Always show these apps, even if they don't have
OnlyShowInCheese is in this list hence it is always shown
Apparently this key should go away when *every* application is a good citizen and complies to the freedesktop.org standards.
tags:




