Active Topics

 


Reply
Thread Tools
Posts: 46 | Thanked: 0 times | Joined on Dec 2008 @ Grenoble (France)
#1
Hi,

Could someone explain me how to have a big icon in the startup menu on OS2008? I read several things, and it is always a 26x26 icon which is used. But I can see that other applications have bigger icons than mine. I tried to use a 40x40 (like some other do) icon, but it remains small.

My desktop entry looks like:

Code:
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=Papywizard
Exec=/usr/bin/papywizard.sh
Icon=papywizard
Type=Application
My icon, named papywizard.png is located in /usr/share/pixmaps.

I tried many things, but it never worked. I'm puzzled...

Thanks,
 
Jaffa's Avatar
Posts: 2,535 | Thanked: 6,681 times | Joined on Mar 2008 @ UK
#2
The following should be three useful sources of info:
  1. http://mud-builder.garage.maemo.org/...ge.html#extras
  2. http://thpinfo.com/2008/02/maemo-icon-sizes.html (note the missing "hicolor", though)
  3. https://garage.maemo.org/viewvc/trun...ot=mud-builder

HTH,

Andrew
__________________
Andrew Flegg -- mailto:andrew@bleb.org | http://www.bleb.org
 

The Following User Says Thank You to Jaffa For This Useful Post:
Posts: 46 | Thanked: 0 times | Joined on Dec 2008 @ Grenoble (France)
#3
Ok, after many tries, I finally got it work! But it is really a pain in the bottom!!! In fact, it does not work with my desktop entry; I had to change the Name to 'papywizard' (lower-case) to fit the Icon name. But if I switch both name (and icon one) to Papywizard, it does not work. If I want to have a P (capitalized) in the name, and a p (lower case) in the icon, I have to add:

X-Window-Icon=papywizard
X-Window-Icon-dimmed=papywizard

And I only need the icon in the scalable dir...

Ouf!

Thanks for the links
 
Posts: 46 | Thanked: 0 times | Joined on Dec 2008 @ Grenoble (France)
#4
Another question: How do I have my application icon displayed in the taskbar? Is it also managed by the desktop entry? Or should it be embedded in the window? In fact, I have it, but it may need a specific size?
 
Jaffa's Avatar
Posts: 2,535 | Thanked: 6,681 times | Joined on Mar 2008 @ UK
#5
Originally Posted by fma View Post
Another question: How do I have my application icon displayed in the taskbar? Is it also managed by the desktop entry? Or should it be embedded in the window? In fact, I have it, but it may need a specific size?
The task bar one is 26x26, and there are a number of different mechanisms by which the icon is selected.

There've been a number of threads on maemo-developers about it in the past, and I'm afraid I don't have the links to hand (or the time to search for them); however I'd strongly suggest you take this opportunity to see if there's a wiki page (perhaps http://wiki.maemo.org/Application_icons?) and - if not - create one pulling together these nuances you're finding.

Even having a first draft will give something the community to rally round and improve.
__________________
Andrew Flegg -- mailto:andrew@bleb.org | http://www.bleb.org
 
Posts: 46 | Thanked: 0 times | Joined on Dec 2008 @ Grenoble (France)
#6
I searched in the archives, and all questions related to that problem never get an answer
 
Jaffa's Avatar
Posts: 2,535 | Thanked: 6,681 times | Joined on Mar 2008 @ UK
#7
http://www.mail-archive.com/maemo-de.../msg17012.html looks like a relevant, and in-depth, thread.
__________________
Andrew Flegg -- mailto:andrew@bleb.org | http://www.bleb.org
 

The Following 2 Users Say Thank You to Jaffa For This Useful Post:
Posts: 46 | Thanked: 0 times | Joined on Dec 2008 @ Grenoble (France)
#8
Ok, I found: I needed to add the StartupWMClass param, with the name of the main window (Papywizard, capitalized). And it now works

As I only have the scalable icon (a 64x64 png file), so it is huge. But I guess adding a 40x40 one should do the trick.
 
Posts: 46 | Thanked: 0 times | Joined on Dec 2008 @ Grenoble (France)
#9
Unfotunally, I can't find the way to have a big icon in the startup menu, and a small one in the task bar... I know it is possible, because other applications do this, but I don't know how
 
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#10
I had similar problem with bigger icons with scummvm and did not find sufficient documentation and filed bug https://bugs.maemo.org/show_bug.cgi?id=3619

In ScummVM the issue was that OS2008 system for some reason preferred small icon in /usr/share/icons over the big ones in other icon folders. Sadly OS2006 did not support small icon in those new folders so my final solution was to keep both and remove /usr/share/icons/scummvm.xpm in postinstall script for OS2008.

Also there is icon cache so without flushing/updating the cache via gtk-update-icon-cache the final result varies.
__________________
Newbies click here before posting. Thanks.

If you really need to PM me with troubleshooting question please consider posting it to the forum instead. It is OK to PM me a link to such post then. Thank you.
 
Reply


 
Forum Jump


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