fvwm.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Mon, 22 Feb 2016 12:46:36 +0200
changeset 1905 fba288d59662
parent 1814 5cdc89c9d0ae
child 1912 8b81a8f0f692
permissions -rw-r--r--
Include only local subsections into TOC. This prevent duplication of TOC when build single page HTML document. Also this make unnecessary CSS hack to hide document title as top level section.

.. -*- coding: utf-8; -*-
.. include:: HEADER.rst

=======
 FVWM.
=======
.. contents::
   :local:

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``.

Check functions from ``fvwm/functable.c``::

  $ FvwmCommand -i1 send_configinfo
  $ FvwmCommand -i1 send_windowlist
  $ FvwmCommand -i3 send_windowlist

Debug FVWM.
===========
::

  $ ./configure --enable-debug-msgs --enable-command-log
  $ fvwm -D


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/

FVWM configs.
=============

  http://home.gna.org/fvwm-crystal/features.html
                Usable for ideas how to do things.

Menu.
=====

  https://wiki.archlinux.org/index.php/Xdg-menu
    Generates menus for WMs using the Free Desktop menu standard.