'\" t .\" Title: fvwm-config .\" Author: [see the "AUTHOR(S)" section] .\" Generator: Asciidoctor 2.0.17 .\" Date: 2022-10-21 .\" Manual: \ \& .\" Source: \ \& .\" Language: English .\" .TH "FVWM\-CONFIG" "1" "2022-10-21" "\ \&" "\ \&" .ie \n(.g .ds Aq \(aq .el .ds Aq ' .ss \n[.ss] 0 .nh .ad l .de URL \fI\\$2\fP <\\$1>\\$3 .. .als MTO URL .if \n[.g] \{\ . mso www.tmac . am URL . ad l . . . am MTO . ad l . . . LINKSTYLE blue R < > .\} .SH "NAME" fvwm-config \- query an existing fvwm installation .SH "SYNOPSIS" .sp \fBfvwm\-config\fP [\fI\-\-help\fP] [\fI\-\-version\fP] [\fI\-\-info\fP] [\fI\-\-prefix\fP] .SH "DESCRIPTION" .sp \fBfvwm\-config\fP is a shell script that provides an information about the fvwm version, installation directories, built\-in paths and supported features. .SH "OPTIONS" .sp \fBfvwm\-config\fP prints to the standard output in all options. Both short and long GNU\-like option names may be used. .sp \fB\-h \-\-help \-?\fP .RS 4 prints the short usage .RE .sp \fB\-v \-\-version \-V\fP .RS 4 prints the version .RE .sp \fB\-i \-\-info\fP .RS 4 prints the full info page .RE .sp \fB\-P \-\-prefix\fP .RS 4 prints the installation prefix .RE .sp \fB\-E \-\-exec\-prefix\fP .RS 4 prints the installation exec\-prefix .RE .sp \fB\-B \-\-bindir\fP .RS 4 prints the installation bindir .RE .sp \fB\-D \-\-datadir\fP .RS 4 prints the installation datadir .RE .sp \fB\-L \-\-libexecdir\fP .RS 4 prints the installation libexecdir .RE .sp \fB\-S \-\-sysconfdir\fP .RS 4 prints the installation sysconfdir .RE .sp \fB\-M \-\-mandir\fP .RS 4 prints the installation mandir .RE .sp \fB\-O \-\-localedir\fP .RS 4 prints the installation localedir .RE .sp \fB\-m \-\-fvwm\-moduledir\fP .RS 4 prints FVWM_MODULEDIR, where the modules are installed .RE .sp \fB\-d \-\-fvwm\-datadir\fP .RS 4 prints FVWM_DATADIR, where the system wide configs are installed .RE .sp \fB\-p \-\-fvwm\-perllibdir\fP .RS 4 prints FVWM_PERLLIBDIR, where the perl library is installed .RE .sp \fB\-I \-\-default\-imagepath\fP .RS 4 prints the built\-in ImagePath .RE .sp \fB\-U \-\-default\-userdir\fP .RS 4 prints the default FVWM_USERDIR, note: $HOME is not expanded .RE .sp \fB\-e \-\-fvwm\-exe\fP .RS 4 prints the fvwm executable name (in bindir) .RE .sp \fB\-s \-\-supports\fP .RS 4 lists all supported features, one per line .RE .sp \fB\-\-supports\-\fP\fI\fP .RS 4 prints nothing, returns: 0 if the \fI\fP is supported, 100 if not, 200 if unknown. All or supported feature names may be found using \fI\-\-info\fP or \fI\-\-supports\fP respectively. .RE .SH "USAGE" .sp Here are some real life usages. .sp Checks for xft support: if fvwm\-config \-\-supports\-xft; then echo 1; else echo 0; fi .sp \fIfvwm\-themes\fP package checks for the correct \fIfvwm\fP version installed using: fvwm\-config \-\-version .sp and tries to use the same installation directories: fvwm\-config \-\-bindir \-\-mandir \-\-fvwm\-datadir .sp A way to find the full path to the fvwm executable: echo \f(CRfvwm\-config \-\-bindir\fP/\f(CRfvwm\-config \-\-fvwm\-exe\fP .sp A way to start modules in perl: use lib \f(CRfvwm\-config \-p | tr \-d \*(Aq\fP; use FVWM::Module; .sp For a more human readable output, try: fvwm\-config \-\-info .SH "COPYING" .sp \fBfvwm\-config\fP is a part of fvwm package and distributed by the same terms, see GNU GPL. .SH "AUTHOR" .sp Mikhael Goikhman \c .MTO "migo\(athomemail.com" "" ""