Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

fvwm-config(1) [suse man page]

fvwm-config(1)							   Fvwm Modules 						    fvwm-config(1)

NAME
fvwm-config - query an existing fvwm installation 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>] [--is-final] [--is-stable] [--release-date] DESCRIPTION
fvwm-config is a shell script that provides an information about the fvwm version, installation directories, built-in paths and supported features. OPTIONS
fvwm-config prints to the standard output in all options. Both short and long GNU-like option names may be used. -h --help -? prints the short usage -v --version -V prints the version -i --info prints the full info page -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, where the modules are installed -d --fvwm-datadir prints FVWM_DATADIR, where the system wide configs are installed -p --fvwm-perllibdir prints FVWM_PERLLIBDIR, 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 -e --fvwm-exe prints the fvwm executable name (in bindir) -s --supports lists all supported features, one per line --supports-<feature> prints nothing, returns: 0 if the <feature> is supported, 100 if not, 200 if unknown. All or supported feature names may be found using --info or --supports respectively. --is-final prints "yes" for final releases and "no" for cvs snapshots --is-stable prints "yes" for the stable branch and "no" otherwise --release-date prints the release date if the release is final USAGE
Here are some real life usages. Checks for xft support: if fvwm-config --supports-xft; then echo 1; else echo 0; fi fvwm-themes package checks for the correct fvwm version installed using: fvwm-config --version and 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; For a more human readable output, try: fvwm-config --info COPYING
fvwm-config is a part of fvwm package and distributed by the same terms, see GNU GPL. AUTHOR
Mikhael Goikhman <migo@homemail.com> 3rd Berkeley Distribution 7 May 208 (2.5.26) fvwm-config(1)

Check Out this Related Man Page

FVWM-THEMES-START(1)					      General Commands Manual					      FVWM-THEMES-START(1)

NAME
fvwm-themes-start - FVWM Themes starter SYNOPSIS
fvwm-themes-start [ --session|-s name ] [ --no-start|-n ] [ --fvwm-exe|-e ] [ -- fvwm-args ] DESCRIPTION
This script runs fvwm with FVWM Themes. It should be run under X. Put a call to this script as the last line of your .Xclients, .xinitrc or .xsession file. OPTIONS
--session name - name of the FVWM Themes session. By default it is "main". This allows to have and run different FVWM Themes configuration. --no-start - do not start fvwm, just do preparation for starting it. This is useful to start FVWM Themes with a session manager, see FAQ. --fvwm-exe - changes the default executable, which is fvwm or whatever fvwm-config --fvwm-exe returns. -- everything after -- is passed to FVWM. See the fvwm(1) man page for the fvwm options. EXAMPLES
Most users just should put: fvwm-themes-start as the last line of their .Xclients, .xinitrc or .xsession file. If you want to use FVWM Themes with a real session manager, say GNOME, you need to use the --no-start option and put: fvwm-themes-start --no-start gnome-session as the last lines of your .Xclients, .xinitrc or .xsession file. The session option allows to use FVWM Themes with different configura- tions. Say, you want to use 3 different configurations under a normal FVWM session when FOO test is false, under gnome-session and under a normal FVWM session when FOO test is true. Then, your .xinitrc/.xsession file may look as follows (where $1 is the "first" argument given by startx, or by kdm or gdm ...): ... case $1 in fvwm) if FOO; Then fvwm-themes-start --session special else fvwm-themes-start fi ;; gnome) fvwm-themes-start --session gnome --no-start gnome-session ;; ... other cases ... esac Note that with most session managers (e.g., GNOME or XSM) it is preferable to give "fvwm -f themes-rc" as the starting window manager com- mand in the session manager. COPYING
The script is distributed by the same terms as fvwm-themes itself. See GNU General Public License for details. BUGS
Report bugs to fvwm-themes-devel@lists.sourceforge.net. Fvwm Utility 15/Aug/2000 FVWM-THEMES-START(1)
Man Page