1fvwm-config(1)                   Fvwm Modules                   fvwm-config(1)
2
3
4

NAME

6       fvwm-config - query an existing fvwm installation
7

SYNOPSIS

9       fvwm-config  [--help]  [--version]  [--info] [--prefix] [--exec-prefix]
10       [--bindir]   [--datadir]   [--libexecdir]   [--sysconfdir]   [--mandir]
11       [--localedir]  [--fvwm-moduledir]  [--fvwm-datadir] [--fvwm-perllibdir]
12       [--default-imagepath]  [--default-userdir]  [--fvwm-exe]   [--supports]
13       [--supports-<feature>]
14

DESCRIPTION

16       fvwm-config  is  a  shell script that provides an information about the
17       fvwm version, installation directories, built-in  paths  and  supported
18       features.
19

OPTIONS

21       fvwm-config  prints  to the standard output in all options.  Both short
22       and long GNU-like option names may be used.
23
24       -h --help -?
25              prints the short usage
26
27       -v --version -V
28              prints the version
29
30       -i --info
31              prints the full info page
32
33       -P --prefix
34              prints the installation prefix
35
36       -E --exec-prefix
37              prints the installation exec-prefix
38
39       -B --bindir
40              prints the installation bindir
41
42       -D --datadir
43              prints the installation datadir
44
45       -L --libexecdir
46              prints the installation libexecdir
47
48       -S --sysconfdir
49              prints the installation sysconfdir
50
51       -M --mandir
52              prints the installation mandir
53
54       -O --localedir
55              prints the installation localedir
56
57       -m --fvwm-moduledir
58              prints FVWM_MODULEDIR, where the modules are installed
59
60       -d --fvwm-datadir
61              prints FVWM_DATADIR, where the system wide configs are installed
62
63       -p --fvwm-perllibdir
64              prints FVWM_PERLLIBDIR, where the perl library is installed
65
66       -I --default-imagepath
67              prints the built-in ImagePath
68
69       -U --default-userdir
70              prints the default FVWM_USERDIR, note: $HOME is not expanded
71
72       -e --fvwm-exe
73              prints the fvwm executable name (in bindir)
74
75       -s --supports
76              lists all supported features, one per line
77
78       --supports-<feature>
79              prints nothing, returns: 0 if the <feature> is supported, 100 if
80              not,  200  if  unknown.   All  or supported feature names may be
81              found using --info or --supports respectively.
82
83
84       USAGE  Here are some real life usages.
85
86              Checks for xft support:
87              if fvwm-config --supports-xft;
88                then echo 1; else echo 0; fi
89
90              fvwm-themes  package  checks  for  the  correct   fvwm   version
91              installed using:
92              fvwm-config --version
93              and tries to use the same installation directories:
94              fvwm-config --bindir --mandir --fvwm-datadir
95
96              A way to find the full path to the fvwm executable:
97              echo `fvwm-config --bindir`/`fvwm-config --fvwm-exe`
98
99              A way to start modules in perl:
100              use lib `fvwm-config -p | tr -d '0`;
101              use FVWM::Module;
102
103              For a more human readable output, try:
104              fvwm-config --info
105

COPYING

107       fvwm-config  is  a  part  of  fvwm  package and distributed by the same
108       terms, see GNU GPL.
109

AUTHOR

111       Mikhael Goikhman <migo@homemail.com>
112
113
114
1153rd Berkeley Distribution  06 November 2016 (2.6.7)             fvwm-config(1)
Impressum