Icewm menu fix

01micko posted a fix for Icewm menu:

http://www.murga-linux.com/puppy/viewtopic.php?p=436174#436174

I have applied this in package 'xdg_puppy-0.7.6-12-p4.pet', uploaded here:

http://distro.ibiblio.org/pub/linux/distributions/quirky/pet_packages-quirky/xdg_puppy-0.7.6-12-p4.pet

This will be the package used in Woof builds, when I upload the latest Woof.

One problem though. File /etc/xdg/templates/_root_.icewm_menu has this line:

restart "Restart with JWM" mini-windows jwmx

To make it "normal" I removed the "x" character off the end. The "jwmx" may be a requirement in Lupu but will not be correct for other builds of Puppy.

For Lupu, there are possible workarounds if 'jwmx' is required to be run first.


Posted on 9 Aug 2010, 17:15


Comments:

Posted on 9 Aug 2010, 21:54 by 01micko
be careful, icewm
Not sure if you have the correct package, late here now, will check tomorrow

Cheers



Posted on 10 Aug 2010, 5:51 by 01micko
ice xdg template
Hi Barry

Yes, that seems to be the current version, the main thing was the menu icons.

The jwmx call is a work-around for updating /etc/windowmanager which the icewm exec (or any other WM) doesn't know about. It also calls another script to update tray icons, icewm handles them quite differently.

Calling any WM from inside X is going to present a whole new set of problems and perhaps that feature should be reviewed.

Cheers


Posted on 10 Aug 2010, 8:00 by BarryK
Fixing Icewm menu
Ok, I know how to fix it. Replace this line:

restart "Restart with JWM" mini-windows jwm

with:

prog "Restart with JWM" mini-windows restartwm jwm

...my question though, is Icewm able to handle a parameter for restartwm? The passed parameter "jwm" sets that as the default.

If you confirm that works, I will update the xdg_puppy package, also put in a pinstall.sh script to delete restarts for window managers that aren't installed.



Posted on 10 Aug 2010, 8:07 by BarryK
re jwmx
Also, I will download Lupu 5.1 and take a look at jwmx, see whatever else needs doing (uch as special icon handling you mentioned).



Posted on 11 Aug 2010, 6:49 by 01micko
re jwmx
Hi Barry

prog "Restart with JWM" mini-windows restartwm jwm indeed does work. That would be the best default action for woof, maybe other wms too.

We worked around it without the X restart and it's fine for Lupu.

One innovation I'd like to call to your attention is that we have our "first start wizard" working in full installs, could easily be adapted for woof so that a user gets the intro and 2barks in a full install in first run.

Cheers


Posted on 12 Aug 2010, 9:14 by BarryK
xdg_puppy PET
Ok, I have fixed and re-uploaded the xdg_puppy PET package.



Posted on 15 Aug 2010, 16:14 by 01micko
xfce in ice menu
Hi Barry

The call restartwm startxfce4 works well for xfce in the ice menu.

This is an xfce package compiled by dejan555 in dpup but it works just fine in lupu.

The /root/.xinitrc file will need a tweak too. I see xfce stuff in there but I guess that would be stuff from your very early woof alphas, was that an arch puppy from memory?

Cheers


Posted on 15 Aug 2010, 17:51 by BarryK
Re xfce stuff
I did experiment with xfce awhile back, but my mind is a blank on any details.



Posted on 16 Aug 2010, 19:10 by 01micko
WMs
Hi Barry (er, forgot to mention, all my intels are fine in Lupu, have 4)


I have been doing plenty of work with the tray icons in various window managers.

I have urged Larry to upgrade to your latest tray apps, they are neat, all work fine in jwm, icewm and xfce and soon to test lxde/openbox. Will later do tests with FB panel and even tint2.

There will need to be changes in /usr/sbin/delayedrun, nothing major, but it gets rid of all that rubbish I have in ~/Startup for Icewm, and will suit anyone installing icewm in any woof based Puppy.

The only thing left to attack now is Xload. It's the only "swallowed" app left. Oh, and we are still at retrovol-0.6 in Lupu, pizzasgood is up to v-0.8 I see, I wonder if he has removed the "-bg" option, will check, it is a pain in jwm and icewm.

Soon I will have a template for xfce4.

Cheers