maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Application icon in startup menu (https://talk.maemo.org/showthread.php?t=27702)

daperl 2009-03-23 14:14

Re: Application icon in startup menu
 
It should be as simple as this:

Icon=foo in /usr/share/applications/hildon/foo.desktop

a 26x26 in 26X26/hildon/foo.png
a 40x40 in 40x40/hildon/foo.png
a 64x64 in scalable/hildon/foo.png

no cheating, exact image sizes

exit all programs
gtk-update-icon-cache -f /usr/share/icons/hicolor
reboot

Works for me every time.

fma 2009-03-23 17:04

Re: Application icon in startup menu
 
That's exactly what I did, and it does not work. Both locations use the icons in this order:

scalable
64x64
40x40
26x26

So, I have 2 bigs icons, or 2 small ones... Don't understand why. My code is here:

http://trac.gbiloba.org/papywizard/browser/trunk/maemo

daperl 2009-03-23 19:01

Re: Application icon in startup menu
 
I couldn't seem to svn your project, but if your latest 2.1 deb is close enough, then your icons look fine.

But I'm just a simple caveman and your desktop ways scare me. If your project was mine, here is how my tablet desktop file would look:

[Desktop Entry]
Encoding=UTF-8
Name=Papywizard
Icon=papywizard
Comment=We put the Pap back in Wizard
Exec=/usr/bin/papywizard.sh
Terminal=false
Type=Application
Categories=Application;Internet;
X-Osso-Type=application/x-executable

Maybe just give this a try with my other steps above. And just to be safe, after updating the icon cache, go straight to reboot; don't go lookin' at icons.

Also, not that it matters, but it couldn't hurt to have a '!' after the '#' at the top of papywizard.sh.

fma 2009-03-23 19:14

Re: Application icon in startup menu
 
I will try your desktop file...


All times are GMT. The time now is 20:08.

vBulletin® Version 3.8.8