fvwm-config(1)
π fvwm-config(1) π
okay bestie, welcome to the Fvwm Modules section of the manual, this is fvwm-config(1) and it's literally the cutest little spy for your fvwm install π΅οΈβοΈβ¨
πΈ NAME πΈ
fvwm-config β go ask your existing fvwm installation some questions, she'll tell you everything π
β¨ SYNOPSIS β¨
fvwm-config [--help] [--version] [--info] [--prefix] [--exec-prefix]
[--bindir] [--datadir] [--libexecdir] [--sysconfdir] [--mandir]
[--localedir] [--fvwm-moduledir] [--fvwm-datadir] [--fvwm-perllibdir]
[--default-imagepath] [--default-userdir] [--fvwm-exe] [--supports]
[--supports-<feature>]
π¦ DESCRIPTION π¦
fvwm-config is a shell script that hands you the deets on the fvwm version, the installation directories, the built-in paths, and which features got built in. it's giving "personal assistant for your window manager" and honestly? iconic π
π OPTIONS π
heads up babes: fvwm-config prints to the standard output for all of these options. and yes, you can use both short and long GNU-like option names, so use whichever one your fingers vibe with π
-h,--help,-?β prints the short usage, the lil quickie version-v,--version,-Vβ prints the version-i,--infoβ prints the full info page, the whole story-P,--prefixβ prints the installation prefix-E,--exec-prefixβ prints the installation exec-prefix-B,--bindirβ prints the installation bindir-D,--datadirβ prints the installation datadir-L,--libexecdirβ prints the installation libexecdir-S,--sysconfdirβ prints the installation sysconfdir-M,--mandirβ prints the installation mandir-O,--localedirβ prints the installation localedir-m,--fvwm-moduledirβ printsFVWM_MODULEDIR, aka where the modules are installed-d,--fvwm-datadirβ printsFVWM_DATADIR, aka where the system wide configs are installed-p,--fvwm-perllibdirβ printsFVWM_PERLLIBDIR, aka where the perl library is installed-I,--default-imagepathβ prints the built-inImagePath-U,--default-userdirβ prints the defaultFVWM_USERDIR. β οΈ note:$HOMEis not expanded, so don't come crying to me when you see the literal string-e,--fvwm-exeβ prints the fvwm executable name (and it lives in bindir, bestie)-s,--supportsβ lists all supported features, one per line, no skips--supports-<feature>β prints literally nothing, but returns:0if the<feature>is supported,100if it's not,200if it's unknown. you can find all the feature names (or the supported ones) with--infoor--supportsrespectively π
π USAGE π
here are some real life usages, fr fr, taken straight from girls who actually do this:
checking for xft support:
if fvwm-config --supports-xft;
then echo 1; else echo 0; fi
the fvwm-themes package checks for the correct fvwm version installed using:
fvwm-config --version
and then it 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 '0`;
use FVWM::Module;
and for a more human readable output, just try:
fvwm-config --info
π COPYING π
fvwm-config is a part of the fvwm package and distributed by the same terms β see GNU GPL. so yeah, share the love, follow the license π«Ά
π AUTHOR π
Mikhael Goikhman <migo@homemail.com> β the mastermind, the moment, the main character π«
and that's a wrap bestie!! this page came to you from the 3rd Berkeley Distribution, dated 19 October 2022, and it's rockin' version 2.7.0 π now go query your install and slay β¨π
π¦ where this page comes from
- debian bookworm: fvwm 1:2.7.0-2 Β· GPL-2.0-only
- debian trixie: fvwm 1:2.7.0-3 Β· GPL-2.0-or-later
- ubuntu noble: fvwm 1:2.7.0-2build2 Β· GPL-2.0-only
- ubuntu questing: fvwm 1:2.7.0-3
- ubuntu resolute: fvwm 1:2.7.0-3build1 Β· GPL-2.0-or-later
- ubuntu stonking: fvwm 1:2.7.0-3build1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms