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-- |
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 | 31 |
Check functions from ``fvwm/functable.c``:: |
32 |
||
33 |
$ FvwmCommand -i1 send_configinfo |
|
34 |
$ FvwmCommand -i1 send_windowlist |
|
35 |
$ FvwmCommand -i3 send_windowlist |
|
36 |
||
1814 | 37 |
Debug FVWM. |
38 |
=========== |
|
39 |
:: |
|
40 |
||
41 |
$ ./configure --enable-debug-msgs --enable-command-log |
|
42 |
$ fvwm -D |
|
43 |
||
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 | 64 |
|
65 |
FVWM configs. |
|
66 |
============= |
|
67 |
||
68 |
http://home.gna.org/fvwm-crystal/features.html |
|
69 |
Usable for ideas how to do things. |
|
70 |
||
1690 | 71 |
Menu. |
72 |
===== |
|
73 |
||
74 |
https://wiki.archlinux.org/index.php/Xdg-menu |
|
75 |
Generates menus for WMs using the Free Desktop menu standard. |
|
76 |