-
Notifications
You must be signed in to change notification settings - Fork 0
/
.Xresources
476 lines (441 loc) · 16.9 KB
/
.Xresources
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
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
! -*- conf-xdefaults -*-
! This is an X resources file used by Silas S. Brown.
! (wersion without unmatched apostrophes so it parses without warning on later versions of xrdb)
! This is meant for large monitor and low-res virtual desktop
! To activate any changes, type: xrdb + ~/.Xresources
! (this only affects newly-launched applications)
! If this command is in your .xsession (or similar)
! near the start, then the settings should take place
! every time you log in.
! E.g. in Mac XQuartz (tested on 2.8.1), run:
! defaults write org.xquartz.x11 app_to_run "xrdb + ~/.Xresources;exit"
! (omit ";exit" to get an xterm by default)
! Where to find history:
! on GitHub at https://github.com/ssb22/config
! and on GitLab at https://gitlab.com/ssb22/config
! and on BitBucket https://bitbucket.org/ssb22/config
! and at https://gitlab.developers.cam.ac.uk/ssb22/config
! and in China: https://gitee.com/ssb22/config
! ------------------------------------------------------
! X Freetype Library settings. Can be used to enlarge some
! more modern setups. If you set the 'dpi' value to
! something significantly bigger than your real dpi, you get
! fairly consistent magnification even when an application
! hard-codes some of the font sizes.
Xft.dpi: 125
Xft.hinting: true
Xft.hintstyle: hintslight
! or try hintmedium. strangely enough can be better than 'hintfull'
! see http://web.archive.org/web/20070703003458/http://www.cs.mcgill.ca/~dchest/xfthack/
Xft.antialias: 0
! (for low resolutions)
! ------------------------------------------------------
! Bitmap fonts to use. See below for a brief explanation.
! -misc-fixed-medium-r-normal-*-20-*-100-*-c-*-iso8859-1 is good for terminals
! but it is not available any larger than 20 (it's a bitmap and doesn't scale
! well).
! (fontList is used by the Motif library)
*font: -*-fixed-medium-r-normal-*-20-*-100-*-c-*-*-*
*fontList: -*-fixed-medium-r-normal-*-20-*-100-*-c-*-*-*
*textFont: -*-fixed-medium-r-normal-*-20-*-100-*-c-*-*-*
! Some versions of nedit need explicit stuff
nedit*fontList: -*-fixed-medium-r-normal-*-20-*-100-*-c-*-*-*
nedit*helpText.fontList: -*-fixed-medium-r-normal-*-20-*-100-*-c-*-*-*
! TODO: above line does not seem to work
UXTerm*font: -*-fixed-medium-r-normal-*-20-*-100-*-c-*-*-*
UXTerm*geometry: 57x17
! Emacs menu bar and pop-up menus (different from other
! Emacs faces). The following should work in various
! different configurations of XEmacs.
Emacs*menubar*font: -*-helvetica-bold-r-normal-*-14-*-*-*-p-*-*-*
Emacs*menubar*Font: -*-helvetica-bold-r-normal-*-14-*-*-*-p-*-*-*
Emacs*menubar*FontSet: -*-helvetica-bold-r-normal-*-14-*-*-*-p-*-*-*
Emacs*menubar*fontList: -*-helvetica-bold-r-normal-*-14-*-*-*-p-*-*-*
Emacs*popup*font: -*-helvetica-bold-r-normal-*-14-*-*-*-p-*-*-*
Emacs*popup*Font: -*-helvetica-bold-r-normal-*-14-*-*-*-p-*-*-*
Emacs*popup*FontSet: -*-helvetica-bold-r-normal-*-14-*-*-*-p-*-*-*
Emacs*popup*fontList: -*-helvetica-bold-r-normal-*-14-*-*-*-p-*-*-*
Emacs.bold-italic.attributeFont: -adobe-utopia-regular-r-normal-*-19-*-*-*-p-*-iso8859-1
Emacs.italic.attributeFont: -*-lucida-bold-r-normal-*-19-*-*-*-p-*-iso8859-1
Emacs.bold.attributeFont: -bitstream-courier-bold-r-normal-*-20-*-*-*-m-*-*-*
! -*-lucida-medium-r-normal-sans-16-*-*-*-p-*-iso8859-1
! The only large bold fonts available on a lot of systems are courier, which
! gets a bit tiring. However, if you set the fountry to something nonsensical,
! most programs will create bold by overstriking the normal font.
! (The other parameters are probably ignored and the above ones used instead.)
! Actually, we could just leave this unset.
! *boldFont: -asdf-*-bold-r-normal-*-20-*-*-*-*-*-*-*
! *boldHighlightFont: -asdf-*-bold-r-normal-*-20-*-*-*-*-*-*-*
! XEmacs will not do this overstriking, so give it a proper bold font.
! Now moved this to .emacs, because specifying the resources here either
! got spurious warnings or incorrect behaviour (probably a bug somewhere)
! *italicHighlightFont: -*-*-*-o-normal-*-20-*-*-*-*-*-*-*
! *boldItalicHighlightFont: -bitstream-*-bold-o-normal-*-20-*-*-*-*-*-*-*
! Fonts can be chosen by changing the numbers in the above directly,
! or by using xfontsel or gtkfontsel. It is worth making sure there are
! plenty of extra fonts installed on your system.
! * means "anything". The fields are: Foundry, Family, Weight (normal or
! bold), Slant (r=Roman o=ital), Set width (eg. normal, condensed), Add style,
! Pixel size (eg. 20), Point size, Resolution X, Resolution Y, Spacing
! (p=proportional m=monospaced c=char cell), Average width, Character set
! (eg. iso8859), Character subset (eg. 1)
! =========================================================
*cursorColor: gold
*cursorForeground: gold
*text.foreground: yellow
*text.background: black
*foreground: yellow
*background: black
*borderColor: cyan
*menuBar.foreground: yellow
*menuBar.background: gray40
! Emacs has all lower case.
! Need a fairly dark background (because of large menus &
! fatigue), but needs to contrast a little with the black
! background of the surrounding workspace. Try:
*menubar*foreground: yellow
*menubar*background: #004055
*text.heavyCursor: true
*text.selectForeground: yellow
*text.selectBackground: blue
*statsLine.foreground: yellow
*statsLine.background: blue
*helpText.foreground: yellow
*helpText.background: black
*fg: yellow
*bg: black
*highlightColor: darkblue
*pointerColor: yellow
*pointerColorBackground: blue
*Scrollbar*thickness: 20
! Athena stuff (e.g. xterm) tends to use the following
*Scrollbar*background: darkgreen
*Scrollbar*foreground: yellow
! tk programs (e.g. kernel xconfig) use the lines below.
! The scrollbar is drawn in black and *Scrollbar*Background
! and is only set to *Scrollbar*Foreground when the mouse
! is above it.
*Scrollbar*Background: darkgrey
*Scrollbar*Foreground: purple
! Also one for Motif:
*XmScrollBar*Background: darkgreen
*XmScrollBar*troughColor: yellow
*Clock*foreground: yellow
*Clock*hands: magenta
*Clock*highlight: purple
*Clock*background: grey30
*MenuButton*background: #006085
*SimpleMenu*background: #006085
*Command*background: brown
*Label.background: grey30
! Other Athena widgets? Motif ??
! LyX stuff:
! (Versions of LyX up to 1.1.4 use this; for higher versions
! see .lyx/lyxrc)
*LyX.BackgroundColor: black
*LyX.SelectionColor: blue
*LyX.LightedColor: darkblue
*LyX.NoteColor: yellow
*LyX.LatexColor: cyan
*LyX.OnOffLineColor: yellow
*LyX.NewLineColor: red
*LyX.FillColor: red
*LyX.LabelColor: yellow
*LyX.FootColor: yellow
*LyX.MathFrameColor: red
*LyX.MathColor: green
*LyX.Reverse: 1
! Next setting applies even to newer versions of LyX:
! initial geometry. Make sure not larger than the visible
! area of the virtual desktop (especially for versions that
! cannot be resized any smaller than initial size).
*LyX.geometry: 640x480
! nedit stuff:
nedit.stdOpenDialog: True
! In nedit, you can get the menus more clearly separated
! from the text by using grey. However, this means we have
! to re-iterate all the other backgrounds for nedit, as otherwise
! the grey will override them. So:
nedit*background: gray40
nedit*text.background: black
nedit*statsLine.background: blue
nedit*helpText.background: black
! some nedit versions need an explicit foreground as well
nedit*foreground: yellow
nedit*text.foreground: yellow
nedit*helpText.foreground: yellow
! NEdit: Here is a well-tested set of highlight colors for use with dark backgrounds
! and a single font. (contributed by Lance Spaulding of HP)
! Source: ftp://ftp.fnal.gov/pub/nedit/v5_0_2/contrib/darkbg.styles
nedit.styles: Plain:Yellow:Plain\n\
Comment:Gray85:Plain\n\
Keyword:LightSkyBlue:Plain\n\
Storage Type:LawnGreen:Plain\n\
String:orange:Plain\n\
String1:cyan:Plain\n\
String2:White:Plain\n\
Preprocessor:Coral:Plain\n\
Preprocessor1:White:Plain\n\
Character Const:Orange:Plain\n\
Numeric Const:LightBlue:Plain\n\
Identifier:White:Plain\n\
Identifier1:White:Plain\n\
Subroutine:LightCyan:Plain\n\
Subroutine1:chocolate:Plain\n\
Ada Attributes:White:Plain\n\
Flag:LimeGreen:Plain\n\
Text Comment:white:Plain\n\
Text Key:white:Plain\n\
Text Key1:white:Plain\n\
Text Arg:white:Plain\n\
Text Arg1:white:Plain\n\
Text Arg2:white:Plain\n\
Text Escape:white:Plain\n\
LaTeX Math:darkGreen:Plain
! xterm stuff:
XTerm*multiScroll: true
UXTerm*multiScroll: true
XTerm*scrollBar: on
UXTerm*scrollBar: on
XTerm*saveLines: 1000
UXTerm*saveLines: 1000
XTerm*bellSuppressTime: 1000
UXTerm*bellSuppressTime: 1000
XTerm*reverseWrap: on
UXTerm*reverseWrap: on
XTerm*highlightSelection: true
UXTerm*highlightSelection: true
*colorBDMode: on
*colorBD: cyan
*colorULMode: on
*colorUL: magenta
XTerm.VT100*cursorColor: lime green
UXTerm.VT100*cursorColor: lime green
XTerm.VT100.eightBitInput: true
UXTerm.VT100.eightBitInput: true
XTerm.VT100.eightBitOutput: true
UXTerm.VT100.eightBitOutput: true
XTerm.VT100*colorMode: on
UXTerm.VT100*colorMode: on
XTerm.VT100*dynamicColors: on
UXTerm.VT100*dynamicColors: on
! xfig stuff:
*canvasbackground: darkblue
*canvasforeground: yellow
*pageborder: green
*showpageborder: true
! xpdf stuff:
! *xpdf.initialZoom: 2
! commented out the above because it has different semantics
! in different versions of xpdf (in newer versions it is a
! percentage)
*xpdf.paperColor: darkgrey
*xpdf.urlCommand: go lynx '%s'
! Not using anti-aliased fonts because they do not work too
! well with different background colours
*xpdf.t1libControl: plain
! *xpdf.t1libControl: none
! This stuff is for GTK 2.0 etc - later versions of KDE can
! actually generate these X-resources from their dialogues
! (use xrdb -query to check, then customise by hand as
! necessary)
! (NB gtk 2.2.0 still gets its colours from gtkrc, but gtk
! 2.4.0 gets its colours from here)
XWp*XmTextField*background: #000000
Acroread.background: #000000
AcroRead.XmScreen.background: #000000
*Canvas.activeBackground: #000000
*Canvas.background: #000000
*Canvas.highlightBackground: #000000
*Entry.activeBackground: #000000
*Entry.background: #000000
*Entry.highlightBackground: #000000
*List.background: #000000
*Listbox.activeBackground: #000000
*Listbox.background: #000000
*Listbox.highlightBackground: #000000
*Text.activeBackground: #000000
*Text.background: #000000
*Text.highlightBackground: #000000
*XmList.background: #000000
*XmText.background: #000000
*XmTextField.background: #000000
XWp*XmDialogShell*XmDrawingArea.background: #000000
XWp*XmDialogShell*XmList*background: #000000
XWp*XmDialogShell*XmScrolledWindow*XmDrawingArea.background: #000000
XWp*XmDialogShell*XmText*background: #000000
XWp*XmDialogShell*XmTextField*background: #000000
XWp*XmDrawingArea.background: #000000
XWp*XmList*background: #000000
XWp*XmText*background: #000000
*Canvas.selectbackground: #0000ff
*Entry.selectBackground: #0000ff
*Listbox.selectBackground: #0000ff
*Text.selectBackground: #0000ff
*Box.background: #302060
*Button.activeBackground: #904080
*Button.background: #302060
*Button.highlightBackground: #0020C0
*Checkbutton.activeBackground: #904080
*Checkbutton.background: #302060
*Checkbutton.highlightBackground: #0020C0
*Command.background: #302060
*Dialog.background: #302060
*Form.background: #302060
*Frame.activeBackground: #904080
*Frame.background: #302060
*Frame.highlightBackground: #0020C0
*Label.activeBackground: #904080
*Label.highlightBackground: #0020C0
*Menu.activeBackground: #904080
*Menu.background: #302060
*Menubutton.activeBackground: #904080
*Menubutton.background: #302060
*MenuButton.background: #302060
*Menubutton.highlightBackground: #0020C0
*Menu.highlightBackground: #0020C0
*Radiobutton.activeBackground: #904080
*Radiobutton.background: #302060
*Radiobutton.highlightBackground: #0020C0
*Scale.activeBackground: #904080
*Scale.background: #302060
*Scale.highlightBackground: #0020C0
*Scale.troughColor: #302060
*Toggle.background: #302060
*Toplevel.activeBackground: #904080
*Toplevel.background: #302060
*Toplevel.highlightBackground: #0020C0
*XmCascadeButton.background: #302060
*XmCascadeButtonGadget.background: #302060
*XmDialogShell.background: #302060
*XmFileSelectionBox.background: #302060
*XmForm.background: #302060
*XmFrame.background: #302060
*XmLabel.background: #302060
*XmLabelGadget.background: #302060
*XmMenuShell.background: #302060
*XmMessageBox.background: #302060
*XmPanedWindow.background: #302060
*XmPushButton.background: #302060
*XmPushButtonGadget.background: #302060
*XmRowColumn.background: #302060
*XmSash.background: #302060
*XmScrollBar.background: #302060
*XmScrolledWindow.background: #302060
*XmSelectionBox.background: #302060
*XmSeparator.background: #302060
*XmSeparatorGadget.background: #302060
*XmTearOffButton.background: #302060
*XmTearOffButtonGadget.background: #302060
*XmToggleButton.background: #302060
*XmToggleButtonGadget.background: #302060
XWp*background: #302060
XWp.form.controlbar.menubar.CBHlpButton*background: #302060
XWp.form.hscrollbar.background: #302060
XWp.form.rulerframe.ruler*background: #302060
XWp.form.scrollbar0.background: #302060
XWp.mainWindowForm.mainWindowMenubar*background: #302060
XWp*menubar*background: #302060
XWp*MenuBar*background: #302060
XWp*popmenu*background: #302060
XWp*XmDialogShell*background: #302060
XWp*XmScrolledWindow*XmDrawingArea.background: #302060
AcroRead.borderColor: #ffff00
Acroread.foreground: #ffff00
AcroRead.XmScreen.borderColor: #ffff00
*Box.foreground: #ffff00
*Button.activeForeground: #ffff00
*Button.foreground: #ffff00
*Button.highlightColor: #ffff00
*Canvas.activeForeground: #ffff00
*Canvas.foreground: #ffff00
*Canvas.highlightColor: #ffff00
*Checkbutton.activeForeground: #ffff00
*Checkbutton.foreground: #ffff00
*Checkbutton.highlightColor: #ffff00
*Command.foreground: #ffff00
*Dialog.foreground: #ffff00
*Entry.activeForeground: #ffff00
*Entry.foreground: #ffff00
*Entry.highlightColor: #ffff00
*Form.foreground: #ffff00
*Frame.activeForeground: #ffff00
*Frame.foreground: #ffff00
*Frame.highlightColor: #ffff00
*Label.activeForeground: #ffff00
*Label.foreground: #ffff00
*Label.highlightColor: #ffff00
*Listbox.activeForeground: #ffff00
*Listbox.foreground: #ffff00
*Listbox.highlightColor: #ffff00
*List.foreground: #ffff00
*Menu.activeForeground: #ffff00
*Menubutton.activeForeground: #ffff00
*Menubutton.foreground: #ffff00
*MenuButton.foreground: #ffff00
*Menubutton.highlightColor: #ffff00
*Menu.foreground: #ffff00
*Menu.highlightColor: #ffff00
*Radiobutton.activeForeground: #ffff00
*Radiobutton.foreground: #ffff00
*Radiobutton.highlightColor: #ffff00
*Scale.activeForeground: #ffff00
*Scale.foreground: #ffff00
*Scale.highlightColor: #ffff00
*SimpleMenu*foreground: #ffff00
*Text.activeForeground: #ffff00
*Text.foreground: #ffff00
*Text.highlightColor: #ffff00
*Toggle.foreground: #ffff00
*Toplevel.activeForeground: #ffff00
*Toplevel.foreground: #ffff00
*Toplevel.highlightColor: #ffff00
*XmCascadeButton.foreground: #ffff00
*XmCascadeButtonGadget.foreground: #ffff00
*XmDialogShell.foreground: #ffff00
*XmFileSelectionBox.foreground: #ffff00
*XmForm.foreground: #ffff00
*XmFrame.foreground: #ffff00
*XmLabel.foreground: #ffff00
*XmLabelGadget.foreground: #ffff00
*XmList.foreground: #ffff00
*XmMenuShell.foreground: #ffff00
*XmMessageBox.foreground: #ffff00
*XmPanedWindow.foreground: #ffff00
*XmPushButton.foreground: #ffff00
*XmPushButtonGadget.foreground: #ffff00
*XmRowColumn.foreground: #ffff00
*XmSash.foreground: #ffff00
*XmScrollBar.foreground: #ffff00
*XmScrolledWindow.foreground: #ffff00
*XmSelectionBox.foreground: #ffff00
*XmSeparator.foreground: #ffff00
*XmSeparatorGadget.foreground: #ffff00
*XmTearOffButton.foreground: #ffff00
*XmTearOffButtonGadget.foreground: #ffff00
*XmTextField.foreground: #ffff00
*XmText.foreground: #ffff00
*XmToggleButton.foreground: #ffff00
*XmToggleButtonGadget.foreground: #ffff00
XWp*foreground: #ffff00
XWp.mainWindowForm.mainWindowMenubar*foreground: #ffff00
XWp*menubar*foreground: #ffff00
XWp*MenuBar*foreground: #ffff00
XWp*popmenu*foreground: #ffff00
XWp*XmDialogShell*foreground: #ffff00
XWp*XmDialogShell*XmDrawingArea.foreground: #ffff00
XWp*XmDialogShell*XmList*foreground: #ffff00
XWp*XmDialogShell*XmScrolledWindow*XmDrawingArea.foreground: #ffff00
XWp*XmDialogShell*XmTextField*foreground: #ffff00
XWp*XmDialogShell*XmText*foreground: #ffff00
XWp*XmDrawingArea.foreground: #ffff00
XWp*XmList*foreground: #ffff00
XWp*XmScrolledWindow*XmDrawingArea.foreground: #ffff00
XWp*XmTextField*foreground: #ffff00
XWp*XmText*foreground: #ffff00
*Canvas.selectforeground: #ffffff
*Entry.selectForeground: #ffffff
*Listbox.selectForeground: #ffffff
*Text.selectForeground: #ffffff
! Input method
*inputMethod: skkinput