caco3
2010-05-30, 21:59
Hi all
I made a basic python script and a desktop file with logo for it.
The application shows up in the application list. It has the right logo and starts properly. Now I wanted to add a button to my desktop, but it does not show up in the shortcuts list.
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Name=TWord
Exec=python /home/opt/TWord/bin/main.py
Icon=TWord
X-Osso-Type=application/x-executable
The destop file is in /usr/share/applications/hildon/
A png icon (64x64) is in /usr/share/icons/hicolor/64x64/apps/
Do I have to add an icon on another place?
Which size does it need?
I did a test and copied the BatteryGraph.desktop file to BatteryGraph2.desktop (so I only duplicated it with a new name, the content is identical). It shows now up twice in the application list (as expected), but still only once in the shortcut list.
Is there a cache which has to be updated?
I restarted the phone (N900 with PR1.2) several times without progress.
I made a basic python script and a desktop file with logo for it.
The application shows up in the application list. It has the right logo and starts properly. Now I wanted to add a button to my desktop, but it does not show up in the shortcuts list.
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Name=TWord
Exec=python /home/opt/TWord/bin/main.py
Icon=TWord
X-Osso-Type=application/x-executable
The destop file is in /usr/share/applications/hildon/
A png icon (64x64) is in /usr/share/icons/hicolor/64x64/apps/
Do I have to add an icon on another place?
Which size does it need?
I did a test and copied the BatteryGraph.desktop file to BatteryGraph2.desktop (so I only duplicated it with a new name, the content is identical). It shows now up twice in the application list (as expected), but still only once in the shortcut list.
Is there a cache which has to be updated?
I restarted the phone (N900 with PR1.2) several times without progress.