KJ: Thanks. The wrong free space has been mentioned before but I haven't been able to track what is needed. The pmfree applet (modified freememapplet) is using the below scripting to calculate the free space:

So above script code should yield same value as pmfree. Any suggestions to modifications are welcome - it always report the right thing in this end.

The icewm build is quite an exercise - not only seems every version to have its own pros and cons but one also have to learn the tremendous number of settings possible. I have not been able to get the icewmtray to do anything visible (yet) but I can build 1.2.0/1.2.14/1.2.37 static. I guess I will have to test some of the versions in between to find one that have most of the functionality with the fewest "problems" (like missing content in windows and strange colors or render defects).

... but I think it may need some other code if more than 1 sfs file is in use (zdrv, extra large apps/collections, etc...), possibly look in /proc/mounts for / and rw and use df on that device (which seems more portable anyhow and would work for full installs) let me know if this won't work I may be able to come up with something better once I get back home to my linux box._________________Web Programming - Pet Packaging 100 & 101

I never got the icewmtray, icewmbg or icesound to work - but propably havent tried hard enough...so package only holds the icewm-binary.

if they need imlib2 that may be why - it dynamically loads the appropriate module for each image type, and I doubt it gets tested as a static library often (imlib v1 does work as a static lib though IIRC) but even if the image libraries work, ice may use an external program like file to check the file type first to know what module to load (whether it be builtin or shared) ... as for icesound, I think the older versions used the enlightened sound daemon (esound) though they may have switched to something more mainstream (most of it could probably be hacked to just call minimp3 or similar) though it could just be due the the mcb parts messing with ice's own internal evaluation of argv[0] ... for example it may need to be called as icewm-session-experimental may be required to enable the sound ... it would probably be easier to wrap minimp3 or another player the way rodent file manager (xfce fork) does for a lot of its functions (and 99% of puppy's gtkdialog apps for that matter)_________________Web Programming - Pet Packaging 100 & 101

Try "strace icesound" or such...you will probably also need to check that you have a working sound theme (maybe copy a configuration oce you've tested it elsewhere).
Esound is still what Debian uses, but that "--with-icesound=OSS" means it should be using OSS: does /dev/dsp exist? if so, does "cat /boot/vmlin* > /dev/dsp" make static? if not, are the sound modules snd-pcm-oss getting loaded?

Code:

modprobe -a snd-{pcm,mixer,seq}-oss

For what it's worth, I found somewhere (I think on ibiblio) a mixer for oss3 called cmix, which works nicely in my experience.

IIRC, 1.2.37 needs imlib1 (or libxpm?) for icewmbg, so it could work statically.

technosaurus & Ibidem: Thanks for input. I compiled icewm with imlib-1.9.15 (1.8.2 works too). I found setting background with xli better as it also can be used for other image-things and is smaller than icewmbg (static icewmbg is 551kb, static xli is 415kb). I compiled icewm with OSS-support - icesound is 100k - and a strace does not tell much.
My best guess atm is that I fail set some essential configurations for icewm or it might be that everything needs to be started in some order via icewm-session...
I will update the package with all the binaries - and maybe someone one day will get the things working.

In the end icewm is cool as is without the additions mostly because you can apply so many different looks.

goingnuts: IIRC, icesound is only started from icewm-session, and also requires the proper options in the config files (~/.icewm/*, /usr/share/icewm/*, and something in /etc also; ~/.icewm is the highest-priority).
-I presume that you copied over a configuration that you know produces a working sound theme, along with the sound files needed?
-I presume you know that OSS audio is working for other applications?
-For strace, I'd suggest something like:
mv icesound /usr/lib/icewm/icesound
create a script named icesound with these contents:

Code:

#!/bin/sh
strace /usr/lib/icewm/icesound 2>/var/log/icesound

Then, after you play around with the desktop some, look in the log to verify that it's opening /dev/dsp successfully

Code:

grep /dev.*dsp /var/log/icesound

And then look to see if the sound files are being opened properly, and whether anythig else happens:

I agree that xli is probably better than icewmbg.
My own main reason for using icewm over jwm was that last I knew, the jwm menu didn't have a keyboard shortcut. With icewm, I can do anything from the keyboard,even if the mouse doesn't work.

Ibidem: Thanks - that helped...Downloaded a sound theme from here and followed your hints and some instructions from here and now I got "sound". Nasty playback - guess my build of icesound is crappy - but it works. Hacking the source to use minimp3 as technosaurus suggests is now a "must have". I was sort of expecting that icesound would spawn a volume/mixer-tray applet but its giving desktop events sounds
In a standard puppy I miss the tray-mail-icon functionality...in pupngo2012 it comes automatic without doing anything (conscious) for it - I wonder what external program triggers icewm to activate it...Update: if /var/spool/mail/root-directory is present the mail-tray-icon pops up

I tried to build icewm with esd support but that does not make sound any better...

And a tiny update: Managed to patch icesound.cc to use wavplay-call and now sound is fine. Below the patch and attached a fake gz-file of the patched icesound as a static binary.

I believe icewm mail is configured in icewm preferences starting around line 229. I only use online email and do not have a POP to test from but I did manage to bring up a email app from the icewm taskbar on another pup (wary55rc). Thanks for the hard work and interest in getting icewm running on PuPnGo2012. KJ

I believe icewm mail is configured in icewm preferences starting around line 229. I only use online email and do not have a POP to test from but I did manage to bring up a email app from the icewm taskbar on another pup (wary55rc). Thanks for the hard work and interest in getting icewm running on PuPnGo2012. KJ

Thanks - I got the mail icon working and if /var/spool/mail/root-directory contains files I have an icon change. I use it as a shortcut to open sylpheed which fetch my gmails...

I was slightly surprised of the size of the static build of icesound (seems big) so entered the code although I kind of get lost in cc-sources. But managed to get the logic and rewrote a less featured version in c.

Attached source and a static build. Size for the static build reduced from 101k to 69k so really not a big reduction - but at least I find it easier to read the code Could we patch jwm to do the same as icewm in respect to system sounds - or are that already done?

Hi, do you use musl for static compiling http://www.musl-libc.org/?
I tested once compiling libpng with musl, and it was successful.
Size of that tarball was about the same as dynamically linked package from standard Arch Linux.
Contrary to some claims that static libraries are always bigger...

simargl8: For most things I use uclibc. For some CLI-programs (most for use in initrd) I use dietlibc as it seems to give the smallest binaries. I would like to use musl as the main library but I still haven't got working gtk1-binaries with it...so sort of waiting to get that going before I do a major move in that direction.

I know it uses the ath5k driver, and I know that the device/vendor/etc IDs are different from the ones that are default in /lib/modules/2.6.25.16/modules.pcimap -- but, I can't make the bloody thing work, even after editing that file.

lspci outputs (for the relevant device) --

Code:

01:00.0 Class 0200: 168c:001d

Mucking around in /sys/bus/pci/devices/0000:01:00.0 and its various files and folders produces the line needed for modules.pcimap (header included to explain what's what) --

But putting that line in, doesn't make the card work -- even after a reboot. The change is persistent -- but the ath5k driver isn't automatically loading, and modprobe ath5k does not produce the intended result -- all it does is load the module, with no attachment to a specific device...

xhippo is uselessly silent. But gtkcdplayer works just fine, even if it is a bit barebones. aumix is not that great, either -- PhoneOut refuses to go lower than about 72, and when I try to move it, the corresponding Balance button moves around as well. Hmmm... might want to look into a replacement for both xhippo and aumix. Just sayin'.

Also worth noting, even a quiet bit of music sounds tinny and strained on this old heap -- probably something to do with shielding. The speakers (and headphone output) pick up noise better than an AM radio would

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forumYou cannot attach files in this forumYou can download files in this forum