Hello! I'm adapting an application for the Maemo platform, and got some problems.
The .desktop file of the application contains the following lines: X-Osso-Type=application/x-executable X-Osso-Service=org.maemo.myapp Also I put a /usr/share/dbus-1/services/myapp.service file which contains: [D-BUS Service] Name=org.maemo.myapp Exec=/usr/bin/myapp Now, when I start my application from the menu, first a small popup window saying "MyApp - starting" appears, and after a few seconds a new popup appears saying "top_application". I found this is most likely to come from libhildonwm, but I don't quite understand what it means and how I can avoid it. When I start the app from command line, it works fine. Another problem is with the file manager. I would like to have my app associated with certain MIME types and have it launched automatically when I double click on a file in file manager. For this I have added a line to the desktop file, something like this: MimeType=application/x-something;application/x-somethingelse; I do update-desktop-database in my postinstall script, so that /usr/share/applications/mimeinfo.cache gets updated (and it indeed contains references to my application). However, I still can't get file manager to launch my app when I click on these files, and they show a blank icon. Is there some possibility to show a custom icon for these file types? Also I've read somewhere that filemanager has an API over the D-BUS... is it documented somewhere? -- Andrew
signature.asc
Description: PGP signature
_______________________________________________ maemo-developers mailing list [email protected] https://lists.maemo.org/mailman/listinfo/maemo-developers
