site  contact  subhomenews

xdg_puppy 24x24 icons in submenu

July 10, 2009 — BarryK
Ttuuxxx has suggested that the JWM submenus have 24x24 icons. Currently the top-level icons are 24x24 and the submenus have 16x16 icons.

Note, it doesn't matter what size the actual icons are, JWM sizes them to fit. The sizes are specified in /root/.jwmrc, however the menu is generated by a utility in rarsa's 'xdg_puppy' package (via 'fixmenus' script).

I have modified the source of 'jwm-xdgmenu' (located at /usr/bin) in the 'xdg_puppy' package to generate an icon height of 24 bits for the submenus. So, it becomes permanent, and I hope everyone else is happy with that move.

Ttuuxxx reported that he had alternative 24x24 icons to replace those in /usr/local/lib/X11/mini-icons that appear in the submenus.

When I release 416, as the height of submenus is now set to 24, all the 16x16 icons will be enlarged to fit, so they won't look too good.

gnome-menus
'jwm-xdgmenu' needs libgnome-menu, from the 'gnome-menus' package. Puppy 412 has gnome-menus version 2.14, however I found that the 'dev' component was missing from the 'devx' file.

So, I compiled gnome-menus version 2.14.3 and this is now in Puppy 415+.

Comments

hmmm
Username: disciple
Icons only need to be 24x24 if they are badly designed... which most are these days because they're not proper pixel art and they're aimed more at 64x64 or something similar :) Really we should have nice clean icons that match whatever icon shows up in an app's titlebar...

24x24
Username: ttuuxxx
"Hi Barry, If you package up the 16x16 icons in like a tar.gz and pot a temp link to them, I could download them and have about 24hr or less turn around for 24x24 set and i could upload the newer 24x24 icons for you next release for you to use. ttuuxxx

menu icons
Username: zigbert
"Barry I have 225 icons in my /usr/local/lib/X11/mini-icons. 16x16 is 57kb and some icons looks bad. 24x24 is 128kb and some gets trouble with tall menus on small screens 0x0 is 0kb and have none of the above problems. :) Have you tried to delete all 16x16 icons. It both gives a clean menu, and it saves some space.

24x24
Username: ttuuxxx
"Well Zigbert the last time I checked 4.2 there were 138 .desktop files in usr/share/applications, so that would mean 138 icons for the 16x16 plus maybe a couple in usr/local/applications. Then about 15 or more are actually reused like the wizard icon, or cd icon, ftp icon etc, actually probably a closer figure would be 110 16x16 icons for the menu, also there has never been a complaint by anyone with a small screen that 8 pixels higher/wider make a lick of difference. Ever tar.gz those 110 or so icons up? your talking nothing in space. Your just voicing an opinion due to I have a interest in this, we both know it. You didn't seem to mind adding over 200 new system links in 4.2? and breaking the desktop icons anytime you move a window. That was ok, how about we'll let the masses decided once its done up good and proper. ttuuxxx


Tags: woof