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>] [--is-final] [--is-stable] [--release-date]
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       --is-final
84              prints "yes" for final releases and "no" for cvs snapshots
85
86       --is-stable
87              prints "yes" for the stable branch and "no" otherwise
88
89       --release-date
90              prints the release date if the release is final
91

USAGE

93       Here are some real life usages.
94
95       Checks for xft support:
96       if fvwm-config --supports-xft;
97         then echo 1; else echo 0; fi
98
99       fvwm-themes package checks  for  the  correct  fvwm  version  installed
100       using:
101       fvwm-config --version
102       and tries to use the same installation directories:
103       fvwm-config --bindir --mandir --fvwm-datadir
104
105       A way to find the full path to the fvwm executable:
106       echo `fvwm-config --bindir`/`fvwm-config --fvwm-exe`
107
108       A way to start modules in perl:
109       use lib `fvwm-config -p | tr -d '0`;
110       use FVWM::Module;
111
112       For a more human readable output, try:
113       fvwm-config --info
114

COPYING

116       fvwm-config  is  a  part  of  fvwm  package and distributed by the same
117       terms, see GNU GPL.
118

AUTHOR

120       Mikhael Goikhman <migo@homemail.com>
121
122
123
1243rd Berkeley Distribution  24 November 2007 (2.5.24)            fvwm-config(1)
Impressum