author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Wed, 05 Aug 2015 23:55:34 +0300 | |
changeset 1729 | 22ffd80639c0 |
parent 1690 | 6347c3d54167 |
child 1814 | 5cdc89c9d0ae |
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 |
||
1453
26085615bf98
Dump Fvwm configuration in runtime.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
37 |
Perl module for FVWM. |
26085615bf98
Dump Fvwm configuration in runtime.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
38 |
===================== |
26085615bf98
Dump Fvwm configuration in runtime.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
39 |
:: |
26085615bf98
Dump Fvwm configuration in runtime.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
40 |
|
26085615bf98
Dump Fvwm configuration in runtime.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
41 |
#!/usr/bin/perl -w |
26085615bf98
Dump Fvwm configuration in runtime.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
42 |
use lib `fvwm-perllib dir`; |
26085615bf98
Dump Fvwm configuration in runtime.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
43 |
use FVWM::Module; |
26085615bf98
Dump Fvwm configuration in runtime.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
44 |
|
26085615bf98
Dump Fvwm configuration in runtime.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
45 |
or:: |
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 |
use lib `fvwm-config -p | tr -d '0`; |
26085615bf98
Dump Fvwm configuration in runtime.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
48 |
use FVWM::Module; |
26085615bf98
Dump Fvwm configuration in runtime.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
49 |
|
26085615bf98
Dump Fvwm configuration in runtime.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
50 |
FVWM Themes. |
26085615bf98
Dump Fvwm configuration in runtime.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
51 |
============ |
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 |
See |
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 |
http://fvwm-themes.sourceforge.net/ |
1543 | 56 |
|
57 |
FVWM configs. |
|
58 |
============= |
|
59 |
||
60 |
http://home.gna.org/fvwm-crystal/features.html |
|
61 |
Usable for ideas how to do things. |
|
62 |
||
1690 | 63 |
Menu. |
64 |
===== |
|
65 |
||
66 |
https://wiki.archlinux.org/index.php/Xdg-menu |
|
67 |
Generates menus for WMs using the Free Desktop menu standard. |
|
68 |