BarryK wrote:2.
This is an odd one. In Quirky 0.5/06, using jwm 2.3.7, one of the
icons does not display in the menu.
Everything is setup correctly. the pavrecord.desktop file has
"Icon=mini-record.xpm" and the .jwmrc has the path to the icon, but it
does not display. (see Multimedia menu in Quirky).
Other icons in that same location do display.
There is nothing wrong with mini-record.xpm, it does display as the
icon for 'pavrecord.desktop' in the rox-filer window. It also
displayed in jwm 976.
If you want to see this in action, Quirky Pyr64 0.6 has it:
http://bkhome.org/news/201711/quirky-py ... eased.html
Its not an xpm. Its a png. Jwm added some optimizations to use the appropriate library based on file extensions if it has one. I could probably patch it to detect magic@offset instead, but in the mean time, just rename it to mini-record.png or convert it to an actual xpm. FWIW, when I converted all of the png images to xpm and used squash with xz compression (another pupngo experiment), the resulting sfs was actually smaller.
3.
Even odder. Sometimes, at startup just get a blank screen with mouse
pointer. jwm must be running, as if not, X will terminate.
Not sure that jwm is to blame for that one, will need to try and
isolate the cause.
Sounds like X is not fully started when jwm starts. There are a few possible solutions.
1 Add -display :0 to the wm command line.
2 Use a little tiny-core-linux program called waitforX (which continually tries XopenDisplay()).
3 Add a while loop in the xinitrc to wait for /tmp/.X11-unix/X0 (when the unix socket is in place XopenDisplay() should work)
Code: Select all
while ([ ! -S /tmp/.X11-unix/X0 ]) do sleep .1;done
jwm -display :0
I'd have to look at #1, but in the mean time I could just patch xcalc to use the bitmap as builtin data rather than needing an external file ... or put the data in a sane place like /usr/share/xcalc/calculator so it doesn't get DEVX'ed
Edit Xcalc uses libXaw which seems to be causing the problem:
https://cgit.freedesktop.org/xorg/lib/l ... c/Pixmap.c so this may be related to jwm's title bar icon changes from a while ago.
Edit2: Debian uses /usr/share/x11/bitmaps/
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].