fvwm.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Mon, 22 Feb 2016 12:41:52 +0200
changeset 1903 901e7394849f
parent 1814 5cdc89c9d0ae
child 1905 fba288d59662
permissions -rw-r--r--
Decrease intent to increase space usage on mobile.

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

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.