Re: FVWM: WindowMaker dockapps under FVWM ?

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Wed, 1 May 2002 20:57:59 +0000

On 30 Apr 2002 19:22:01 -0400, waltdnes_at_waltdnes.org wrote:
>
> I'm now using CRUX linux ( http://crux.nu ). It's lightweight, all
> optimized/compiled as "-march=i686". While it cuts out unecessary junk
> (the distro is under 200 Megs) it's quite modern, using Resierfs and
> devfs by default. FVWM fits right in with the lightweight approach, and
> on my 2 machines (433 and 450 mhz, both with 128 megs of RAM) it's a
> nice combo. The distro's author has also written a "WindowMaker dockapp"
> to handle sound settings. I'm having a few problems with it. Here's a
> question I posted on the CRUX list, and the author's response. Does
> anybody know the answer to his question ?
>
> > > Maybe I should re-phrase my question. I am *NOT* talking about
> > > the size of the sliders. I'm talking about the size of the window
> > > that it starts up in. I'm runninf FVWM as my Window Manager.
> > > Mixer.app starts up in the absolute smallest possible size *WINDOW*
> > > imaginable. I think it's 10x10 pixels. And that's only because of
> > > the decorations on its window. The window needs to be approx 64x64
> > > pixels to show the sliders. Also, the Mixer.app window doesn't
> > > respond to the "Close" button. I have to open the window menu and
> > > select "Destroy".
> >
> > I haven't used FVWM since -95 or something so I'm not very up
> > to date with it, but are you sure FVWM can handle WindowMaker
> > dockapps? Do other WindowMaker dockapps work? In that case
> > which ones?

WindowMaker dockapps are programs drawing into their 64x64 window.
Any properly written X program should work nicely in FVWM. The problem is
that some dockapps are not written properly as regular X applications.
But most of docapps in http://www.bensinclair.com/dockapp/ should work ok:

  http://fvwm-ewmh.sourceforge.net/screenshots/standard.png

> As mentioned above, this app won't accept a "-geometry" parameter on
> the commandline or respond to a "Close" button. I've tried...

The best solution is to fix this program. Some time ago Dominik patched
wmfishtank to be more standard (support window manager delete protocol,
set hints correctly and draw to both normal window and icon window
depending on state, not only to one window depending on switch), but it
seems that the author did not release the corrected version...

> DestroyFunc Mixer
> AddToFunc Mixer
> + I Exec /usr/GNUstep/Apps/Mixer.app/Mixer -1 VOLUME -2 PCM -3 CD
> + Wait Mixer.app
> + I All (Mixer.app) Raise
> + I All (Mixer.app) Resize 70 60
>
> (The window title is "Mixer.app") In my menu, I invoke it like so...
> + "Mixer" Function Mixer

Just to be sure. Do you have "I" before "Wait"? It can't work without it.
Also please take a look at the standard error stream, it may contain
messages about this app.

> but it still starts with a miniscule window, and I have to manually
> resize it. Would I be better off swallowing it into FvwmButtons ?

If you specify a geometry of the FvwmButtons button, then yes, this app is
resized automatically.

Regards,
Mikhael.
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Wed May 01 2002 - 15:59:03 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:53 BST