Section: Fvwm Modules (1)
Updated: 20 April 2012 (2.6.5)
fvwm-convert-2.6 - convert fvwm 2.4.x configuration file to fvwm 2.6 style
The following options are supported:
- --help | -h
Prints a usage message to the screen.
- --follow-read | -f
Follows files found along with the
converts an fvwm 2.4.x configuration file into a fvwm 2.6
file with compatible syntax. It is not suitable to convert older 2.x
configuration files. Please use
to convert these to the 2.2.x format first, and then if necessary
won't look for a given config file. This must be specified as the first
Different source and destination files may be given.
If the destination file already exists, this program exits.
If no destination file is given, then the filename is
the same name as the source file with the suffix ".converted"
added. Without an absolute path given as the destination path to the
destination file, the program will create the destination file in the CWD.
makes the following changes:
- Style lines
In fvwm 2.4, most style options could be negated from their counterparts
using NoFoo -- fvwm-convert-2.6 corrects this by now using !Foo.
In fvwm 2.4 and beyond, the ModulePath is compiled into fvwm.
comments out any ModulePath commands it finds.
If you are using your own modules, (not the ones that come with fvwm),
you will have to fix your configuration file after using
- Conditional command syntax
In fvwm 2.4, the conditional command options were whitespace-separated --
they should now be comma-separated instead. In addition, the older syntax
to Next and Prev of using [*] to denote all windows has been removed
entirely. Both these checks and conversions are done on function commands,
In fvwm 2.4, the WindowShadeSteps command is replaced by the
WindowShadeSteps Style option.
makes this change.
In fvwm 2.6, the FvwmTheme module is replaced by a series of Colorset
will try and make this change, it is still recommended that this is checked
In fvwm 2.6, the EdgeResistance command is has been split to include an
additional style option for EdgeMoveResistance.
makes any changes necessary.
- StartFunction / RestartFunction / InitFunction
In fvwm 2.6, the need for using InitFunction and/or RestartFunction is
redundant when StartFunction is read at both of these times.
attempts to convert this.
is given, any files
can detect and open will be converted automatically, else a list of files
that can be followed are printed to the screen.
are printed at the end of the files -- this slight reordering might put some
comments before in an odd spot.
When converting over FvwmTheme lines, the colorset definitions might well be
broken, but these cannot easily be converted.
Bug reports can be sent to the fvwm-workers mailing list (see the
Thomas Adam <email@example.com>