Re: FVWM: 2.2 -> 2.4 upgrade

From: Dominik Vogt <fvwm_at_fvwm.org>
Date: Mon, 5 Jan 2004 12:20:42 +0100

On Fri, Dec 19, 2003 at 05:04:54PM -0800, Perry Hutchison wrote:
> After a system upgrade from Red Hat 6.2 to 9.0, which upgraded FVWM
> from 2.2.4 to 2.4.16, I am trying to convert my .fvwm2rc file.
> The fvwm24_convert script did part of the job, but complains about
> placement styles and refers to the man page. The man page describes
> what to do with several combinations, but not with these:

It *is* in the man page:

  Style * SmartPlacement, RandomPlacement, CleverPlacementOff
    -->
  Style * TileCascadePlacement

It may be a bit confusing since it explicitly lists
CleverPlacementOff which is the default.

> Style "*" RandomPlacement, SmartPlacement

  Style * TileCascadePlacement

> Style "xcalc" Icon xcalc.xpm, NoButton 2,RandomPlacement,ClickToFocus
> Style "xmh" RandomPlacement, NoButton 2
> Style "xman" Icon xman.xpm, RandomPlacement, ClickToFocus
> Style "xmag" Icon mag_glass.xpm, RandomPlacement, ClickToFocus
> Style "xgraph" Icon graphs.xpm, RandomPlacement, ClickToFocus

-> Just remove "RandomPlacement". It does nothing here since it
does not change what you specified with the "*" style. If you
want to disable SmartPlacement for these windows, use

  Style ... CascadePlacement

(or in 2.2: Style ... DumbPlacement, RandomPlacement)

> Also, I have a lot of decors similar to this:
>
> AddToDecor FvwmCons HilightColor black green
>
> which apparently should change to
>
> AddToDecor FvwmCons HilightFore black, HilightBack green
>
> This looks like a simple enough transformation to have been done
> automatically, and the script did convert a standalone
>
> HilightColor black yellow
>
> to
>
> Style "*" HilightFore black, HilightBack yellow
>
> but it did not convert HilightColor within AddToDecor or even comment
> on what should be done. Is there something more to it?

No, the script apparently does not handle commands buried in
decors. Just change it manually.

Ciao

Dominik ^_^ ^_^
--
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 Mon Jan 05 2004 - 05:22:56 GMT

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