This file is indexed.

/usr/share/doc/HOWTO/ja-html/XWindow-User-HOWTO-8.html is in doc-linux-ja-html 2006.05.25-1.1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
 <META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
 <TITLE>The X Window User HOWTO: X ¤Î¥ê¥½¡¼¥¹</TITLE>
 <LINK HREF="XWindow-User-HOWTO-9.html" REL=next>
 <LINK HREF="XWindow-User-HOWTO-7.html" REL=previous>
 <LINK HREF="XWindow-User-HOWTO.html#toc8" REL=contents>
</HEAD>
<BODY>
<A HREF="XWindow-User-HOWTO-9.html">¼¡¤Î¥Ú¡¼¥¸</A>
<A HREF="XWindow-User-HOWTO-7.html">Á°¤Î¥Ú¡¼¥¸</A>
<A HREF="XWindow-User-HOWTO.html#toc8">Ìܼ¡¤Ø</A>
<HR>
<H2><A NAME="s8">8. X ¤Î¥ê¥½¡¼¥¹</A></H2>

<P>¤³¤³¤Ç¤Ï¡¢¤ª»È¤¤¤Î¥·¥¹¥Æ¥à¤òÊѤ¨¤ÆÎɤ¯¤¹¤ë¤³¤È¤ò¾¯¤·¹Í¤¨¤Æ¤ß¤Þ¤·¤ç
¤¦¡£º£¤Î¤È¤³¤íÀâÌÀ¤·¤¿¤Î¤Ï¥¦¥£¥ó¥É¥¦¥Þ¥Í¡¼¥¸¥ã¡¼¤ÎÀßÄê¤À¤±¤Ç¤¹¡£¥¦¥£¥ó¥É
¥¦¥Þ¥Í¡¼¥¸¥ã¤ò»È¤¨¤Ð¡¢¥¦¥£¥ó¥É¥¦¤Î<EM>³°</EM>¤Çµ¯¤³¤ë¤³¤È¤Ï²¿¤Ç¤â (¥¦¥£
¥ó¥É¥¦¡¢ÏÈ¡¢¶­³¦¡¢¥Ü¥¿¥ó¡¢¥Ç¥¹¥¯¥È¥Ã¥×Åù) ¥«¥¹¥¿¥Þ¥¤¥º¤Ç¤­¤Þ¤¹¤¬¡¢¥¦¥£
¥ó¥É¥¦¤Î<EM>ÆâÉô</EM>¤òÎɤ¯¤¹¤ë¤³¤È¤Ë¤Ä¤¤¤Æ¤Ï¤É¤¦¤Ç¤·¤ç¤¦? ¤³¤ì¤ò¹Ô¤¦
¤¿¤á¤Ë¤Ï¡¢¥·¥¹¥Æ¥à¤Î <EM>X ¥ê¥½¡¼¥¹</EM>¤ò½¤Àµ¤¹¤ë¤·¤«¤¢¤ê¤Þ¤»¤ó¡£
<P>X ¥ê¥½¡¼¥¹¤Ï¡¢¥×¥í¥°¥é¥à¤Î¥ê¥½¡¼¥¹¤Î¥Ç¥Õ¥©¥ë¥ÈÃͤò³ÊǼ¤·¡¢¥¦¥£¥ó¥É¥¦´Ä
¶­¤Î¥ë¥Ã¥¯ &amp; ¥Õ¥£¡¼¥ë¤ò¥æ¡¼¥¶¤Î¹¥¤ß¤Ë¹ç¤ï¤»¤ë¤¿¤á¤Îµ¡¹½¤Ç¤¹¡£¥ê¥½¡¼
¥¹¤Ï¥Æ¥­¥¹¥Èʸ»úÎó¤È¤·¤Æ»ØÄꤵ¤ì¡¢¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤¬¼Â¹Ô¤µ¤ì¤¿¤È¤­¤ËÍÍ¡¹
¤Ê¾ì½ê¤«¤éÆɤ߹þ¤Þ¤ì¤Þ¤¹¡£¥×¥í¥°¥é¥à¤ÎÍ×ÁǤˤϡ¢¥¯¥é¥¹Ì¾¤È¥¤¥ó¥¹¥¿¥ó¥¹
̾¤Ç¼±Ê̤µ¤ì¤ë³¬ÁØÆâ¤Î¥ª¥Ö¥¸¥§¥¯¥È¤ò»È¤Ã¤Æ¡¢³¬ÁØŪ¤Ë̾Á°¤¬ÉÕ¤±¤é¤ì¤Þ¤¹¡£
³¬ÁؤΥȥåץì¥Ù¥ë¤Ï¡¢¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤½¤Î¤â¤Î¤Î¥¯¥é¥¹Ì¾¤È¥¤¥ó¥¹¥¿¥ó¥¹
̾¤Ç¤¹¡£´·½¬Åª¤Ë¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Î¥¯¥é¥¹Ì¾¤Ï¥×¥í¥°¥é¥à̾¤ÈƱ¤¸¤Ë¤Ê¤ê¤Þ
¤¹¤¬¡¢ºÇ½é¤Îʸ»ú¤À¤±¤ÏÂçʸ»ú¤Ë¤Ê¤ê¤Þ¤¹ (Îã: Bitmap, Emacs) ¡£¤¿¤À¤·¡¢Ì¾
Á°¤¬¡Ö X ¡×¤Ç»Ï¤Þ¤ë°ìÉô¤Î¥×¥í¥°¥é¥à¤Ï¡¢Îò»ËŪ·Ð°Þ¤Ë¤è¤ê 2 ÈÖÌܤÎʸ»ú¤âÂç
ʸ»ú¤Ë¤Ê¤ê¤Þ¤¹ (Îã: XTerm)¡£
<P>
<H2><A NAME="ss8.1">8.1 X ¤Î¥ê¥½¡¼¥¹: ´ðËÜÊÔ</A>
</H2>

<P>¥ê¥½¡¼¥¹¤ÎÀ¤³¦¤Ë³Ú¤ËÆþ¤ë¤¿¤á¡¢Îã¤ò¤¤¤¯¤Ä¤«»î¤·¤Æ¤ß¤Þ¤·¤ç¤¦¡£¤Þ¤º¤Ï
xterm ¤Î¥¦¥£¥ó¥É¥¦¤ò³«¤­¤Þ¤¹¡£¤¿¤Ö¤ó´û¤Ë 1 ¤Ä¤Ï³«¤¤¤Æ¤¢¤ë¤Ç¤·¤ç¤¦¤·¡¢
¥á¥Ë¥å¡¼ÁªÂò¤Ç³«¤¯¤³¤È¤â¤Ç¤­¤Þ¤¹¡£¤¢¤ë¤¤¤Ï¡¢¿ÊÏ©¤ò³Î¤«¤á¤ë¤¿¤á¤Ë¤³¤Î¥É
¥­¥å¥á¥ó¥È¤Î¾¯¤·Á°¤ËÌá¤Ã¤Æ¤ß¤Æ¤â¤è¤¤¤Ç¤·¤ç¤¦! xterm ¤Î¥¦¥£¥ó¥É¥¦¤Ø°Ê²¼
¤Î¤è¤¦¤Ê¥³¥Þ¥ó¥É¤òÆþÎϤ·¤Æ¤ß¤Þ¤·¤ç¤¦:
<P>
<BLOCKQUOTE><CODE>
<PRE>
 xterm -background blue &amp;
 
</PRE>
</CODE></BLOCKQUOTE>
<P>¤³¤Î¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤¹¤ë¤ÈÊ̤Πxterm ¤¬²èÌ̾å¤Ë¸½¤ï¤ì¤Þ¤¹¤¬¡¢º£²ó¤Î
xterm ¤ÏÇطʤ¬ÀĤ¤¤Ï¤º¤Ç¤¹¡£¡Ö¤¢¤ì¡¢¤É¤¦¤·¤Æ¡×¤È»×¤¦¤«¤â¤·¤ì¤Þ¤»¤ó¡£¤·
¤«¤·¼ÂºÝ¤Ë¤½¤¦¤Ê¤ë¤Î¤Ç¤¹¡£
<P>¼¡¤ÎÎã¤ò»î¤¹Á°¤Ë¤Ï¡¢¾¯¤·ÇطʤȤʤëÃ챤¬É¬ÍפǤ¹¡£¤µ¤Ã¤­³«¤¤¤¿ xterm
¤Ç ¡Ö exit ¡×¤ÈÆþÎϤ· (¤³¤ì¤Ç¥¦¥£¥ó¥É¥¦¤¬ÊĤ¸¤Þ¤¹)¡¢¥³¥Þ¥ó¥É¤òÆþÎϤ·¤¿¸µ
¤Î¥¦¥£¥ó¥É¥¦¤ËÌá¤ê¤Þ¤¹¡£¤½¤·¤Æ¼¡¤ÎÁàºî¤ò¹Ô¤¤¤Þ¤¹: Ctrl ¥­¡¼¤ò²¡¤·¡¢¤½
¤Î¤Þ¤Þ¥Þ¥¦¥¹¤Îº¸¥Ü¥¿¥ó¤ò²¡¤·¤Þ¤¹¡£¼¡¤ÏÃæ¥Ü¥¿¥ó¤ò»î¤·¤Æ¤¯¤À¤µ¤¤¡£¤½¤ì¤«
¤é±¦¥Ü¥¿¥ó¤â¡£xterm ¤Î¥¦¥£¥ó¥É¥¦¤ÏÁ´¤Æ¡¢¼Â¹ÔÃæ¤Ë¥ª¥×¥·¥ç¥ó¤ò»î¤¹¤³¤È¤¬
¤Ç¤­¤Þ¤¹¡£Î㤨¤Ð±¦¥Ü¥¿¥ó¤Î¾ì¹ç¤Ë¤Ï¡¢¥¦¥£¥ó¥É¥¦¤Î¥Õ¥©¥ó¥È¤òÊѤ¨¤ë¤³¤È¤¬
¤Ç¤­¤Þ¤¹¡£¤³¤Î¥á¥Ë¥å¡¼¤Î¿§¤ËÃí°Õ¤·¤Æ¤ª¤¤¤Æ¤¯¤À¤µ¤¤¡£¤½¤Î¾å¤Ç¡¢¤³¤ÎÎã¤ò
»î¤·¤Æ¤ß¤Þ¤·¤ç¤¦:
<P>
<BLOCKQUOTE><CODE>
<PRE>
 xterm -xrm 'xterm*fontMenu*background: green' &amp;
 
</PRE>
</CODE></BLOCKQUOTE>
<P>º£²ó¤Ï¡¢¤´¤¯ÉáÄ̤Πxterm ¤Î¥¦¥£¥ó¥É¥¦¤Ë¸«¤¨¤Þ¤¹¡£¤·¤«¤·¡¢Ctrl ¥­¡¼¤ò²¡
¤·¤¿¤Þ¤Þ¤Ç¥¦¥£¥ó¥É¥¦ÆâÉô¤Ç¥Þ¥¦¥¹¤Î±¦¥Ü¥¿¥ó¤ò²¡¤¹¤È¡¢¤³¤Î¥á¥Ë¥å¡¼ (Àè¤Û
¤É¤ÎÎã¤Ç¡Ö fontMenu ¡×¤È¸À¤Ã¤¿¤â¤Î¤Ç¤¹) ¤ÏÎп§¤Ë¤Ê¤ê¤Þ¤¹¡£¤¤¤Ã¤¿¤¤²¿¤¬µ¯
¤³¤Ã¤¿¤Î¤Ç¤·¤ç¤¦¤«? <B>xterm</B> ¤Î¥ª¥ó¥é¥¤¥ó¥Þ¥Ë¥å¥¢¥ë¤ò¸«¤ë¤È¡¢
<EM>-background</EM> ¤ä <EM>-font</EM> ¤È¤¤¤Ã¤¿¥³¥Þ¥ó¥É¥é¥¤¥ó¥ª¥×¥·¥ç
¥ó¤¬¤¢¤ë¤È»×¤¤¤Þ¤¹¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï X ¾å¤Ç¥¦¥£¥ó¥É¥¦¤òΩ¤Á¾å¤²¤ë¤È¤­
¤ËÀßÄê¤Ç¤­¤ë¤â¤Î¤Ç¡¢<B>xterm</B> ÀìÍѤΥª¥×¥·¥ç¥ó¤Î¸å¤ËÎóµó¤·¤Þ¤¹¡£
¤³¤Î¤è¤¦¤ÊÆÃÊ̤ʥª¥×¥·¥ç¥ó¤Ï <EM>X ¥Ä¡¼¥ë¥­¥Ã¥È¥ª¥×¥·¥ç¥ó</EM>¤È¸Æ¤Ð¤ì¡¢
X ¤Î¤Û¤È¤ó¤ÉÁ´¤Æ¤Î¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤ËŬÍѤµ¤ì¤Þ¤¹¡£
<P>
<H2><A NAME="ss8.2">8.2 <EM>editres</EM> ¤Ç¸«¤ë X ¥ê¥½¡¼¥¹¥Ç¡¼¥¿¥Ù¡¼¥¹¤ÎÆâÉô</A>
</H2>

<P>ËÜÅö¤Ë X ¤Î¥ê¥½¡¼¥¹¤ÎÆâÉô¤ËΩ¤ÁÆþ¤ë¤Ë¤Ï¡¢<B>editres</B> ¤ò¼Â¹Ô¤¹
¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¤µ¤¢¡¢Á°¤Ë¿Ê¤ó¤Ç <B>editres</B> (¤ª¤è¤ÓÍ·¤ÖÂоݤË
¤¹¤ë¥µ¥ó¥×¥ë¥×¥í¥°¥é¥à)¤ò¼Â¹Ô¤·¤Þ¤·¤ç¤¦:
<P>
<BLOCKQUOTE><CODE>
<PRE>
 xclock &amp;
 editres &amp;
 
</PRE>
</CODE></BLOCKQUOTE>
<P>¤¿¤Ö¤ó¡¢É½¼¨¤µ¤ì¤ë¤Î¤Ï²¿¤ÎÊÑů¤â¤Ê¤¤¸«±É¤¨¤Î¥·¥ó¥×¥ë¤Ê»þ·×¤È¡¢¤Û¤È¤ó¤É
²¿¤âɽ¼¨¤µ¤ì¤Æ¤¤¤Ê¤¤ <B>editres</B> ¤Î¥¦¥£¥ó¥É¥¦¤Ç¤·¤ç¤¦¡£¥á¥¤¥ó¥¦¥£
¥ó¥É¥¦¤Ëɽ¼¨¤µ¤ì¤ë¤Î¤Ï¡¢¥Ç¥¹¥¯¥È¥Ã¥×¾å¤Î»ØÄꤵ¤ì¤¿¥¦¥£¥ó¥É¥¦¤Î¥ê¥½¡¼¥¹
¥Ä¥ê¡¼¤Ç¤¢¤ê¡¢¥×¥í¥°¥é¥à¤Îµ¯Æ°»þ¤Ë¤Ï²¿¤â¤¢¤ê¤Þ¤»¤ó¡£¤·¤¿¤¬¤Ã¤Æ¡¢¤Þ¤º¤Ï
¥Ä¥ê¡¼¤òÍ¿¤¨¤Æ¤ß¤Þ¤·¤ç¤¦¡£¡Ö Commands ¡×¥á¥Ë¥å¡¼¾å¤Çº¸¥Ü¥¿¥ó¤ò²¡¤·¡¢
¡Ö Get Tree ¡×¤òÁªÂò¤·¤Þ¤¹¡£¤¹¤ë¤È¡¢¥¦¥£¥ó¥É¥¦¤ÎºÇ¾åÉô¤Ë
¡Ö <CODE>Click the mouse pointer on any toolkit client</CODE> (Ǥ°Õ¤Î¥Ä¡¼¥ë
¥­¥Ã¥È¥¯¥é¥¤¥¢¥ó¥È¾å¤Ç¥Þ¥¦¥¹¥Ý¥¤¥ó¥¿¤ò¥¯¥ê¥Ã¥¯¤·¤Æ¤¯¤À¤µ¤¤) ¡×¤Èɽ¼¨¤µ
¤ì¤ë¤Ï¤º¤Ç¤¹¡£¤³¤Î¥á¥Ã¥»¡¼¥¸¤Ë¤Ï¸«¤¿Ìܰʾå¤Î°ÕÌ£¤¬¤¢¤Ã¤Æ¡¢X ¥¢¥×¥ê¥±¡¼
¥·¥ç¥ó¤¬Á´¤Æ¥Ä¡¼¥ë¥­¥Ã¥È¥¯¥é¥¤¥¢¥ó¥È¤È¤¤¤¦¤ï¤±¤Ç¤Ï¤Ê¤¤¤³¤È¤ò¼¨¤·¤Æ¤¤¤Þ
¤¹ (´ðËÜŪ¤Ê¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤ÎÂçÉôʬ¤Ï¥Ä¡¼¥ë¥­¥Ã¥È¥¯¥é¥¤¥¢¥ó¥È¤Ç¤¹¤¬¡¢
¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¤Ë¤âÉáÄÌ¡¢¥ª¥ó¥é¥¤¥ó¥Þ¥Ë¥å¥¢¥ë¤Ë¤ÏÀâÌÀ¤Ï¤¢¤ê¤Þ¤»¤ó) ¡£¥Þ
¥¦¥¹¤Î¥«¡¼¥½¥ë¤ÏºÙ¤¤½½»ú·Á¤Ë¤«¤ï¤ê¡¢Â¾¤Î¥¦¥£¥ó¥É¥¦¤Ç¤Î¥¯¥ê¥Ã¥¯¤òÂԤľõ
Â֤ˤʤê¤Þ¤¹¡£
<P>¤³¤ÎÎã¤Ç¤Ï¡¢¤Þ¤º¤Ï <B>xclock</B> ¤ò¥¯¥ê¥Ã¥¯¤·¤Æ¤ß¤Þ¤·¤ç¤¦¡£
<B>editres</B> ¤Î¥¦¥£¥ó¥É¥¦¤Ë 2 ¤Ä¤Î¹àÌܤ¬É½¼¨¤µ¤ì¤ë¤Ï¤º¤Ç¤¹¡£¤³¤ì¤é
¤Ï¥Ä¡¼¥ë¥­¥Ã¥È¤¬Ç§¼±¤·¤Æ¤¤¤ëÀßÄê²Äǽ¤Ê¥Ö¥é¥ó¥Á (»Þ) ¤Ç¤¹¡£±¦²¼¤Î¥Ö¥é¥ó¥Á
(clock) ¤ò¥¯¥ê¥Ã¥¯¤·¤Æ¤ß¤Þ¤·¤ç¤¦¡£¤¹¤ë¤Èȿž¤¹¤ë¤Ï¤º¤Ç¤¹¡£¤³¤³¤Ç
``Commands'' ¤«¤é ``Show Resource Box'' ¤òÁªÂò¤·¤Æ¤¯¤À¤µ¤¤¡£¤¹¤ë¤È¾å¤Î
Êý¤Ë &quot;.xclock.clock.unknown&quot; ¤Èɽ¼¨¤µ¤ì¤¿Ê̤Υ¦¥£¥ó¥É¥¦¤¬¸½
¤ï¤ì¤ë¤Ï¤º¤Ç¤¹¡£¤É¤¦¤À¤¤!
<P>
<P>¤³¤ì°Ê¹ß¡¢ <B>xclock</B> ¤Î¥á¥¤¥ó¥¦¥£¥ó¥É¥¦¤ÎÀßÄꥪ¥×¥·¥ç¥ó¤ÇÍ·¤Ö
¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¤³¤Î¥ê¥½¡¼¥¹¤Î°ìÉô¤ò¥Æ¥¹¥È¤·¤Æ¤¤¤ë¤³¤È¤ò¼¨¤¹¤¿¤á¡¢¤Þ¤º
¤Ï°ìÈÖ²¼¤Î ``Set Save File'' ¤ò¥¯¥ê¥Ã¥¯¤·¡¢
<EM>/home/yourname/resources</EM> ¤Î¤è¤¦¤Ê¥Õ¥¡¥¤¥ë̾¤òÆþÎϤ·¤Æ¤¯¤À¤µ¤¤¡£
¤³¤³¤Ç ``foreground'' ¤ò¥¯¥ê¥Ã¥¯¤·¡¢¤½¤ÎÎ٤Π``Enter Resource Value:''
¥×¥í¥ó¥×¥È¤Ë  ``blue'' ¤òÆþÎϤ·¤Æ¤¯¤À¤µ¤¤¡£¤½¤ì¤«¤é°ìÈÖ²¼¤Î ``Apply''
¤ò¥¯¥ê¥Ã¥¯¤·¤Þ¤¹¡£»þ·×¤Î²ó¤ê¤ÎºÙ¤¤¹ï¤ßÌܤ¬ÀĤ¯¤Ê¤ë¤Ï¤º¤Ç¤¹¡£
``background'' ¤Ë¹Ô¤­¡¢ ``navajowhite'' (¤¢¤ë¤¤¤Ï¹¥¤ß¤Î¿§) ¤òÆþÎϤ·¤Æ¤¯
¤À¤µ¤¤¡£¤³¤ì¤âÈ¿±Ç¤¹¤ë¤Ï¤º¤Ç¤¹¡£¤´Í÷¤Ë¤Ê¤Ã¤¿¤è¤¦¤Ë¡¢¤³¤Î¤è¤¦¤Ë¤·¤Æ¥¦¥£
¥ó¥É¥¦Á´ÂΤò³Ê¹¥Îɤ¯ÀßÄꤹ¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¤·¤«¤·¡¢Ê̤Î
<B>xclock</B> ¤òµ¯Æ°¤·¤¿¾ì¹ç¡¢¤³¤ì¤ÏÊѹ¹¤ò¤¹¤ëÁ°¤Î¤¿¤À¤Î
<B>xclock</B> ¤Ë¤·¤«¸«¤¨¤Ê¤¤¤Ç¤·¤ç¤¦¡£¤³¤Î¤è¤¦¤ÊÊѹ¹¤òÊݸ¤¹¤ëɬÍפ¬
¤¢¤ë¤Î¤Ç¤¹¡£
<P>¤Þ¤º ``Save'' ¤ò¡¢¤½¤Î¼¡¤Ë ``Popdown Resource Box'' (µ¡Ç½¤Ï ``Close''
¤Ê¤Î¤Ç¡¢¼ÂºÝ¤Î¤È¤³¤íÊѤÊ̾Á°¤Ç¤¹¤Í)¤ò¥¯¥ê¥Ã¥¯¤·¤Æ¤¯¤À¤µ¤¤¡£¤¿¤Ã¤¿º£À¸
À®¤·¤¿¥Õ¥¡¥¤¥ë¤ò (<EM>cat /home/yourname/resources</EM> ¤¢¤¿¤ê¤Ç) ¸«¤Æ
¤ß¤ë¤È¡¢ÊØÍø¤Ê¤³¤È¤Ë¤³¤ì¤é¤Î¥ê¥½¡¼¥¹¤¬Àµ¤·¤¤ X ¥Ä¡¼¥ë¥­¥Ã¥È¤Î¥Õ¥©¡¼¥Þ¥Ã
¥È¤Ç½ñ¤­½Ð¤µ¤ì¤Æ¤¤¤ë¤Î¤¬Ê¬¤«¤ë¤«¤È»×¤¤¤Þ¤¹¡£¤·¤«¤·¡¢¤³¤ì¤À¤±¤Ç¤Ï´ò¤·¤¯
¤¢¤ê¤Þ¤»¤ó¡£¤È¤¤¤¦¤Î¤â¡¢¿·¤·¤¯ <B>xclock</B>  ¤òµ¯Æ°¤·¤Æ¤ß¤ì¤Ð¤ï¤«¤ê
¤Þ¤¹¤¬¡¢Î©¤Á¾å¤¬¤Ã¤¿ <B>xclock </B> ¤Ï¤¹¤Ã¤Ô¤ó (¥Ç¥Õ¥©¥ë¥ÈÀßÄê) ¤Î¤Þ¤Þ
¤Ê¤Î¤Ç¤¹¡£¤Ä¤Þ¤ê¡¢¥ê¥½¡¼¥¹¤ò¥í¡¼¥É¤¹¤ë¤È¤¤¤¦ºÇ¸å¤Î»Å¾å¤²¤¬»Ä¤Ã¤Æ¤¤¤ë¤Î
¤Ç¤¹:
<P>
<BLOCKQUOTE><CODE>
<PRE>
 xrdb -merge /home/yourname/resources
 
</PRE>
</CODE></BLOCKQUOTE>
<P>¤³¤Î¥³¥Þ¥ó¥É¤Ï¡¢¤¿¤Ã¤¿º£½ñ¤­½Ð¤·¤¿¥ê¥½¡¼¥¹¤ò¸½ºß¤Î X ¥»¥Ã¥·¥ç¥ó¤Î
<EM>X ¥ê¥½¡¼¥¹¥Ç¡¼¥¿¥Ù¡¼¥¹</EM> (<B>xrdb</B>) ¤Ë<EM>¥Þ¡¼¥¸</EM>¤·¤Þ¤¹¡£
¤¹¤Ê¤ï¤Á¡¢½¤Àµ¤ò¹Ô¤Ã¤¿ X ¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤ò¤³¤ì°Ê¹ß¤Ë¸Æ¤Ó½Ð¤¹¤È¡¢Êѹ¹
¤¬Å¬ÍѤµ¤ì¡¢·ë¤Ó¤Ä¤±¤é¤ì¤¿¤Þ¤Þ¤Ë¤Ê¤ê¤Þ¤¹¡£¤·¤¿¤¬¤Ã¤Æ¡¢Ê̤Î
<B>xclock</B> ¤ò¼Â¹Ô¤¹¤ë¤È¡¢¤¤¤Ä¼Â¹Ô¤·¤Æ¤âº£¤µ¤Ã¤­ÀßÄꤷ¤¿¤è¤¦¤Ë³Ê¹¥
Îɤ¯¤Ê¤ê¤Þ¤¹¡£¤¿¤À¡¢<B>xrdb</B> ¤ÏÊ£»¨¤Ê¥×¥í¥°¥é¥à¤Ê¤Î¤Ç¡¢¼¡¤Ë¿Ê¤ó¤À
¤ê¡¢¤â¤¦¾¯¤·¤³¤ì¤ÇÍ·¤ÖÁ°¤Ë¤Ï¡¢¥ª¥ó¥é¥¤¥ó¥Þ¥Ë¥å¥¢¥ë¤ò¸«¤ë¤È¤è¤¤¤Ç¤·¤ç¤¦¡£
Ëܥɥ­¥å¥á¥ó¥È¤ÇÁ°¤Ëµó¤²¤¿¡¢ X ¤Îµ¯Æ°»þ¤Ë¼«Æ°Åª¤Ë¥ê¥½¡¼¥¹¤ò¥í¡¼¥É¤¹¤ë¤¿
¤á¤ÎÊѹ¹¤ò <CODE>.xinitrc</CODE> ¤Ë¹Ô¤Ã¤Æ¤¤¤ë¾ì¹ç¤Ë¤Ï¡¢ X ¥»¥Ã¥·¥ç¥ó¤ÎÅÓÃæ
¤ËÊѹ¹¤ò¹Ô¤Ã¤¿¤È¤­°Ê³°¤Ë¤Ï <B>xrdb</B> ¤Î¤³¤È¤ò°Õ¼±¤¹¤ëɬÍפϤ¢¤ê¤Þ
¤»¤ó¡£
<P>
<H2><A NAME="ss8.3">8.3 X ¤Î¥ê¥½¡¼¥¹¤Î²ò˶</A>
</H2>

<P>¤´Í÷¤Î¤è¤¦¤Ë¡¢¤³¤³¤ÇÀßÄꥪ¥×¥·¥ç¥ó¤¬Â¿¤¹¤®¤ë¤³¤È¤Ëµ¤ÉÕ¤«¤ì¤¿¤È»×¤¤
¤Þ¤¹¡£¤³¤Î¤è¤¦¤Ê X ¤ÎÀßÄêÊýË¡¤Ï¡¢´û¤Ë½Ò¤Ù¤¿¤è¤¦¤Ë¡¢¤Û¤È¤ó¤É̵¸Â¤Î²Äǽ
À­¤òÍ¿¤¨¤Þ¤¹¤¬¡¢Æ±»þ¤ËƱ¤¸¤À¤±¤Îº®Íð¤ò¤â¤¿¤é¤·¤Æ¤·¤Þ¤¤¤Þ¤¹¡£X ¥Ä¡¼¥ë¥­¥Ã
¥È¥¤¥ó¥È¥ê¥ó¥·¥¯¥¹Ã±ÆȤǤΥ꥽¡¼¥¹¤ÎŬÍÑÈϰϤΥ¤¥á¡¼¥¸¤ò¤Ä¤«¤à¤¿¤á¤Ë¤Ï¡¢
<B>viewres</B> ¥×¥í¥°¥é¥à¤ò¼Â¹Ô¤·¡¢¤³¤ì¤Ç¾¯¤·Í·¤ó¤Ç¤ß¤Þ¤·¤ç¤¦¡£¤³¤Î
¥×¥í¥°¥é¥à¤Ï <EM>Xt ¥é¥¤¥Ö¥é¥ê</EM>¤Î¥ê¥½¡¼¥¹¤Î¥Ä¥ê¡¼¤ò¥°¥é¥Õ¥£¥«¥ë¤Ëɽ
¼¨¤·¤Þ¤¹¡£
<P><B>X</B> ¤Î¥ª¥ó¥é¥¤¥ó¥Þ¥Ë¥å¥¢¥ë¤òÆɤà¤È¡¢ X ¤¬Íý²ò¤¹¤ë¥ê¥½¡¼¥¹¤òÄêµÁ
¤¹¤ë¤¿¤á¤ÎÀµ³Î¤Êʸˡ¤Ë¤Ä¤¤¤Æ¤ÎÄêµÁ¤¬Èæ³ÓŪÉÔÌÀÎƤʤ³¤È¤Ëµ¤ÉÕ¤«¤ì¤ë¤Ç¤·¤ç
¤¦¡£¤³¤ì¤Ï¤«¤Ê¤ê´Êά²½¤·¡¢ËܼÁŪ¤ÊʸˡÄêµÁ¤Ëʬ³ä¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹:
<P><EM>&lt;¥×¥í¥°¥é¥à&gt;&lt;·ë¹ç»Ò&gt;&lt;¥¦¥£¥¸¥§¥Ã¥È&gt;&lt;·ë¹ç»Ò&gt;&lt;¥¦¥£¥¸¥§¥Ã¥È&gt;&lt;...&gt;&lt;¥ê¥½¡¼¥¹&gt;:&lt;ÃÍ&gt;</EM>
<P>¤³¤ì¤ÏËÜÅö¤Ë´Êñ¤Ê¤è¤¦¤Ë¤Ï¸«¤¨¤Ê¤¤¤«¤â¤·¤ì¤Þ¤»¤ó¤¬¡¢¼Â¤Ï´Êñ¤Ê¤Î¤Ç¤¹¡£
¤µ¤Æ¤³¤³¤Ç¡¢¤¿¤Ã¤¿º£ÀâÌÀ¤·¤¿¤³¤È¤Ë´Ø¤·¤Æ²¿¤«ÄêµÁ¤·¤Æ¤ß¤Þ¤·¤ç¤¦¡£¤½¤¦¤¹
¤ì¤Ð¡¢¸À¤Ã¤Æ¤¤¤ë¤³¤È¤¬·ë¶Éʬ¤«¤ë¤«¤È»×¤¤¤Þ¤¹¡£¤â¤·¤½¤¦¤·¤¿¤±¤ì¤Ð¡¢¤³¤Î
¥»¥¯¥·¥ç¥ó¤òÆɤߤʤ¬¤é¼¡¤Î¥»¥¯¥·¥ç¥ó¤ÎÎã¤òį¤á¤Æ¤â¤¤¤¤¤Ç¤·¤ç¤¦¡£
<P>¤³¤ÎÄêµÁ¤Ë¤ª¤±¤ë <EM>¥×¥í¥°¥é¥à</EM> ¤Ï¥ê¥½¡¼¥¹¥Ç¡¼¥¿¥Ù¡¼¥¹Æâ¤Ç¤Î¥¢¥×
¥ê¥±¡¼¥·¥ç¥ó¤Î¸Æ¤Ó½Ð¤·¤Ç¤¹¡£¤³¤ì¤Ï <B>xterm</B> ¤Î¸Æ¤Ó½Ð¤·¤Î¾ì¹ç¤Ï
<CODE>XTerm</CODE> ¤È¤Ê¤ê¡¢<CODE>emacs</CODE> ¥Æ¥­¥¹¥È¥¨¥Ç¥£¥¿¤Î¸Æ¤Ó½Ð¤·¤Î¾ì¹ç
¤Ë¤Ï <CODE>emacs</CODE> ¤È¤Ê¤ê¤Þ¤¹¡£¤¢¤ë¤¤¤Ï¡¢¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤¬
<B>-name</B> ¥³¥Þ¥ó¥É¥é¥¤¥ó¥ª¥×¥·¥ç¥óÉÕ¤­¤Çµ¯Æ°¤µ¤ì¤¿»þ¤ËÍ¿¤¨¤é¤ì¤¿¡¢
¥æ¡¼¥¶ÄêµÁ¤Î̾Á°¤Ë¤Ê¤ë¤³¤È¤â¤¢¤ê¤Þ¤¹¡£¤³¤Î¤è¤¦¤Ë¤¹¤ë¤È¡¢°Û¤Ê¤ë»È¤ï¤ìÊý
¤ò¤¹¤ëÊ£¿ô¤Î <B>xterm</B> ¤ËÂФ·¤ÆÊÌ¡¹¤Î¥ê¥½¡¼¥¹¤òÄêµÁ¤¹¤ë¤³¤È¤¬¤Ç¤­
¤Þ¤¹¡£¤³¤ì¤Ï¼Â¤ËÁÇÀ²¤é¤·¤¤¤³¤È¤Ç¤¹¡£
<P><EM>·ë¹ç»Ò</EM> ¤Ï¡¢¥¦¥£¥¸¥§¥Ã¥ÈÅù¤ò¶èÀڤ뤿¤á¤Î 2 ¼ïÎà¤Îʸ»ú¤Î¤É¤Á¤é
¤«¤Ë¤Ê¤ê¤Þ¤¹¡£<CODE>.</CODE> (¥Ô¥ê¥ª¥É) ¤ò»È¤Ã¤¿¾ì¹ç¤Ë¤Ï¡¢<EM>¶¯¤¤·ë¹ç (tight
binding)</EM> ¤¬ÆÀ¤é¤ì¤Þ¤¹¡£¤³¤ì¤Ï¤¢¤ë¥¦¥£¥¸¥§¥Ã¥È¤¬¥¦¥£¥¸¥§¥Ã¥È³¬ÁØÆâ
¤Ç¾¤Î¥¦¥£¥¸¥§¥Ã¥È¤Î¤¹¤°¾å¤«²¼¤Ë¤Ê¤ë¤³¤È¤ò°ÕÌ£¤·¤Þ¤¹¡£¤³¤ì¤Ï»ØÄêÊýË¡¤Î
Ãæ¤Ç¤âºÇ¤â¹â¤¤Í¥ÀèÅÙ¤ò»ý¤Ã¤Æ¤¤¤Þ¤¹¡£ <CODE>*</CODE> (¥¢¥¹¥¿¥ê¥¹¥¯) ¤ò»È¤Ã¤¿¾ì
¹ç¤Ë¤Ï¡¢<EM>´Ë¤¤·ë¹ç (loose binding)</EM> ¤¬ÆÀ¤é¤ì¤Þ¤¹¡£¤³¤ì¤Ï³¬ÁØÆâ¤ÇǤ
°Õ¤Î¿ô¤Î¥¦¥£¥¸¥§¥Ã¥È¤òÈô¤Ð¤·¡¢¥Þ¥Ã¥Á¤¹¤ë¤³¤È¤¬¤Ç¤­¤ë¼¡¤ÎÄêµÁ¤µ¤ì¤Æ¤¤¤ë
¥¦¥£¥¸¥§¥Ã¥È¤Ë¥Þ¥Ã¥Á¤·¤è¤¦¤È¤·¤Þ¤¹¡£
<P><EM>¥¦¥£¥¸¥§¥Ã¥È</EM> ¥¨¥ó¥È¥ê¤Ï¥¦¥£¥¸¥§¥Ã¥È¥Ä¥ê¡¼Æâ¤ÎÍ×ÁǤǤ¢¤ê¡¢ÆÃÄê
¤µ¤ì¤Æ¤¤¤ë¤â¤Î¤«¤é¡¢¤µ¤ì¤Æ¤¤¤Ê¤¤¤â¤Î¤Î½ç¤Ëʤó¤Ç¤¤¤Þ¤¹¡£Í×ÁǤϥ¦¥£¥¸¥§¥Ã
¥È¥Ä¥ê¡¼Æâ¤Ë¸½¤ï¤ì¡¢ <B>editres</B> ¤Ç¸«¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£Ç¤°Õ¤ÎñÆÈ
¤Î¥¦¥£¥¸¥§¥Ã¥È¥¨¥ó¥È¥ê¤Ï <CODE>?</CODE> (µ¿ÌäÉä) ¤ÇÃÖ´¹¤¨¤ë¤³¤È¤¬¤Ç¤­¡¢ 1 ¤Ä¤Î
¥¦¥£¥¸¥§¥Ã¥ÈÄêµÁ¤òÈô¤Ð¤·¤¿¤ê¡¢²Äǽ¤ÊǤ°Õ¤Î¥¦¥£¥¸¥§¥Ã¥ÈÍ×ÁǤȥޥåÁ¤µ¤»
¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
<P><EM>¥ê¥½¡¼¥¹</EM> Í×ÁǤÏɬ¤º»ØÄꤷ¤Ê¤±¤ì¤Ð¤Ê¤é¤º¡¢<CODE>?</CODE> ʸ»ú¤ÇÃÖ
¤­´¹¤¨¤ë¤³¤È¤Ï¤Ç¤­¤Þ¤»¤ó¡£¤³¤ì¤Ï³¬ÁØÆâ¤ÇºÇ¤âÆÃÄꤵ¤ì¤Æ¤¤¤ëÍ×ÁǤǤ¢¤ê¡¢
ÄêµÁ¤¹¤ë¼ÂºÝ¤Î¿§¤äÄêµÁ¤¹¤ë¼ÂºÝ¤Î¥Õ¥©¥ó¥ÈÅù¤Î¤è¤¦¤ÊÍ×ÁǤòÄ̾ï¤Ï´Þ¤ó¤Ç¤¤
¤Þ¤¹¡£¼ÂºÝ¡¢¤³¤ÎÄêµÁÃæ¤Ç¥ê¥½¡¼¥¹¤è¤êÁ°¤ÎÍ×ÁǤÏÁ´¤Æ¼è¤ê½ü¤­¡¢¥¢¥¹¥¿¥ê
¥¹¥¯ 1 ¤Ä¤ÇÃÖ¤­´¹¤¨¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¤¬¡¢ÄêµÁ¤¹¤ë¼ÂºÝ¤Î¥ê¥½¡¼¥¹¤Ï¤Ê¤±¤ì
¤Ð¤¤¤±¤Þ¤»¤ó¡£¥¢¥¹¥¿¥ê¥¹¥¯¤ÈºÇ¤âÆÃÄꤵ¤ì¤Æ¤¤¤ë¥ê¥½¡¼¥¹Ì¾¤À¤±¤ò»ØÄꤷ¤¿
¾ì¹ç(<CODE>*background: blue</CODE> Åù)¡¢²Äǽ¤Ç¤¢¤ì¤Ð X ¤ÏÁ´¤Æ¤Î¥¯¥é¥¤¥¢¥ó
¥È¤ËÂФ·¤Æ¤½¤Î¥ê¥½¡¼¥¹¤ò¥°¥í¡¼¥Ð¥ë¤ËÄêµÁ¤·¤è¤¦¤È¤·¤Þ¤¹¡£
<P>¥³¥í¥ó¤Î¸å¤Ï<EM>ÃÍ</EM>¥¨¥ó¥È¥ê¤Ç¤¹¡£¤³¤Î¥¨¥ó¥È¥ê¤Ë¤Ï¥ê¥½¡¼¥¹¤ËÀßÄꤹ
¤ë¤â¤Î (¥Õ¥©¥ó¥È̾¤ä¿§¤ÎÃͤʤÉ) ¤òÄêµÁ¤·¤Þ¤¹¡£¤³¤ÎÃÍ¤Ï (ʸ̮¤Ë½¾¤Ã¤Æ) ¿¿µ¶
Ãͤä¿ôÃÍ¡¢¥Æ¥­¥¹¥È¥Ç¡¼¥¿·¿¤È¤·¤Æ»ØÄꤹ¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£Àµ¤·¤¤¥ê¥½¡¼¥¹
ÄêµÁ¤Ë¤ª¤¤¤Æ¤Ï¡¢¤³¤ÎÃÍ¥¨¥ó¥È¥ê¤â¾Êά¤¹¤ë¤³¤È¤Ï¤Ç¤­¤Þ¤»¤ó¡£
<P>
<H2><A NAME="ss8.4">8.4 <EM>.Xdefaults</EM> ¤Ø¤ÎÊѹ¹¤òÈ¿±Ç¤µ¤»¤¿¤Þ¤Þ¤Ë¤¹¤ëÊýË¡</A>
</H2>

<P><EM>.Xdefaults</EM> ¤È¸Æ¤Ð¤ì¤ë¡¢¥Û¡¼¥à¥Ç¥£¥ì¥¯¥È¥ê¤ËÃÖ¤¯¤³¤È¤¬¤Ç¤­
¤ëËâË¡¤Î¥Õ¥¡¥¤¥ë¤¬¤¢¤ê¤Þ¤¹¡£¥ê¥½¡¼¥¹¥Õ¥¡¥¤¥ë¤Î¹Ô¤òºÇ¸å¤ÎÎ㤫¤éÈ´¤­½Ð¤·
¤Æ¥Û¡¼¥à¥Ç¥£¥ì¥¯¥È¥ê¤Î <EM>.Xdefaults</EM> ¤Ë¥³¥Ô¡¼¤¹¤ë¤È¡¢
<B>xclock</B> ¤ò¤â¤¦ÆóÅÙ¤ÈÀßÄꤷ¤Ê¤¯¤Æ¤â¤è¤¯¤Ê¤ê¤Þ¤¹! ¤³¤ì¤Ï¤³¤Î¥æ¡¼
¥Æ¥£¥ê¥Æ¥£¤Î¤È¤Æ¤âÎɤ¤Îã¤Ç¤Ï¤Ê¤¤¤«¤â¤·¤ì¤Þ¤»¤ó¤¬¡¢Åª¤ò¼Í¤Æ¤¤¤ë¤È¤Ï»×¤¤¤Þ
¤¹¡£¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï X ¤Ç¼Â¹Ô¤¹¤ëÁ´¤Æ¤Î¼ïÎà¤Î¥×¥í¥°¥é¥à¤ËÂФ·¤Æ¡¢»×¤¤
¤Î¤Þ¤Þ¤Î¥ª¥×¥·¥ç¥ó¤òµÍ¤á¹þ¤à¤³¤È¤¬¤Ç¤­¡¢Å¬ÀÚ¤ËÃí°Õ¤¹¤ì¤Ð¡¢É¬Íפʻþ¤Ë´Ê
ñ¤Ë¸µ¤Î¾õÂÖ¤ËÌá¤ê¡¢¾¯¤·¤À¤±Êѹ¹¤ò¹Ô¤¦¤³¤È¤â¤Ç¤­¤Þ¤¹¡£¤·¤«¤·¡¢ÂçÎ̤ÎÊÑ
¹¹¤ò¹Ô¤¦¤³¤È¤È¡¢  <B>editres</B> ¤ò»È¤Ã¤ÆºÙ¡¹¤È¤·¤¿¥ª¥×¥·¥ç¥ó¤ò¤¿¤¯¤µ
¤ó¸«¤Ä¤±½Ð¤¹¤³¤È¤Ï¡¢ÂçÊÑÌÌÅݤǶìÄˤòȼ¤¦ºî¶È¤Ç¤¹¡£¼ÂºÝ¤Î¤È¤³¤í¡¢¤³¤ì¤Ï
ÂçÊѤ¹¤®¤ëºî¶È¤Ç¤¢¤ë¤³¤È¤¬Â¿¤¤¤Ç¤¹¡£¤Þ¤¿¡¢¥·¥¹¥Æ¥à¤ËÍÑ°Õ¤µ¤ì¤Æ¤¤¤ë¥ê¥½¡¼
¥¹¤ÎÂçÉôʬ¤Ï¤¹¤°¤Ë»È¤¨¤ë¾õÂ֤Ǥ¹¤·¡¢¤­¤Á¤ó¤ÈÀ°Íý¤µ¤ì¤Æ¤ª¤ê¡¢¥×¥í¥°¥é¥à
¤´¤È¤Ë¤Þ¤È¤á¤é¤ì¤Æ¤¤¤Þ¤¹¡£
<P><EM>/var/X11R6/lib/app-defaults</EM> ¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤Ï¡¢X ¥Ä¡¼¥ë¥­¥Ã¥È
¥×¥í¥°¥é¥à¤Ë¤Á¤Ê¤ó¤À̾Á°¤¬ÉÕ¤¤¤Æ¤¤¤ë¥Õ¥¡¥¤¥ë¤¬¤¿¤¯¤µ¤ó¤¢¤ê¤Þ¤¹¡£¤³¤ì¤é
¤Î¥Õ¥¡¥¤¥ë¤òÄ´¤Ù¤ì¤Ð¡¢¤½¤ì¤¾¤ì¤ËÈó¾ï¤Ë¤¿¤¯¤µ¤ó¤ÎÀßÄꥪ¥×¥·¥ç¥ó¤¬¤¢¤ë¤³
¤È¤¬Ê¬¤«¤ë¤È»×¤¤¤Þ¤¹¡£Èó¾ï¤Ë¤¿¤¯¤µ¤ó! ¤³¤ì¤é¤Î¤Î¥Õ¥¡¥¤¥ë¤«¤é¥ª¥×¥·¥ç¥ó
¤ÎÁ´¤Æ¤ò <EM>.Xdefaults</EM> ¤ËÆþ¤ì¤¿¤¤¤È¤Ï»×¤ï¤Ê¤¤¤Ç¤·¤ç¤¦¡£¤³
¤ì¤é¤òÁ´Éô°·¤¦¤Î¤Ï¼Â¤ËÌÌÅݤʺî¶È¤Ç¤¹¡£¤³¤ì¤é¤ÎÃͤϥǥե©¥ë¥ÈÃͤʤΤǡ¢
¤³¤ì¤é¤ÎÃͤ«¤éÆÃÄê¤ÎÀßÄê¤Ë¤Ä¤¤¤Æ²¿¤òÊѤ¨¤¿¤¤¤Î¤«·è¤á¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
<P>°Ê²¼¤Ë <EM>.Xdefaults</EM> ¥Õ¥¡¥¤¥ë¤«¤éÈ´¤­½Ð¤·¤¿Îã¤ò¼¨¤·¤Þ¤¹¡£¥ê¥½¡¼
¥¹ÄêµÁ¥Õ¥¡¥¤¥ë¤Ë¤Ä¤¤¤Æ¤Þ¤ÀÀâÌÀ¤·¤Æ¤¤¤Ê¤¤¤³¤È¤¬¤¤¤¯¤Ä¤«¤¢¤ë¤Î¤ÇÃí°Õ¤·¤Æ
¤¯¤À¤µ¤¤¡£¹Ô¤¬¡Ö <CODE>!</CODE> ¡× (´¶Ã²Éä) ¤Ç»Ï¤Þ¤ë¾ì¹ç¡¢¤½¤Î¹Ô¤Ï¥³¥á¥ó¥È¤È¤·
¤Æ°·¤ï¤ì¡¢¤½¤Î¹Ô¤Î»Ä¤ê¤ÎÉôʬ¤Ï̵»ë¤µ¤ì¤Þ¤¹¡£¹Ô¤¬
¡Ö <CODE>#include <EM>¥Õ¥¡¥¤¥ë̾</EM></CODE>¡×¤Ç»Ï¤Þ¤ë¾ì¹ç¡¢¤½¤Î¹Ô¤Ï
<EM>¥¤¥ó¥¯¥ë¡¼¥É¥Ç¥£¥ì¥¯¥Æ¥£¥Ö</EM>¤Ç¤¢¤ê¡¢¥ê¥½¡¼¥¹¤ò¥í¡¼¥É¤¹¤ë¤È¤­¡¢
¥ê¥½¡¼¥¹Ãæ¤Î¤³¤Î°ÌÃÖ¤ËÊ̤Υե¡¥¤¥ë¤¬¥Þ¡¼¥¸¤µ¤ì¤Þ¤¹¡£¤³¤ì¤ò»È¤Ã¤Æ¡¢¥ê¥½¡¼
¥¹¥Õ¥¡¥¤¥ë¤¬ËĤ줢¤¬¤ë¤Î¤òËɤ°¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£°Ê²¼¤ËÎã¤ò¤¤¤¯¤Ä¤«¼¨¤·¤Þ
¤¹:
<P>
<BLOCKQUOTE><CODE>
<PRE>
 ! Default resources for me@localhost xterms
 ! start with the generic, move to the specific...
 *Dialog*Text*font:     -b&amp;h-lucida-medium-r-*-*-12-*-*-*-*-*-*-*
 *dialog*value*background: white
 *Dialog*Label*font:    -adobe-helvetica-bold-r-*-*-12-*-*-*-*-*-*-*
 *MenuButton*font:      -adobe-helvetica-medium-r-*-*-12-*-*-*-*-*-*-*
 *MenuButton*background:        grey80
 *MenuButton*foreground:        black
 *Label.font:           -adobe-helvetica-medium-r-*-*-10-*-*-*-*-*-*-*
 *Label*shadowWidth:    1
 *SmeBSB.font:          -adobe-helvetica-bold-r-*-*-12-*-*-*-*-*-*-*
 *SimpleMenu*font:      -adobe-helvetica-medium-r-*-*-10-*-*-*-*-*-*-*
 *OptionMenu*font:      -adobe-helvetica-medium-r-*-*-10-*-*-*-*-*-*-*
 *Command.font:         -linotype-helvetica-bold-r-narrow-*-12-*-*-*-*-*-*-*
 *commandBox*font:      -b&amp;h-lucida-bold-r-*-*-12-*-*-*-*-*-*-*
 *Toggle.font:          -adobe-helvetica-bold-o-*-*-12-*-*-*-*-*-*-*
 *Form.background:      grey70
 *TransientShell*Dialog.background: grey70
 *Scrollbar.Foreground: grey80
 *Scrollbar.Background: grey50
 *Scrollbar*cursorName: top_left_arrow
 *Scrollbar*width:      16
 *shapeStyle:           Rectangle
 *XlwMenu.shadowThickness: 1
 *shadowWidth:          1
 
 ! xterm stuff
 xterm*scrollbar.background: grey40
 xterm*foreground: grey90
 xterm*background: grey25
 xterm*cursorColor: white
 xterm*visualbell: on
 ! rxvt stuff (a quicker, better xterm)
 rxvt*color12: steelblue
 rxvt*color15: white
 rxvt*color9: rgb:ff/7f/5f
 rxvt*foreground: grey90
 rxvt*background: grey10
 rxvt*cursorColor: white
 rxvt*font: lucidasanstypewriter-12
 rxvt*loginShell: false
 rxvt*saveLines: 1024
 rxvt*title: shell
 rxvt*geometry: 80x25
 ! Make Xman just a little bit more sane
 xman*topBox: false
 xman*background: lightsteelblue
 xman*foreground: black
 ! xcalc is too bland by default...
 xcalc*Command.font: -adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*
 xcalc*customization: -color
 ! Disallow the &lt;blink&gt; tag in Netscape
 Netscape*blinkingEnabled: False
 
 ! Merge other resources (example)
 # include $HOME/.otherXresources
 
</PRE>
</CODE></BLOCKQUOTE>
<P>KDE ¤Î¥æ¡¼¥¶¤ËÂФ·¤Æ¡¢X ¤Î¥ê¥½¡¼¥¹¤Ë´Ø¤¹¤ëÃí°Õ¤ò°ì¸À½Ò¤Ù¤Æ¤ª¤­¤Þ¤¹¡£
¥³¥ó¥È¥í¡¼¥ë¥Ñ¥Í¥ë¤ËÀßÄ꤬¤¢¤ê¤Þ¤¹¤¬¡¢¤³¤ì¤Ï¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Ë¤ª¤±¤ë X 
¤Î¥ê¥½¡¼¥¹ÀßÄê¤òÁ´¤Æ¾å½ñ¤­¤·¤Þ¤¹¡£¤³¤ì¤ÏÊØÍø¤Êµ¡Ç½¤Ç¤â¤¢¤ê¤Þ¤¹¤¬¡¢¥ê¥½¡¼
¥¹¤ò¶ì¿´¤·¤ÆÀßÄꤷ¤¿¿Í¤Ë¤È¤Ã¤Æ¤Ï¤¦¤Ã¤È¤¦¤·¤¤µ¡Ç½¤Ç¤â¤¢¤ê¤Þ¤¹¡£¥³¥ó¥È¥í¡¼
¥ë¥Ñ¥Í¥ë¤ò³«¤­¡¢``Fonts etc.'' ¥»¥¯¥·¥ç¥ó¤òõ¤·¤Æ¤¯¤À¤µ¤¤¡£¤³¤³¤Ë
``Apply style to non-KDE apps'' ¤È¤¤¤¦¥ª¥×¥·¥ç¥ó¤¬¤¢¤ê¤Þ¤¹¡£¤³¤ì¤ò¥ª¥ó
¤Ë¤¹¤ë¤È¡¢KDE ¤¬ÀßÄꤷ¤¿¥ë¥Ã¥¯ &amp; ¥Õ¥£¡¼¥ë¤¬Á´¤Æ¤Î¥×¥í¥°¥é¥à¤ËŬÍѤµ
¤ì¤Þ¤¹ (¤³¤ì¤òÄÌÃΤ¹¤ë¤¿¤á¤Ë X ¤òºÆµ¯Æ°¤¹¤ëɬÍפϤ¢¤ê¤Þ¤»¤ó)¡£¤³¤Îµ¡Ç½
¤ò¥ª¥Õ¤Î¤Þ¤Þ¤Ë¤·¤Æ¤¤¤ì¤Ð¡¢¥ê¥½¡¼¥¹¤Ï°ÊÁ°¤ËÀßÄꤷ¤¿¾õÂ֤ΤޤޤȤʤê¤Þ¤¹¡£
<P>
<H2><A NAME="ss8.5">8.5 ¥æ¡¼¥¶ÀìÍѤΥ꥽¡¼¥¹¥Ç¥£¥ì¥¯¥È¥ê</A>
</H2>

<P>Àè¤Ë½Ò¤Ù¤¿¥·¥¹¥Æ¥àÁ´ÂÎÍѤΠ<EM>app-defaults</EM> ¥Ç¥£¥ì¥¯¥È¥ê¤È¤Á¤ç
¤¦¤ÉƱ¤¸¤è¤¦¤Ë¡¢¥æ¡¼¥¶¤â¥ê¥½¡¼¥¹¥Õ¥¡¥¤¥ë¤Î¥Ç¥£¥ì¥¯¥È¥ê¤òºîÀ®¤¹¤ë¤³¤È¤¬
¤Ç¤­¤Þ¤¹¡£¥×¥í¥°¥é¥à¤´¤È¤Ë¥ê¥½¡¼¥¹¥Õ¥¡¥¤¥ë¤Ï 1 ¤Ä¤Ç¤¹¡£Ã±¤Ë¥Ç¥£¥ì¥¯¥È
¥ê¤òºîÀ®¤· (¤³¤Î¥É¥­¥å¥á¥ó¥È¤ÎÎã¤Ç¤Ï¥Û¡¼¥à¥Ç¥£¥ì¥¯¥È¥ê¤Î
app-defaults ¥Ç¥£¥ì¥¯¥È¥ê¤ò»È¤¤¤Þ¤¹)¡¢´Ä¶­ÊÑ¿ô <CODE>XAPPLRESDIR</CODE> ¤¬
¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤ò»Ø¤¹¤è¤¦¤ËÀßÄꤷ¤Þ¤¹¡£¤³¤ÎÊÑ¿ô¤Ï <CODE>.xinitrc</CODE>
¤ÎÀèƬÉôʬ¤ÇÀßÄꤹ¤ë¤Î¤¬Îɤ¤¤Ç¤·¤ç¤¦¡£ÀßÄê¤Ç¤Ï¡¢
<CODE>export XAPPLRESDIR=$HOME/app-defaults</CODE> ¤Î¤è¤¦¤Ê¹Ô¤òÄɲä·¤Þ¤¹
(¥ê¥½¡¼¥¹¥Õ¥¡¥¤¥ë¤ò¥Û¡¼¥à¥Ç¥£¥ì¥¯¥È¥ê²¼¤Î <EM>app-defaults</EM> ¥Ç¥£¥ì
¥¯¥È¥ê¤ËÃÖ¤¯¾ì¹ç)¡£
<P>¤³¤ì¤Ë¤è¤ê¡¢X ¤Î¥×¥í¥°¥é¥à¤òµ¯Æ°¤¹¤ë¤Èɬ¤º¡¢¥×¥í¥°¥é¥à¤Î¥ê¥½¡¼¥¹Ì¾¤ÈƱ
¤¸Ì¾Á°¤ò»ý¤Ä¥Õ¥¡¥¤¥ë¤¬¡¢¥·¥¹¥Æ¥àÁ´ÂÎÍѤΥǥ£¥ì¥¯¥È¥ê¤È¤Á¤ç¤¦¤ÉƱ¤¸¤è¤¦
¤Ë¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤«¤é¸¡º÷¤µ¤ì¤Þ¤¹¡£¤³¤Î̾Á°¤Ï <CODE>.Xdefaults</CODE> ¥Õ¥¡
¥¤¥ë¤Ç»È¤ï¤ì¤Æ¤¤¤ë<EM>¥¯¥é¥¤¥¢¥ó¥È̾</EM>¤Ç¤¹¡£
<P>Î㤨¤Ð¡¢<EM>XTerm</EM> ¤È¤¤¤¦¥Õ¥¡¥¤¥ë¤Ë <CODE>*background: gold</CODE> ¤È
¤¤¤¦¹Ô¤¬¤¢¤ë¤È¡¢Á´¤Æ¤Î <B>xterm</B> ¤Îµ¯Æ°»þ¤ÎÇØ·Ê¿§¤Ï¥Ç¥Õ¥©¥ë¥È¤Ç
¶â¿§¤Ë¤Ê¤ê¤Þ¤¹¡£¤³¤ì¤Ï <CODE>.Xdefaults</CODE> ¤À¤±¤ò»È¤¦¤Î¤È¤ÏÊ̤ÎÁªÂò»è¤Ç¡¢
¤É¤ÎÀßÄê¤ò¸å¤Ç¹Ô¤¦¤«·è¤á¤è¤¦¤È¤·¤Æ¤¤¤ë»þ¤ä¡¢ÆÃÄê¤Î¥×¥í¥°¥é¥à¤Î
ÀßÄê¤òõ¤¹»þ¤Ë¤Ïʬ¤«¤ê¤ä¤¹¤¤ÊýË¡¤Ç¤¹¡£¤·¤«¤·¡¢<CODE>.Xdefaults</CODE> ¤Ë¤â
¤Þ¤À»È¤¤Æ»¤Ï¤¢¤ê¤Þ¤¹¡£¤³¤Î¥Õ¥¡¥¤¥ë¤Ï 1 ¤Ä¤Î¥×¥í¥°¥é¥à¤Ë¸ÂÄꤵ¤ì¤Ê¤¤¥ê
¥½¡¼¥¹¤òÀßÄꤹ¤ëºÝ¤ËÊØÍø¤Ç¤¹¡£¤³¤ì¤ÏÎ㤨¤Ð¡¢¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Ë´Ø·¸¤Ê¤¯
ÆÃÄê¤Î¼ïÎà¤Î¥Ü¥¿¥ó¤òÁ´¤ÆÀÄ¿§¤ËÊѤ¨¤ë½¤Àµ¤ò¤·¤¿¤¤¾ì¹ç¤Ç¤¹¡£
<P>
<HR>
<A HREF="XWindow-User-HOWTO-9.html">¼¡¤Î¥Ú¡¼¥¸</A>
<A HREF="XWindow-User-HOWTO-7.html">Á°¤Î¥Ú¡¼¥¸</A>
<A HREF="XWindow-User-HOWTO.html#toc8">Ìܼ¡¤Ø</A>
</BODY>
</HTML>