OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: NXK on February 01, 2005, 05:09:46 pm

Title: Icons Won't Display Properly
Post by: NXK on February 01, 2005, 05:09:46 pm
When I create program.desktop files in /usr/share/applications for programs that don't have one, I get garbage/corrupted icons displayed on the desktop.  This also occurs if I relocate programs that are installed in odd places.  The program.png files are in /usr/share/pixmaps and everything, and if I open the icons in GIMP they look fine.  The programs run fine from the desktop files I've created, and if I use icons that are already in use by other apps, they display fine.  Am I missing something obvious here?

This is on a C860 running pdaXrom 1.0.5 with matchbox/openbox

Thanks
Title: Icons Won't Display Properly
Post by: pgas on February 02, 2005, 01:49:07 am
What is the size of your icons?

Most icons in pdaxrom are 48x48, 64x64 is ok also.

I think you might run into problems if you use icons that are not squares.
Title: Icons Won't Display Properly
Post by: NXK on February 03, 2005, 02:43:00 pm
One of the icons in question is an odd size, (the dopewars_weed.png icon that comes in the package is 47x48,) but the others are square.  I have .xinitrc set to load matchbox with --iconsize 48, which I thought might be the problem, but I have 36x36 and 64x64 icons that display fine like this.  Even if I set --iconsize 56 or another wacky size, they all display fine except for the ones I'm already having problems with.
Title: Icons Won't Display Properly
Post by: JedTheHead on February 04, 2005, 08:35:34 pm
I have had fine luck with any / all the icons from my /usr/share/pixmaps dir on my desktop install.  Most are Gnome icons from my 2.8 install and all work fine.  They also work great for rox.  My guess would be a problem with the .png files you are using.  Good luck!.