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 β€” prints FVWM_MODULEDIR, aka where the modules are installed
  • -d, --fvwm-datadir β€” prints FVWM_DATADIR, aka where the system wide configs are installed
  • -p, --fvwm-perllibdir β€” prints FVWM_PERLLIBDIR, aka where the perl library is installed
  • -I, --default-imagepath β€” prints the built-in ImagePath
  • -U, --default-userdir β€” prints the default FVWM_USERDIR. ⚠️ note: $HOME is 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: 0 if the <feature> is supported, 100 if it's not, 200 if it's unknown. you can find all the feature names (or the supported ones) with --info or --supports respectively πŸ‘€

🌈 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 ✨πŸ’