jwm with pixmaps?Forum: Apps Topic: jwm with pixmaps? started by: jaapz Posted by jaapz on April 05 2008,20:38
is it possible to get jwm working with some nice pixmaps as decoration? i've seen stuff like that in puppylinux but i'm not sure it was in icewm or in jwm.
Posted by lucky13 on April 05 2008,21:14
"jwm --version" will give you all its compile options.
Posted by curaga on April 05 2008,21:19
I'm pretty sure you are talking about the gtk2 theme, which sets Puppy's buttons and scroll bars all nice, am I right?
Posted by jaapz on April 05 2008,22:17
@curaga: nope, im just talking about the JWM theme, the tray and menu and stuffEDIT: Ok, jwm --version shows that an xpm module is installed, but how to use it? I cant find it on the internet and the man page isnt in DSL. Posted by lucky13 on April 05 2008,23:32
What do you want to do with it? Look at .jwmrc if you need ideas how to set icons. It's just an XML file.edit: The theme section is factored out of jwmrc; the jwmrc will have an INCLUDE tag pointing to it. Posted by jaapz on April 06 2008,12:13
I know, its .jwmrc-theme, but i cant find any comment or something about pixmaps. I'll be downloading the latest version of teenpup, a puppy derivative, wich probably has jwm with pixmaps. I'll check their .jwmrc file.
Posted by lucky13 on April 06 2008,14:13
The pixmaps are just used as icons:<Program label="name or description" icon="this-is-your-pixmap">command</Program> Posted by roberts on April 06 2008,17:31
FYI. X Pixmaps are small simple text files used to represent icons. The extension .xpm is usually used to indicate this not to be confused with icons of type jpg, png, gif, ...
Posted by jaapz on April 06 2008,18:18
hmm that just gives a button with the icon on it, i want to decorate the jwm window and tray with pixmaps, instead of just simple colors Posted by roberts on April 06 2008,18:31
Look at the file /home/dsl/.jwmrc-tray to see example.
Posted by lucky13 on April 06 2008,19:59
Too bad. You do have a couple choices. You can use one color if you want things to be flat; you can use two color values separated by a colon if you want a gradient. < http://joewing.net/programs/jwm/config.shtml#colors > If you want more than that, try another small window manager that allows theming with image files -- oroborus and enlightenment both allow that. I don't consider enlightenment, with its quirky and peculiar libraries, to be "small." EDIT: FWIW, jwm is a lot faster sans icons. I removed them from my DSL menus (I run three root menus) and got marginally faster response. I also removed them from the default menu in Vector Linux and am getting noticeably better performance -- the toll of 60-something mixed scalable and 48x48 icons is pretty steep, and removing them from the menu (and getting rid of their ugly bloated wallpaper) resulted in nearly halving jwm's RAM use. Posted by jaapz on April 06 2008,21:03
ok, i'll check out icewm, its sometimes used in puppylinux so it wont be that fat.thx for the answers! Posted by lucky13 on April 06 2008,21:42
depends how you quantify fat:< http://gilesorr.com/wm/memory.html > Of course, the more crap (fancy graphics) you throw in it the bigger it is. I've had KDE 3.5 run very efficiently on older hardware using smaller icons and turning off transparency, no wallpaper, etc. Posted by kerry on April 07 2008,04:48
doesn't fluxbox do pixmaps?
Posted by lucky13 on April 07 2008,12:16
Yes, it does. Posted by jaapz on April 07 2008,13:41
i dont like fluxbox, actually, so thats no option xD
Posted by lucky13 on April 07 2008,14:26
What's the problem with fluxbox if it does what you want? You can get it look/work/feel like jwm if you're resourceful enough.
Posted by roberts on April 07 2008,19:41
Lucky13 wrote:
I am going to implement this (jwm sans icons) to work with the noicons boot code. In DSL I tried to standardize on smallish .xpms but I can imagine if one has a collection of all sizes of .xpm, jpg, png, gif and jwm is trying to dynamically resize them that it would be noticeable. Posted by jaapz on April 07 2008,20:19
matter of taste ;) Posted by lucky13 on April 07 2008,20:57
Exactly, but at least DSL has settled on 32x32 xpm. Since those are mostly very small it's less noticeable in DSL than Vector, which has many 48x48 and scalable icons in kb (their menu icon alone is over 43kb!). I had the total count wrong in the number of icons in the Vector default jwm menu: it's 82 (some are duplicates). I just did du on /usr/share/icons and they installed 55MB of icons on my computer when I selected the X package. Not to mention all the fonts and big fat wallpapers. So much for that "speed and performance" claim on their website. I don't know how much more improvement I could get if I recompile jwm without xft, icons, xpm, png, shape, etc. edit: Removed remark about compiling without options later in the week because I did it while waiting for conference call to start. Posted by kerry on April 07 2008,21:20
lol, i grown tired of icons to, i've switched to just using text instead.< http://img127.imageshack.us/img127/9574/185301qw3.png > Posted by lucky13 on April 07 2008,21:38
Here's my preliminary test. My binary for jwm is just a little smaller, but I require fewer libraries to run my version. Some of those libs are open anyway because they're used for other apps.----------- LUCKY13 --------------------------------------------------- -rwxr-xr-x 1 root root 151524 2008-04-07 16:07 /opt/jwm-test/bin/jwm* JWM v2.0.1 by Joe Wingbermuehle compiled options: confirm lsof | grep jwm: jwm 2572 me cwd DIR 3,1 4096 16289 /home/me jwm 2572 me rtd DIR 3,2 4096 2 / jwm 2572 me txt REG 3,2 151524 175036 /opt/jwm-test/bin/jwm jwm 2572 me mem REG 3,2 14208 324375 /usr/lib/libXfixes.so.3.1.0 jwm 2572 me mem REG 3,2 29528 324376 /usr/lib/libXrender.so.1.3.0 jwm 2572 me mem REG 3,2 32300 324333 /usr/lib/libXcursor.so.1.0.2 jwm 2572 me mem REG 3,2 17196 324555 /usr/lib/libXdmcp.so.6.0.0 jwm 2572 me mem REG 3,2 7188 324384 /usr/lib/libXau.so.6.0.0 jwm 2572 me mem REG 3,2 13506 380975 /lib/libdl-2.5.so jwm 2572 me mem REG 3,2 92340 324530 /usr/lib/libxcb.so.1.0.0 jwm 2572 me mem REG 3,2 3340 324706 /usr/lib/libxcb-xlib.so.0.0.0 jwm 2572 me mem REG 3,2 1528749 381081 /lib/libc-2.5.so jwm 2572 me mem REG 3,2 951300 324197 /usr/lib/libX11.so.6.2.0 jwm 2572 me mem REG 3,2 131484 381064 /lib/ld-2.5.so jwm 2572 me 0u CHR 4,1 6281 /dev/vc/1 jwm 2572 me 1u CHR 4,1 6281 /dev/vc/1 jwm 2572 me 2u CHR 4,1 6281 /dev/vc/1 jwm 2572 me 3u unix 0xc572ee40 12071 socket ------------ VECTOR --------------------------------------------------- -rwxr-xr-x 1 root root 168580 2007-10-03 19:26 /usr/bin/jwm* JWM v2.0.1 by Joe Wingbermuehle compiled options: confirm fribidi icons png shape xft xinerama xpm xrender lsof | grep jwm: jwm 2511 me cwd DIR 3,1 4096 16289 /home/me jwm 2511 me rtd DIR 3,2 4096 2 / jwm 2511 me txt REG 3,2 168580 284740 /usr/bin/jwm jwm 2511 me mem REG 3,2 14208 324375 /usr/lib/libXfixes.so.3.1.0 jwm 2511 me mem REG 3,2 581372 53489 /usr/share/fonts/TTF/DejaVuSans.ttf jwm 2511 me mem REG 3,2 66552 118367 /var/cache/fontconfig/f6b893a7224233d96cb72fd88691c0b4-x86.cache-2 jwm 2511 me mem REG 3,2 17196 324555 /usr/lib/libXdmcp.so.6.0.0 jwm 2511 me mem REG 3,2 7188 324384 /usr/lib/libXau.so.6.0.0 jwm 2511 me mem REG 3,2 126996 321099 /usr/lib/libexpat.so.1.5.2 jwm 2511 me mem REG 3,2 184820 381075 /lib/libm-2.5.so jwm 2511 me mem REG 3,2 13506 380975 /lib/libdl-2.5.so jwm 2511 me mem REG 3,2 92340 324530 /usr/lib/libxcb.so.1.0.0 jwm 2511 me mem REG 3,2 3340 324706 /usr/lib/libxcb-xlib.so.0.0.0 jwm 2511 me mem REG 3,2 1528749 381081 /lib/libc-2.5.so jwm 2511 me mem REG 3,2 6380 324131 /usr/lib/libXinerama.so.1.0.0 jwm 2511 me mem REG 3,2 52936 324528 /usr/lib/libXext.so.6.4.0 jwm 2511 me mem REG 3,2 61088 324302 /usr/lib/libXpm.so.4.11.0 jwm 2511 me mem REG 3,2 56552 323691 /usr/lib/libfribidi.so.0.0.0 jwm 2511 me mem REG 3,2 77688 323652 /usr/lib/libz.so.1.2.3 jwm 2511 me mem REG 3,2 447484 324616 /usr/lib/libfreetype.so.6.3.16 jwm 2511 me mem REG 3,2 172868 324460 /usr/lib/libfontconfig.so.1.2.0 jwm 2511 me mem REG 3,2 29528 324376 /usr/lib/libXrender.so.1.3.0 jwm 2511 me mem REG 3,2 70136 324754 /usr/lib/libXft.so.2.1.2 jwm 2511 me mem REG 3,2 126528 321645 /usr/lib/libjpeg.so.62.0.0 jwm 2511 me mem REG 3,2 239012 323870 /usr/lib/libpng12.so.0.1.2.21 jwm 2511 me mem REG 3,2 951300 324197 /usr/lib/libX11.so.6.2.0 jwm 2511 me mem REG 3,2 32300 324333 /usr/lib/libXcursor.so.1.0.2 jwm 2511 me mem REG 3,2 17592 118366 /var/cache/fontconfig/f349e9996a5320f6dd491cedd2b1f964-x86.cache-2 jwm 2511 me mem REG 3,2 131484 381064 /lib/ld-2.5.so jwm 2511 me 0u CHR 4,1 6281 /dev/vc/1 jwm 2511 me 1u CHR 4,1 6281 /dev/vc/1 jwm 2511 me 2u CHR 4,1 6281 /dev/vc/1 jwm 2511 me 3u unix 0xc9a193c0 11539 socket |