This file is indexed.

/etc/X11/app-defaults/XKeyCaps is in xkeycaps 2.47-4.

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
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
!
!                               XKeyCaps
!
!                 a keymap editor for the X window system
!                            by Jamie Zawinski
!
! See "man xkeycaps" for more info.  The latest version is always
! available at http://www.jwz.org/xkeycaps/


!  The default colors are specified rather completely here to avoid
!  losing badly when the user specifies conflicting values for
!  "*Foreground" and "*Background" in their personal resources.
!  The downside of this is that it's more work for the user to change
!  the colors of XKeyCaps.  If you want white-on-black, instead of
!  the black-on-light-shades-of-gray default configuration, do
!  something like
!			XKeyCaps*Background: black
!			XKeyCaps*Foreground: white
!			XKeyCaps*BorderColor: black
!
!  "xkeycaps -fg white -bg black -bd white" will do the same thing.
!
XKeyCaps*Foreground:				#000000
XKeyCaps*borderColor:				#000000
XKeyCaps*background:				#E0E0E0
XKeyCaps*Command.background:			#EDEDED
XKeyCaps*MenuButton.background:			#EDEDED
XKeyCaps*Toggle.background:			#EDEDED
XKeyCaps*Key.background:			#EDEDED
XKeyCaps*Key.highlight:				#FFFF00
XKeyCaps*editKey*label.foreground:		#EDEDED
XKeyCaps*editKey*label.background:		#000000
XKeyCaps*editKey*Toggle.background:		#E0E0E0
XKeyCaps*editKey*Viewport*background:		#EDEDED
XKeyCaps*editKey*autoRepeatValue.background:	#E0E0E0
XKeyCaps*selectKbd*label.foreground:		#EDEDED
XKeyCaps*selectKbd*label.background:		#000000
XKeyCaps*selectKbd*kbd_icon.foreground:		#000000
XKeyCaps*selectKbd*kbd_icon.background:		#FCFCFC
XKeyCaps*selectKbd*Viewport*background:		#EDEDED

*Paned*showGrip:				false
*Paned.borderWidth:				0
*Paned.internalBorderWidth:			0
*buttons.borderWidth:				0
*info.borderWidth:				0
*Keyboard.borderWidth:				0
*Key.borderWidth:				1
! Why is this one necessary?
*horizontal.internalBorderWidth:		0

*info.defaultDistance:				0
*info.labels.defaultDistance:			1
*info.labels.borderWidth:			0
*info.line.vSpace:				0
*info.line.borderWidth:				0
*Label*internalWidth:				3
*Label*internalHeight:				0
*Label.borderWidth:				0

*editKey*Viewport.borderWidth:			1
*editKey*Viewport.forceBars:			true
*editKey*Viewport.allowVert:			true
*editKey*List.defaultColumns:			1
*editKey*List.forceColumns:			true
*editKey*Toggle*internalWidth:			3
*editKey*Toggle*internalHeight:			3
*editKey*Toggle*vertDistance:			0
*editKey*Toggle.borderWidth:			0
*editKey*keysymLine.borderWidth:		0
*editKey*label.internalHeight:			5

*editKey*keysymBox*defaultDistance:		0
*editKey*keysymLine.vSpace:			0
*editKey*keysymBox*Label.internalHeight:	0
*editKey*keysymBox*symsOfCode.internalWidth:	15
*editKey*keysymBox*symsOfCode.internalHeight:	5
*editKey*Toggle*internalHeight:			1
*editKey*spacer.height:				5

*editKey*autoRepeatValue.internalHeight:	0
*editKey*autoRepeatValue.shapeStyle:		rectangle
*editKey*autoRepeatValue.borderWidth:		0

*editKey*modifierBox*internalHeight:		1
*editKey*List.internalWidth:			5
*editKey*List.columnSpacing:			10
*editKey*List.rowSpacing:			0

*selectKbd*Viewport.borderWidth:		1
*selectKbd*Viewport.forceBars:			true
*selectKbd*Viewport.allowVert:			true
*selectKbd*Viewport.height:			150
*selectKbd*List.defaultColumns:			1
*selectKbd*List.forceColumns:			true
*selectKbd*label.internalHeight:		5

*selectKbd*List.internalWidth:			2
*selectKbd*List.columnSpacing:			5
*selectKbd*List.rowSpacing:			0

*selectKbd*vendorBox*Label.internalWidth:	20
*selectKbd*vendorBox*Label.internalHeight:	3

*selectKbd*keyboardBox*Label.internalWidth:	20
*selectKbd*keyboardBox*Label.internalHeight:	3

*selectKbd*keymapBox*Label.internalWidth:	20
*selectKbd*keymapBox*Label.internalHeight:	3

*selectKbd*label2.allowResize:			true
*selectKbd*label2.internalWidth:		30

*selectKbd*kbd_icon.justify:			center
*selectKbd*spacer.width:			120
*selectKbd*kbd_icon.internalWidth:		0
*selectKbd*kbd_icon.internalHeight:		0
*selectKbd*kbd_icon.height:			30
*selectKbd*kbd_icon.allowResize:		true

*buttons.defaultDistance:			1
*Command.shapeStyle:				oval
*buttons.MenuButton.shapeStyle:			oval
*Command.internalWidth:				5
*buttons.MenuButton.internalWidth:		5
*buttons.MenuButton.internalHeight:		1
*Command.internalHeight:			1
*Command.borderWidth:				1
*buttons.MenuButton.borderWidth:		1
*keyboardMenu*leftMargin:			15
*keyboardMenu*rightMargin:			15
  
*labels.Label.font:		  *-helvetica-bold-r-*-*-*-100-*-*-*-*-*-*
*Label.font:			  *-courier-medium-r-*-*-*-120-*-*-*-*-*-*
! use iso8859-1 so that we can display the (c) symbol at startup...
*info*message.font:		*-helvetica-medium-r-*-*-*-100-*-*-iso8859-1
*info*message2.font:		*-helvetica-medium-r-*-*-*-100-*-*-iso8859-1
*Command.font:			  *-helvetica-bold-r-*-*-*-100-*-*-*-*-*-*
*keyMenu*font:			  *-helvetica-bold-r-*-*-*-100-*-*-*-*-*-*
*keyMenu.menuLabel.font:	  *-helvetica-bold-o-*-*-*-120-*-*-*-*-*-*
*modifiers*label.font:		  *-helvetica-bold-r-*-*-*-140-*-*-*-*-*-*
*modifiers*Toggle.font:		  *-helvetica-bold-r-*-*-*-120-*-*-*-*-*-*
*modifiers*Command.font:	  *-helvetica-bold-r-*-*-*-140-*-*-*-*-*-*
*buttons.MenuButton.font:	  *-helvetica-bold-r-*-*-*-100-*-*-*-*-*-*
*buttons.Command.font:		  *-helvetica-bold-r-*-*-*-100-*-*-*-*-*-*
*keyboardMenu*font:		  *-helvetica-bold-r-*-*-*-100-*-*-*-*-*-*
*editKey*buttons*font:		  *-helvetica-bold-r-*-*-*-140-*-*-*-*-*-*
*editKey*label.font:		  *-helvetica-bold-r-*-*-*-140-*-*-*-*-*-*
*editKey*Label.font:		  *-helvetica-bold-r-*-*-*-100-*-*-*-*-*-*
*editKey*Toggle.font:		*-helvetica-medium-r-*-*-*-100-*-*-*-*-*-*
*editKey*List*font:		*-helvetica-medium-r-*-*-*-120-*-*-*-*-*-*
*editKey*autoRepeatValue.font:	*-helvetica-medium-r-*-*-*-100-*-*-*-*-*-*

*selectKbd*buttons*font:	  *-helvetica-bold-r-*-*-*-140-*-*-*-*-*-*
*selectKbd*label.font:		  *-helvetica-bold-r-*-*-*-140-*-*-*-*-*-*
*selectKbd*Label.font:		  *-helvetica-bold-r-*-*-*-100-*-*-*-*-*-*
*selectKbd*Toggle.font:		*-helvetica-medium-r-*-*-*-100-*-*-*-*-*-*
*selectKbd*List*font:		*-helvetica-medium-r-*-*-*-120-*-*-*-*-*-*
*selectKbd*label2.font:		*-helvetica-medium-r-*-*-*-120-*-*-*-*-*-*

*editKey.title:					Edit Key
*selectKbd.title:				Select Keyboard
*writeQuery.title:				Question
*restoreQuery.title:				Question
*overwriteQuery.title:				Question
*wroteFileMessage.title:			Message

*buttons.quit.label:				Quit
*buttons.focus.label:				Type At Window
*buttons.keyboard.label:			Select Keyboard
*buttons.restore.label:				Restore Default Map
*buttons.write.label:				Write Output

*keyMenu.editKeysyms.label:			Edit KeySyms of Key
*keyMenu.swapKey.label:				Exchange Keys
*keyMenu.cloneKey.label:			Duplicate Key
*keyMenu.disableKey.label:			Disable Key
*keyMenu.restoreKey.label:			Restore Key to Default

*editKey*keysym1.label:				KeySym 1:
*editKey*keysym2.label:				KeySym 2:
*editKey*keysym3.label:				KeySym 3:
*editKey*keysym4.label:				KeySym 4:
*editKey*keysym5.label:				KeySym 5:
*editKey*keysym6.label:				KeySym 6:
*editKey*keysym7.label:				KeySym 7:
*editKey*keysym8.label:				KeySym 8:
*editKey*autoRepeat.label:			AutoRepeat:
*editKey*symsOfCode.label:			KeySyms of KeyCode:
*editKey*modifiers.label:			Modifiers:
*editKey*allKeySets.label:			Character Set:
*editKey*keySymsOfSet.label:			KeySym:
*editKey*modifierBox.modShift.label:		Shift
*editKey*modifierBox.modControl.label:		Control
*editKey*modifierBox.modLock.label:		Lock

*selectKbd*vendors.label:			Vendors:
*selectKbd*keyboards.label:			Keyboards:
*selectKbd*keymaps.label:			Layouts:
*selectKbd*label.label:				Select a Keyboard and Layout:

! Why is this necessary?
*TransientShell*Paned.borderWidth:		0

*writeQuery*label.font:		       *-helvetica-bold-r-*-*-*-140-*-*-*-*-*-*
*restoreQuery*label.font:	       *-helvetica-bold-r-*-*-*-140-*-*-*-*-*-*
*overwriteQuery*label.font:	       *-helvetica-bold-r-*-*-*-140-*-*-*-*-*-*
*wroteFileMessage*label.font:	       *-helvetica-bold-r-*-*-*-140-*-*-*-*-*-*
*noKeysymDBError*label.font:	       *-helvetica-bold-r-*-*-*-140-*-*-*-*-*-*
*unknownKeysymDBError*label.font:      *-helvetica-bold-r-*-*-*-140-*-*-*-*-*-*
*magicKeyError*label.font:	       *-helvetica-bold-r-*-*-*-140-*-*-*-*-*-*
*keysymConflictWarning*label.font:     *-helvetica-bold-r-*-*-*-140-*-*-*-*-*-*
*badModifiersWarning*label.font:       *-helvetica-bold-r-*-*-*-140-*-*-*-*-*-*
*badModifiersWarning2*label.font:      *-helvetica-bold-r-*-*-*-140-*-*-*-*-*-*
*multipleModifiersWarning*label.font:  *-helvetica-bold-r-*-*-*-140-*-*-*-*-*-*
*noModifiersWarning*label.font:	       *-helvetica-bold-r-*-*-*-140-*-*-*-*-*-*
*modifiersConflictWarning*label.font:  *-helvetica-bold-r-*-*-*-140-*-*-*-*-*-*
*modifiersConflictWarning2*label.font: *-helvetica-bold-r-*-*-*-140-*-*-*-*-*-*

*writeQuery*Command.font:	       *-helvetica-bold-r-*-*-*-140-*-*-*-*-*-*
*restoreQuery*Command.font:	       *-helvetica-bold-r-*-*-*-140-*-*-*-*-*-*
*overwriteQuery*Command.font:	       *-helvetica-bold-r-*-*-*-140-*-*-*-*-*-*
*wroteFileMessage*Command.font:	       *-helvetica-bold-r-*-*-*-140-*-*-*-*-*-*
*noKeysymDBError*Command.font:	       *-helvetica-bold-r-*-*-*-140-*-*-*-*-*-*
*unknownKeysymDBError*Command.font:    *-helvetica-bold-r-*-*-*-140-*-*-*-*-*-*
*magicKeyError*Command.font:	       *-helvetica-bold-r-*-*-*-140-*-*-*-*-*-*
*keysymConflictWarning*Command.font:   *-helvetica-bold-r-*-*-*-140-*-*-*-*-*-*
*badModifiersWarning*Command.font:     *-helvetica-bold-r-*-*-*-140-*-*-*-*-*-*
*badModifiersWarning2*Command.font:    *-helvetica-bold-r-*-*-*-140-*-*-*-*-*-*
*multipleModifiersWarning*Command.font:*-helvetica-bold-r-*-*-*-140-*-*-*-*-*-*
*noModifiersWarning*Command.font:      *-helvetica-bold-r-*-*-*-140-*-*-*-*-*-*
*modifiersConflictWarning*Command.font:*-helvetica-bold-r-*-*-*-140-*-*-*-*-*-*
*modifiersConflictWarning2*Command.font:*-helvetica-bold-r-*-*-*-140-*-*-*-*-*-*

*noKeysymDBError*label.internalWidth:		20
*noKeysymDBError*label.internalHeight:		0
*noKeysymDBError*buttons.hSpace:		20
*noKeysymDBError*buttons.vSpace:		20

*unknownKeysymDBError*label.internalWidth:	20
*unknownKeysymDBError*label.internalHeight:	0
*unknownKeysymDBError*buttons.hSpace:		20
*unknownKeysymDBError*buttons.vSpace:		20

*magicKeyError*label.internalWidth:		20
*magicKeyError*label.internalHeight:		0
*magicKeyError*buttons.hSpace:			20
*magicKeyError*buttons.vSpace:			20

*restoreQuery*label.internalWidth:		20
*restoreQuery*label.internalHeight:		0
*restoreQuery*buttons.hSpace:			20
*restoreQuery*buttons.vSpace:			20

*overwriteQuery*label.internalWidth:		20
*overwriteQuery*label.internalHeight:		0
*overwriteQuery*buttons.hSpace:			20
*overwriteQuery*buttons.vSpace:			20

*wroteFileMessage*label.internalWidth:		20
*wroteFileMessage*label.internalHeight:		0
*wroteFileMessage*buttons.hSpace:		20
*wroteFileMessage*buttons.vSpace:		20

*writeQuery*label.internalWidth:		20
*writeQuery*label.internalHeight:		0
*writeQuery*buttons.hSpace:			20
*writeQuery*buttons.vSpace:			20

*keysymConflictWarning*label.internalWidth:	20
*keysymConflictWarning*label.internalHeight:	0
*keysymConflictWarning*buttons.hSpace:		20
*keysymConflictWarning*buttons.vSpace:		20

*badModifiersWarning*label.internalWidth:	20
*badModifiersWarning*label.internalHeight:	0
*badModifiersWarning*buttons.hSpace:		20
*badModifiersWarning*buttons.vSpace:		20

*badModifiersWarning2*label.internalWidth:	20
*badModifiersWarning2*label.internalHeight:	0
*badModifiersWarning2*buttons.hSpace:		20
*badModifiersWarning2*buttons.vSpace:		20

*multipleModifiersWarning*label.internalWidth:	20
*multipleModifiersWarning*label.internalHeight:	0
*multipleModifiersWarning*buttons.hSpace:	20
*multipleModifiersWarning*buttons.vSpace:	20

*noModifiersWarning*label.internalWidth:	20
*noModifiersWarning*label.internalHeight:	0
*noModifiersWarning*buttons.hSpace:		20
*noModifiersWarning*buttons.vSpace:		20

*modifiersConflictWarning*label.internalWidth:	20
*modifiersConflictWarning*label.internalHeight:	0
*modifiersConflictWarning*buttons.hSpace:	20
*modifiersConflictWarning*buttons.vSpace:	20

*modifiersConflictWarning2*label.internalWidth:	20
*modifiersConflictWarning2*label.internalHeight:0
*modifiersConflictWarning2*buttons.hSpace:	20
*modifiersConflictWarning2*buttons.vSpace:	20


*writeQuery*label.label:			\n\
Write an xmodmap file for all keys, or only\n\
for keys which differ from the default?

*writeQuery*full.label:				All Keys
*writeQuery*partial.label:			Changed Keys
*writeQuery*abort.label:			Cancel

*restoreQuery*label.label:			\n\
Restore Default Keymap?\n\
\n\
If you are not really using the kind of keyboard\n\
that is displayed, you will lose big.

*restoreQuery*yes.label:			Restore
*restoreQuery*no.label:				Cancel

*overwriteQuery*label.label:			\nOverwrite file %s?
*wroteFileMessage*label.label:			\n\
Wrote output to the file\n\
         %s\n\
\n\
You should modify your login script to contain a line like\n\
\n\
         xmodmap ~/.xmodmap-`uname -n`\n\
\n\
(those are backquotes.)\n

*noKeysymDBError.title:				Error
*unknownKeysymDBError.title:			Error
*noKeysymDBError*label.label:			\n\
The vendor-specific keysym file %s does not exist.\n\
You can override this location with the $XKEYSYMDB environment variable.

*unknownKeysymDBError*label.label:		\n\
Don't know where to find the vendor-specific keysym file.\n\
Set the $XKEYSYMDB environment variable to point to it.\n\
On many systems this file is found in /usr/lib/X11/XKeysymDB.

*noKeysymDBError*ok.label:			Ok
*unknownKeysymDBError*ok.label:			Ok

*magicKeyError.title:				Error
*magicKeyError*label.label:			\n\
This key does not have a keycode: it is interpreted specially by\n\
the X server.  You cannot change its behavior with this program.

*magicKeyError*ok.label:			Ok

*keysymConflictWarning.title:			Error
*keysymConflictWarning*label.label:		\n\
This key generates both the keysyms %s and %s.\n\
These keysyms have incompatible semantics; it does not make sense\n\
to attach them both to the same key (the behavior is undefined.)

*keysymConflictWarning*ok.label:		Do It Anyway
*keysymConflictWarning*cancel.label:		Cancel

*badModifiersWarning.title:			Error
*badModifiersWarning*label.label:		\n\
The semantics of the modifier bits ModShift, ModLock, and ModControl\n\
are predefined.  It does not make sense to assign Mod%s to any\n\
keysym other than %s or %s.\n\
\n\
If you want to make this key be a %s key, change its keysym as well.

*badModifiersWarning*ok.label:			Do It Anyway
*badModifiersWarning*cancel.label:		Cancel

*badModifiersWarning2.title:			Error
*badModifiersWarning2*label.label:		\n\
The semantics of the Shift, Control, and Lock keysyms are predefined.\n\
It does not make sense to assign any modifier bit to %s other than Mod%s.\n\
If you want this to be a %s key, use the appropriate modifier bit.\n\
If you want this key to do something else, you must change its keysym.

*badModifiersWarning2*ok.label:			Do It Anyway
*badModifiersWarning2*cancel.label:		Cancel

*multipleModifiersWarning.title:		Error
*multipleModifiersWarning*label.label:		\n\
This key is generating more than one modifier bit.\n\
The behavior of that is undefined.

*multipleModifiersWarning*ok.label:		Do It Anyway
*multipleModifiersWarning*cancel.label:		Cancel

*noModifiersWarning.title:			Warning
*noModifiersWarning*label.label:		\n\
This key generates the keysym %s, but no modifier bits.\n\
This means that this key won't do anything in most applications.

*noModifiersWarning*ok.label:			Ok
*noModifiersWarning*cancel.label:		Cancel

*modifiersConflictWarning.title:		Error
*modifiersConflictWarning*label.label:		\n\
This key generates the keysym %s, plus the modifier bit Mod%s.\n\
However, this bit is also generated by key 0x%02X (%s), which has\n\
the keysym %s.\n\
\n\
These two keysyms have different semantics; therefore, they cannot\n\
share the same modifier bit (the behavior is undefined.)\n\
\n\
If you want these two keys to have different behavior, change one of\n\
them to use some otherwise-unallocated modifier bit.\n\
\n\
If you want these two keys to have the same behavior, they must have\n\
both the same modifier bits, and the same (or compatible) keysyms.\n\
\n\
For example, Meta_L and Meta_R are compatible keysyms, because\n\
they are both Meta keys; however, Meta_L and Mode_switch are not\n\
compatible, because a Meta key and a Mode_switch key are supposed\n\
to do quite different things; if they share the same modifier bit, then\n\
applications cannot tell them apart.

*modifiersConflictWarning*ok.label:		Do It Anyway
*modifiersConflictWarning*cancel.label:		Cancel

*modifiersConflictWarning2.title:		Error
*modifiersConflictWarning2*label.label:		\n\
This key generates the keysym %s, plus the modifier bit Mod%s.\n\
However, key 0x%02X (%s) generates the keysym %s plus the\n\
modifier bit Mod%s.  Since these two keys have the same semantics,\n\
they should have the same modifier bits.\n\
\n\
If you want these two keys to have different behavior, you must\n\
change one of them to generate a different keysym as well as a\n\
different modifier bit.

*modifiersConflictWarning2*ok.label:		Do It Anyway
*modifiersConflictWarning2*cancel.label:	Cancel