fvwm.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Sat, 12 Dec 2015 00:22:04 +0200
changeset 1814 5cdc89c9d0ae
parent 1690 6347c3d54167
child 1905 fba288d59662
permissions -rw-r--r--
Debug FVWM.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1453
26085615bf98 Dump Fvwm configuration in runtime.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     1
.. -*- coding: utf-8; -*-
26085615bf98 Dump Fvwm configuration in runtime.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     2
.. include:: HEADER.rst
26085615bf98 Dump Fvwm configuration in runtime.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     3
26085615bf98 Dump Fvwm configuration in runtime.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     4
=======
26085615bf98 Dump Fvwm configuration in runtime.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     5
 FVWM.
26085615bf98 Dump Fvwm configuration in runtime.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     6
=======
26085615bf98 Dump Fvwm configuration in runtime.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     7
.. contents::
26085615bf98 Dump Fvwm configuration in runtime.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     8
26085615bf98 Dump Fvwm configuration in runtime.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     9
Obtain FVWM capabilities.
26085615bf98 Dump Fvwm configuration in runtime.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    10
=========================
26085615bf98 Dump Fvwm configuration in runtime.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    11
::
26085615bf98 Dump Fvwm configuration in runtime.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    12
26085615bf98 Dump Fvwm configuration in runtime.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    13
  $ fvwm-config --supports
26085615bf98 Dump Fvwm configuration in runtime.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    14
  $ if fvwm-config --supports-xft; then echo yes; else echo no; fi
26085615bf98 Dump Fvwm configuration in runtime.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    15
26085615bf98 Dump Fvwm configuration in runtime.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    16
  $ fvwm-config --info
26085615bf98 Dump Fvwm configuration in runtime.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    17
  $ fvwm-config --prefix
26085615bf98 Dump Fvwm configuration in runtime.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    18
  $ fvwm-config --bindir
26085615bf98 Dump Fvwm configuration in runtime.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    19
  $ fvwm-config --fvwm-moduledir
26085615bf98 Dump Fvwm configuration in runtime.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    20
26085615bf98 Dump Fvwm configuration in runtime.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    21
Dump Fvwm configuration in runtime.
26085615bf98 Dump Fvwm configuration in runtime.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    22
===================================
26085615bf98 Dump Fvwm configuration in runtime.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    23
26085615bf98 Dump Fvwm configuration in runtime.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    24
Run in Fvwm console::
26085615bf98 Dump Fvwm configuration in runtime.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    25
26085615bf98 Dump Fvwm configuration in runtime.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    26
  PrintInfo style 2
26085615bf98 Dump Fvwm configuration in runtime.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    27
  PrintInfo bindings
26085615bf98 Dump Fvwm configuration in runtime.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    28
26085615bf98 Dump Fvwm configuration in runtime.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    29
and check results in ``~/.xsession-errors``.
26085615bf98 Dump Fvwm configuration in runtime.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    30
1620
6a159ac9641b send_configinfo
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1543
diff changeset
    31
Check functions from ``fvwm/functable.c``::
6a159ac9641b send_configinfo
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1543
diff changeset
    32
6a159ac9641b send_configinfo
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1543
diff changeset
    33
  $ FvwmCommand -i1 send_configinfo
6a159ac9641b send_configinfo
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1543
diff changeset
    34
  $ FvwmCommand -i1 send_windowlist
6a159ac9641b send_configinfo
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1543
diff changeset
    35
  $ FvwmCommand -i3 send_windowlist
6a159ac9641b send_configinfo
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1543
diff changeset
    36
1814
5cdc89c9d0ae Debug FVWM.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1690
diff changeset
    37
Debug FVWM.
5cdc89c9d0ae Debug FVWM.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1690
diff changeset
    38
===========
5cdc89c9d0ae Debug FVWM.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1690
diff changeset
    39
::
5cdc89c9d0ae Debug FVWM.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1690
diff changeset
    40
5cdc89c9d0ae Debug FVWM.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1690
diff changeset
    41
  $ ./configure --enable-debug-msgs --enable-command-log
5cdc89c9d0ae Debug FVWM.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1690
diff changeset
    42
  $ fvwm -D
5cdc89c9d0ae Debug FVWM.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1690
diff changeset
    43
5cdc89c9d0ae Debug FVWM.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1690
diff changeset
    44
1453
26085615bf98 Dump Fvwm configuration in runtime.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    45
Perl module for FVWM.
26085615bf98 Dump Fvwm configuration in runtime.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    46
=====================
26085615bf98 Dump Fvwm configuration in runtime.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    47
::
26085615bf98 Dump Fvwm configuration in runtime.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    48
26085615bf98 Dump Fvwm configuration in runtime.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    49
  #!/usr/bin/perl -w
26085615bf98 Dump Fvwm configuration in runtime.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    50
  use lib `fvwm-perllib dir`;
26085615bf98 Dump Fvwm configuration in runtime.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    51
  use FVWM::Module;
26085615bf98 Dump Fvwm configuration in runtime.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    52
26085615bf98 Dump Fvwm configuration in runtime.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    53
or::
26085615bf98 Dump Fvwm configuration in runtime.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    54
26085615bf98 Dump Fvwm configuration in runtime.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    55
  use lib `fvwm-config -p | tr -d '0`;
26085615bf98 Dump Fvwm configuration in runtime.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    56
  use FVWM::Module;
26085615bf98 Dump Fvwm configuration in runtime.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    57
26085615bf98 Dump Fvwm configuration in runtime.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    58
FVWM Themes.
26085615bf98 Dump Fvwm configuration in runtime.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    59
============
26085615bf98 Dump Fvwm configuration in runtime.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    60
26085615bf98 Dump Fvwm configuration in runtime.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    61
See
26085615bf98 Dump Fvwm configuration in runtime.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    62
26085615bf98 Dump Fvwm configuration in runtime.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    63
  http://fvwm-themes.sourceforge.net/
1543
a776603b338b FVWM configs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1453
diff changeset
    64
a776603b338b FVWM configs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1453
diff changeset
    65
FVWM configs.
a776603b338b FVWM configs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1453
diff changeset
    66
=============
a776603b338b FVWM configs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1453
diff changeset
    67
a776603b338b FVWM configs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1453
diff changeset
    68
  http://home.gna.org/fvwm-crystal/features.html
a776603b338b FVWM configs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1453
diff changeset
    69
                Usable for ideas how to do things.
a776603b338b FVWM configs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1453
diff changeset
    70
1690
6347c3d54167 Xdg-menu
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1620
diff changeset
    71
Menu.
6347c3d54167 Xdg-menu
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1620
diff changeset
    72
=====
6347c3d54167 Xdg-menu
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1620
diff changeset
    73
6347c3d54167 Xdg-menu
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1620
diff changeset
    74
  https://wiki.archlinux.org/index.php/Xdg-menu
6347c3d54167 Xdg-menu
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1620
diff changeset
    75
    Generates menus for WMs using the Free Desktop menu standard.
6347c3d54167 Xdg-menu
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1620
diff changeset
    76