[maemo-developers] top_application ???
From: Andrew Zabolotny zap at homelink.ruDate: Sat Jul 26 18:39:52 EEST 2008
- Previous message: Scratchbox & Maemo SDK installation on Fedora
- Next message: top_application ???
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: not available Url : http://lists.maemo.org/pipermail/maemo-developers/attachments/20080726/c719acfa/attachment.pgp
- Previous message: Scratchbox & Maemo SDK installation on Fedora
- Next message: top_application ???
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]