author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Mon, 09 Jan 2012 00:28:46 +0200 | |
changeset 1195 | 46cf3e8d7bc0 |
parent 1141 | 7c5ca700ff02 |
child 1255 | 7cad4e6d59cd |
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 |
|
1141 | 15 |
Widget toolkit. |
16 |
=============== |
|
17 |
||
18 |
http://en.wikipedia.org/wiki/Widget_toolkit |
|
19 |
Widget toolkit |
|
20 |
http://en.wikipedia.org/wiki/List_of_widget_toolkits |
|
21 |
List of widget toolkits |
|
22 |
||
23 |
GTK+. |
|
24 |
----- |
|
25 |
||
26 |
http://en.wikipedia.org/wiki/GTK%2B |
|
27 |
||
28 |
QT. |
|
29 |
--- |
|
30 |
||
31 |
http://en.wikipedia.org/wiki/Qt_%28toolkit%29 |
|
32 |
||
33 |
WxWidgets. |
|
34 |
---------- |
|
35 |
||
36 |
http://en.wikipedia.org/wiki/WxWidgets |
|
37 |
||
38 |
Tk. |
|
39 |
--- |
|
40 |
||
41 |
http://en.wikipedia.org/wiki/Tk_%28computing%29 |
|
42 |
||
43 |
FLTK. |
|
44 |
----- |
|
45 |
||
46 |
http://en.wikipedia.org/wiki/FLTK |
|
47 |
||
48 |
Xaw. |
|
49 |
---- |
|
50 |
||
51 |
http://en.wikipedia.org/wiki/Xaw |
|
52 |
||
53 |
GNUstep. |
|
54 |
-------- |
|
55 |
||
56 |
http://en.wikipedia.org/wiki/GNUstep |
|
57 |
||
58 |
XView. |
|
59 |
------ |
|
60 |
||
61 |
http://en.wikipedia.org/wiki/XView |
|
62 |
||
978
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
63 |
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
|
64 |
============================================================ |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
65 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
66 |
Look for system registered resources:: |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
67 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
68 |
$ listres |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
69 |
$ listres -all |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
70 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
71 |
$ appres XTerm |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
72 |
$ 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
|
73 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
74 |
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
|
75 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
76 |
$ xprop -root |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
77 |
$ 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
|
78 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
79 |
Making screenshort. |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
80 |
=================== |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
81 |
:: |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
82 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
83 |
$ sudo apt-get install scrot |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
84 |
$ scrot -d <sec> <file> |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
85 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
86 |
or:: |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
87 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
88 |
$ sudo apt-get install imagemagic |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
89 |
$ 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
|
90 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
91 |
Input method. |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
92 |
============= |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
93 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
94 |
Input method by setxkbmap. |
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 |
:: |
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 |
$ setxkbmap ru |
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 |
$ 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
|
101 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
102 |
Input method from xorg.conf. |
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 |
:: |
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 |
Section "InputDevice" |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
107 |
Identifier "Keyboard0" |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
108 |
Driver "kbd" |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
109 |
Option "XkbModel" "pc105" |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
110 |
Option "XkbLayout" "us,ru" |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
111 |
Option "XkbVariant" ",winkeys" |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
112 |
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
|
113 |
EndSection |
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 |
.Xdefaults |
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 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
118 |
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
|
119 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
120 |
[client. | *][{restriction.} | *]resource: value |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
121 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
122 |
where: |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
123 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
124 |
client |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
125 |
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
|
126 |
'-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
|
127 |
with wildcard). |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
128 |
restriction |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
129 |
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
|
130 |
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
|
131 |
resource |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
132 |
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
|
133 |
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
|
134 |
concatenation. |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
135 |
value |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
136 |
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
|
137 |
delimiters |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
138 |
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
|
139 |
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
|
140 |
declaration from the actual value. |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
141 |
|
1052
fbbc2fb0a2ac
Fix: (WARNING/2) Inline emphasis start-string without end-string.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1032
diff
changeset
|
142 |
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
|
143 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
144 |
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
|
145 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
146 |
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
|
147 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
148 |
$ xrdb ~/.Xdefaults |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
149 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
150 |
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
|
151 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
152 |
$ xrdb -merge ~/.Xdefaults |
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 |
Example:: |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
155 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
156 |
*foreground: yellow |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
157 |
XClock*foreground: pink |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
158 |
Xman*topBox*foreground: blue |
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 |
String value type. |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
161 |
------------------ |
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 |
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
|
164 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
165 |
Colors value type. |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
166 |
------------------ |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
167 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
168 |
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
|
169 |
representation #ffffff. |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
170 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
171 |
Font value type. |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
172 |
---------------- |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
173 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
174 |
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
|
175 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
176 |
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
|
177 |
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
|
178 |
XTerm*Font: 7x14 |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
179 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
180 |
Geometry value type. |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
181 |
-------------------- |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
182 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
183 |
XCalc*geometry: 120x120-0-0 |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
184 |
XClock*geometry: -50+100 |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
185 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
186 |
Cursor names value type. |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
187 |
------------------------ |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
188 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
189 |
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
|
190 |
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
|
191 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
192 |
ScoTerm*pointerShape: gumby |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
193 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
194 |
Pixmaps value type. |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
195 |
------------------- |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
196 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
197 |
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
|
198 |
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
|
199 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
200 |
Numebers value type. |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
201 |
-------------------- |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
202 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
203 |
XLogo*borderWidth: 10 |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
204 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
205 |
Boolean value type. |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
206 |
------------------- |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
207 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
208 |
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
|
209 |
'no', or 'on' or 'off'. |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
210 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
211 |
Wildcard matching. |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
212 |
------------------ |
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
213 |
|
76aa572406cd
Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
214 |
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
|
215 |
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
|
216 |