Dump Fvwm configuration in runtime.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Thu, 24 Jan 2013 11:55:15 +0200
changeset 1453 26085615bf98
parent 1451 f85370e9a785
child 1454 1c80f90d5a44
Dump Fvwm configuration in runtime.
fvwm.rst
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/fvwm.rst	Thu Jan 24 11:55:15 2013 +0200
@@ -0,0 +1,49 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+=======
+ FVWM.
+=======
+.. contents::
+
+Obtain FVWM capabilities.
+=========================
+::
+
+  $ fvwm-config --supports
+  $ if fvwm-config --supports-xft; then echo yes; else echo no; fi
+
+  $ fvwm-config --info
+  $ fvwm-config --prefix
+  $ fvwm-config --bindir
+  $ fvwm-config --fvwm-moduledir
+
+Dump Fvwm configuration in runtime.
+===================================
+
+Run in Fvwm console::
+
+  PrintInfo style 2
+  PrintInfo bindings
+
+and check results in ``~/.xsession-errors``.
+
+Perl module for FVWM.
+=====================
+::
+
+  #!/usr/bin/perl -w
+  use lib `fvwm-perllib dir`;
+  use FVWM::Module;
+
+or::
+
+  use lib `fvwm-config -p | tr -d '0`;
+  use FVWM::Module;
+
+FVWM Themes.
+============
+
+See
+
+  http://fvwm-themes.sourceforge.net/