Active Topics

 


Reply
Thread Tools
daperl's Avatar
Posts: 2,427 | Thanked: 2,986 times | Joined on Dec 2007
#11
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.
__________________
N9: Go white or go home
 

The Following User Says Thank You to daperl For This Useful Post:
Posts: 46 | Thanked: 0 times | Joined on Dec 2008 @ Grenoble (France)
#12
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's Avatar
Posts: 2,427 | Thanked: 2,986 times | Joined on Dec 2007
#13
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.
__________________
N9: Go white or go home
 
Posts: 46 | Thanked: 0 times | Joined on Dec 2008 @ Grenoble (France)
#14
I will try your desktop file...
 
Reply


 
Forum Jump


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