You need to create a .desktop file and put it in one of the locations listed in 
$XDG_DATA_DIRS. Here is more info on the standard:

Creating a .desktop file: 
http://standards.freedesktop.org/desktop-entry-spec/latest/
Moblin customizations: 
http://v1.moblin.org/toolkits/basicDevGuides/UIComp/toolkits_DevGds_UIComp_homeScreen.php
 

Notes, caveats, etc: 

1. I haven't tested whether these standards apply to moblin 2.0 builds.
2. If your platform doesn't define XDG_DATA_DIRS, try looking in 
/usr/share/applications/hildon. /usr/share/applications is the default, but 
some OSes don't do it correctly.
3. If you are running Midinux, you will probably need to add an addition line 
to your .desktop file: 

Submenu=x

where x is the number corresponding to the submenu you wish your shortcut to 
appear in. 


Clayne


-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of Anthony Wong
Sent: Wednesday, December 31, 2008 9:39 AM
To: [email protected]
Subject: [Moblin Dev] how to add my application icon to the Ubuntu Mobile 
desktop

Hi,

I'm trying to add an icon to the Ubuntu Mobile desktop so that I can launch my 
application by clicking the icon.  Can someone please show me how to do it?

Here is the configuration of my Compal Jax10:

Platform: menlow-lpia-ubuntu-hardy-jax10-snapshot1
Fset: crownbeach-full-mobile-stack-with-proprietary-stuff


Thanks,
Anthony


      

_______________________________________________
Moblin dev Mailing List
[email protected]

To manage or unsubscribe from this mailing list visit:
https://lists.moblin.org/mailman/listinfo/dev or your user account on 
http://moblin.org once logged in.

For more information on the Moblin Developer Mailing lists visit:
http://moblin.org/community/mailing-lists

_______________________________________________
Moblin dev Mailing List
[email protected]

To manage or unsubscribe from this mailing list visit:
https://lists.moblin.org/mailman/listinfo/dev or your user account on 
http://moblin.org once logged in.

For more information on the Moblin Developer Mailing lists visit:
http://moblin.org/community/mailing-lists

Reply via email to