FVWM-CONFIG(1) | FVWM-CONFIG(1) |
NAME¶
fvwm-config - query an existing fvwm installation
SYNOPSIS¶
fvwm-config [--help] [--version] [--info] [--prefix]
DESCRIPTION¶
fvwm-config is a shell script that provides an information about the fvwm version, installation directories, built-in paths and supported features.
OPTIONS¶
fvwm-config prints to the standard output in all options. Both short and long GNU-like option names may be used.
-h --help -?
-v --version -V
-i --info
-P --prefix
-E --exec-prefix
-B --bindir
-D --datadir
-L --libexecdir
-S --sysconfdir
-M --mandir
-O --localedir
-m --fvwm-moduledir
-d --fvwm-datadir
-p --fvwm-perllibdir
-I --default-imagepath
-U --default-userdir
-e --fvwm-exe
-s --supports
--supports-<feature>
USAGE¶
Here are some real life usages.
Checks for xft support: if fvwm-config --supports-xft; then echo 1; else echo 0; fi
fvwm-themes package checks for the correct fvwm version installed using: fvwm-config --version
and tries to use the same installation directories: fvwm-config --bindir --mandir --fvwm-datadir
A way to find the full path to the fvwm executable: echo fvwm-config --bindir/fvwm-config --fvwm-exe
A way to start modules in perl: use lib fvwm-config -p | tr -d '; use FVWM::Module;
For a more human readable output, try: fvwm-config --info
COPYING¶
fvwm-config is a part of fvwm package and distributed by the same terms, see GNU GPL.
AUTHOR¶
Mikhael Goikhman <migo@homemail.com>
2022-10-21 |