site  contact  subhomenews

Icewm menu fix

August 09, 2010 — BarryK
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.

Comments

be careful, icewm
Username: 01micko
Not sure if you have the correct package, late here now, will check tomorrow Cheers "9 Aug 2010, 21:54"01752"115.64.206.145'ice xdg template"01micko"Hi Barry Yes, that seems to be the current version, the main thing was the menu icons. The [i]jwmx[/i] call is a work-around for updating [i]/etc/windowmanager[/i] 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"10 Aug 2010, 5:51"01752"115.64.206.145'Fixing Icewm menu"BarryK"Ok, I know how to fix it. Replace this line: [i] restart "Restart with JWM" mini-windows jwm[/i] with: [i] prog "Restart with JWM" mini-windows restartwm jwm[/i] ...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. Username: 10 Aug 2010, 8:00
"01752"114.76.54.13're jwmx"BarryK"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). Username: 10 Aug 2010, 8:07
"01752"114.76.54.13're jwmx"01micko"Hi Barry [i]prog "Restart with JWM" mini-windows restartwm jwm [/i] 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"11 Aug 2010, 6:49"01752"115.64.206.145'xdg_puppy PET"BarryK"Ok, I have fixed and re-uploaded the xdg_puppy PET package. Username: 12 Aug 2010, 9:14
"01752"114.129.167.148'xfce in ice menu"01micko"Hi Barry The call [i]restartwm startxfce4[/i] 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

Re xfce stuff
Username: BarryK
"I did experiment with xfce awhile back, but my mind is a blank on any details.

WMs
Username: 01micko
"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


Tags: woof