[maemo-developers] how to create a desktop applet

From: Daniel Martin Yerga dyerga at gmail.com
Date: Wed Nov 18 15:15:56 EET 2009

On Wed, 18 Nov 2009 10:19:09 +0200
ibrahim <ibrahim.ali at asgatech.com> wrote:

> Didn't work either. Maybe there is something wrong with the way i
> create packages:
> the steps i take to create the package are :
>    1. compile the source and header using gcc inside scratchbox
>           * gcc -shared 'pkg-config hildon-1 libhildondesktop-1 --libs
>             --cflags' example.c example.h -o output.so
>    2. create the folder structure : data/usr/lib/ and put the
> output.so file inside it
>    3. create the folder : data/usr/share/applications/hildon-home and
>       put the .desktop file inside it
>    4. create the DEBIAN/control file and supply the package
> information in it
>    5. rename the parent folder to : <appname>-<version>||
>    6. |run the command : dpkg-deb --build app-folder|
>    7. then setup the package to the emulator using dpkg -i
> packagename.deb 8. in the emulator; press on the upper area of the
> desktop, and enter the desktop menu
>    9. click on the Desktop menu ---> add widget ---> didn't find my
>       application name in the widgets menu !!!
> what's wrong with what i've done ?? can anybody help?

If those instructions are complete you're storing the .so file in a
wrong location (/usr/lib/).
The .so files for a Home applet are stored in /usr/lib/hildon-desktop/

Daniel Martin Yerga
More information about the maemo-developers mailing list