author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Sun, 27 Nov 2011 23:21:26 +0200 | |
changeset 1098 | db420d971363 |
parent 1052 | fbbc2fb0a2ac |
child 1141 | 7c5ca700ff02 |
permissions | -rw-r--r-- |
1032
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1002
diff
changeset
|
1 |
.. -*- coding: utf-8 -*- |
978
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
2 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
3 |
==== |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
4 |
X. |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
5 |
==== |
1032
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1002
diff
changeset
|
6 |
.. contents:: |
978
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
7 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
8 |
Standard. |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
9 |
========= |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
10 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
11 |
See |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
12 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
13 |
http://www.tronche.com/gui/x/icccm/ |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
14 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
15 |
Getting info about X window and X-related applications data. |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
16 |
============================================================ |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
17 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
18 |
Look for system registered resources:: |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
19 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
20 |
$ listres |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
21 |
$ listres -all |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
22 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
23 |
$ appres XTerm |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
24 |
$ appres -name htop # for xterm with running bash inside |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
25 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
26 |
Look for X resources of running applications:: |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
27 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
28 |
$ xprop -root |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
29 |
$ xprop -name bash # for xterm with running bash inside |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
30 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
31 |
Making screenshort. |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
32 |
=================== |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
33 |
:: |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
34 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
35 |
$ sudo apt-get install scrot |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
36 |
$ scrot -d <sec> <file> |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
37 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
38 |
or:: |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
39 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
40 |
$ sudo apt-get install imagemagic |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
41 |
$ import -quality 100 -pause <sec> -silent <file> |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
42 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
43 |
Input method. |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
44 |
============= |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
45 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
46 |
Input method by setxkbmap. |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
47 |
-------------------------- |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
48 |
:: |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
49 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
50 |
$ setxkbmap ru |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
51 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
52 |
$ setxkbmap -rules xorg -model pc104 -layout "us,ru" -option "grp:rwin_toggle,grp_led:scroll" -variant ",winkeys" |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
53 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
54 |
Input method from xorg.conf. |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
55 |
---------------------------- |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
56 |
:: |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
57 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
58 |
Section "InputDevice" |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
59 |
Identifier "Keyboard0" |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
60 |
Driver "kbd" |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
61 |
Option "XkbModel" "pc105" |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
62 |
Option "XkbLayout" "us,ru" |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
63 |
Option "XkbVariant" ",winkeys" |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
64 |
Option "XkbOptions" "grp:rwin_switch,grp_led:scroll" |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
65 |
EndSection |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
66 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
67 |
.Xdefaults |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
68 |
========== |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
69 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
70 |
The syntax of an Xdefaults file is as follows:: |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
71 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
72 |
[client. | *][{restriction.} | *]resource: value |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
73 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
74 |
where: |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
75 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
76 |
client |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
77 |
The name of the application, some program allow change it by |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
78 |
'-name' option. This element is optional (can be substituated |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
79 |
with wildcard). |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
80 |
restriction |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
81 |
Class names or name of specific class instance. The classes |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
82 |
names conventionally start with an upper-case letter. |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
83 |
resource |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
84 |
The name of the resource whose value is to be changed. |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
85 |
Resources are typically lowercase with uppercase |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
86 |
concatenation. |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
87 |
value |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
88 |
The actual value of the resource. |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
89 |
delimiters |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
90 |
A period (.) is used to signify each step down into the |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
91 |
hierarchy. A colon (:) is used to separate the resource |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
92 |
declaration from the actual value. |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
93 |
|
1052
fbbc2fb0a2ac
Fix: (WARNING/2) Inline emphasis start-string without end-string.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1032
diff
changeset
|
94 |
Comment start with '!' char and goes up to end of line or C-like ``/* */``. |
978
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
95 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
96 |
Use xprop utility to find classes and resources used by application. |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
97 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
98 |
To reread your .Xresources file, and throw away your old resources:: |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
99 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
100 |
$ xrdb ~/.Xdefaults |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
101 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
102 |
To reread your .Xresources file, and keep your old resources:: |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
103 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
104 |
$ xrdb -merge ~/.Xdefaults |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
105 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
106 |
Example:: |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
107 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
108 |
*foreground: yellow |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
109 |
XClock*foreground: pink |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
110 |
Xman*topBox*foreground: blue |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
111 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
112 |
String value type. |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
113 |
------------------ |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
114 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
115 |
This can be path specification like '/usr/bin/firefox'. |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
116 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
117 |
Colors value type. |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
118 |
------------------ |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
119 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
120 |
For color names see '/usr/lib/X11/rgb.txt'. Also you can use hex |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
121 |
representation #ffffff. |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
122 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
123 |
Font value type. |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
124 |
---------------- |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
125 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
126 |
You can use either a full name, a wildcarded specification, or a font alias:: |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
127 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
128 |
XTerm*Font: -adobe-courier-bold-r-normal--14-140-75-75-m-90-iso8859-1 |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
129 |
XTerm*Font: *courier-bold-r*140* |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
130 |
XTerm*Font: 7x14 |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
131 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
132 |
Geometry value type. |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
133 |
-------------------- |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
134 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
135 |
XCalc*geometry: 120x120-0-0 |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
136 |
XClock*geometry: -50+100 |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
137 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
138 |
Cursor names value type. |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
139 |
------------------------ |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
140 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
141 |
Cursor resources require the name of the file in /usr/include/X11/bitmaps that |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
142 |
contains the cursor you want to use. |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
143 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
144 |
ScoTerm*pointerShape: gumby |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
145 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
146 |
Pixmaps value type. |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
147 |
------------------- |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
148 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
149 |
Pixmaps are patterns, like bitmaps, that are used to texture or color an area |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
150 |
on your display. Pixmap resources are specified like cursors or bitmaps. |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
151 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
152 |
Numebers value type. |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
153 |
-------------------- |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
154 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
155 |
XLogo*borderWidth: 10 |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
156 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
157 |
Boolean value type. |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
158 |
------------------- |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
159 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
160 |
Some resources require a boolean value, such as 'true' or 'false', 'yes' or |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
161 |
'no', or 'on' or 'off'. |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
162 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
163 |
Wildcard matching. |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
164 |
------------------ |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
165 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
166 |
The asterisk can be used as a wildcard, making it easy to write a single rule |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
167 |
that can be applied to many different applications or elements. |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
168 |