1 .\" @(#)@PACKAGE@-@VERSION@ @RELDATELONG@
15 .ta .3i .6i .9i 1.2i 1.5i 1.8i
16 .TH fvwm-config 1 "@RELDATELONG@ (@VERSION@)" Fvwm "Fvwm Modules"
19 fvwm-config \- query an existing fvwm installation
33 .RI [ --fvwm-moduledir ]
34 .RI [ --fvwm-datadir ]
35 .RI [ --fvwm-perllibdir ]
36 .RI [ --default-imagepath ]
37 .RI [ --default-userdir ]
40 .RI [ --supports-<feature> ]
43 .RI [ --release-date ]
46 is a shell script that provides an information about the fvwm version,
47 installation directories, built-in paths and supported features.
50 prints to the standard output in all options.
51 Both short and long GNU-like option names may be used.
54 prints the short usage
60 prints the full info page
63 prints the installation prefix
66 prints the installation exec-prefix
69 prints the installation bindir
72 prints the installation datadir
75 prints the installation libexecdir
78 prints the installation sysconfdir
81 prints the installation mandir
84 prints the installation localedir
86 .B -m --fvwm-moduledir
87 prints FVWM_MODULEDIR, where the modules are installed
90 prints FVWM_DATADIR, where the system wide configs are installed
92 .B -p --fvwm-perllibdir
93 prints FVWM_PERLLIBDIR, where the perl library is installed
95 .B -I --default-imagepath
96 prints the built-in ImagePath
98 .B -U --default-userdir
99 prints the default FVWM_USERDIR, note: $HOME is not expanded
102 prints the fvwm executable name (in bindir)
105 lists all supported features, one per line
107 .BI --supports- <feature>
108 prints nothing, returns: 0 if the
110 is supported, 100 if not, 200 if unknown.
111 All or supported feature names may be found using
112 .IR --info " or " --supports
116 prints "yes" for final releases and "no" for cvs snapshots
119 prints "yes" for the stable branch and "no" otherwise
122 prints the release date if the release is final
124 Here are some real life usages.
126 Checks for xft support:
128 if fvwm-config --supports-xft;
129 then echo 1; else echo 0; fi
133 package checks for the correct
135 version installed using:
137 fvwm-config --version
139 and tries to use the same installation directories:
141 fvwm-config --bindir --mandir --fvwm-datadir
144 A way to find the full path to the fvwm executable:
146 echo `fvwm-config --bindir`/`fvwm-config --fvwm-exe`
149 A way to start modules in perl:
151 use lib `fvwm-config -p | tr -d '\n'`;
155 For a more human readable output, try:
161 is a part of fvwm package and distributed by the same terms, see GNU GPL.
163 Mikhael Goikhman <migo@homemail.com>