dot/Xdefaults: Make `xdvi' work properly with dark colours.
[profile] / dot / Xdefaults
1 !!! .Xdefaults
2
3 !!!--------------------------------------------------------------------------
4 !!! Global configuration.
5
6 !! Macros for processing the rest of this file.
7 #define HELV_MR10 -adobe-helvetica-medium-r-normal--10-*-*-*-p-*-iso10646-1
8 #define HELV_MR12 -adobe-helvetica-medium-r-normal--12-*-*-*-p-*-iso10646-1
9 #define HELV_BR12 -adobe-helvetica-bold-r-normal--12-*-*-*-p-*-iso10646-1
10 #define HELV_MI12 -adobe-helvetica-medium-i-normal--12-*-*-*-p-*-iso10646-1
11 #define FIXED -trad-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1
12 #define NICEFONT HELV_MR10
13
14 !! General configuration.
15 ?*font: NICEFONT
16 ?*background: grey20
17 ?*foreground: white
18 *cursor: left_ptr
19
20 !! Xft settings.
21 Xft.dpi: 75
22 Xft.hintstyle: hintslight
23 Xft.hinting: true
24 Xft.antialias: true
25 Xft.rgba: none
26
27 !! Xcursor settings.
28 Xcursor.size: 24
29
30 !! Athena-related settings.
31 *highlightThickness: 0
32 *beNiceToColormap: false
33 *useRight: true
34 *useBottom: true
35
36 !!!--------------------------------------------------------------------------
37 !!! Application-specific settings.
38
39 !! Wily.
40 wily*p9font: FIXED
41 wily*font: FIXED
42 wily*fixed: FIXED
43
44 !! Edwin.
45 edwin*font: FIXED
46
47 !! XTerm.
48 XTerm.vt100.geometry: 80x35
49 XTerm.vt100*font: FIXED
50 XTerm.vt100.foreground: white
51 XTerm.vt100.background: black
52 XTerm.vt100.internalBorder: 0
53 XTerm*termName: xterm-256color
54 XTerm*cursorBlink: true
55 XTerm*cursorOnTime: 500
56 XTerm*cursorOffTime: 500
57 XTerm*cursorColor: red
58 XTerm*scrollBar: true
59 XTerm*saveLines: 1000
60 XTerm*scrollTtyOutput: false
61 XTerm*scrollKey: true
62 XTerm*rightScrollBar: true
63 XTerm*metaSendsEscape: true
64 XTerm*eightBitInput: true
65 XTerm*allowSendEvents: false
66 XTerm*utf8Title: true
67 XTerm*VT100*translations: #override \
68 <Btn4Down>: scroll-back(1,halfpage) \n\
69 <Btn5Down>: scroll-forw(1,halfpage)
70
71 !! pterm.
72 #define PTERM_NAME pterm
73 #define PTERM_FOREG 255, 255, 255
74 #define PTERM_BACKG 0, 0, 0
75 #include "Xdefaults.pterm"
76
77 #define PTERM_NAME pterm-red
78 #define PTERM_FOREG 255, 168, 168
79 #define PTERM_BACKG 42, 0, 0
80 #include "Xdefaults.pterm"
81
82 #define PTERM_NAME pterm-green
83 #define PTERM_FOREG 168, 255, 168
84 #define PTERM_BACKG 0, 42, 0
85 #include "Xdefaults.pterm"
86
87 #define PTERM_NAME pterm-blue
88 #define PTERM_FOREG 168, 168, 255
89 #define PTERM_BACKG 0, 0, 42
90 #include "Xdefaults.pterm"
91
92 !! XScreenSaver.
93 XScreenSaver*topShadowColor: grey40
94 XScreenSaver*bottomShadowColor: grey5
95 XScreenSaver*borderColor: grey10
96
97 !! XConsole.
98 XConsole*font: FIXED
99 XConsole*background: #002000
100 XConsole*foreground: #54ff9f
101 XConsole*geometry: 485x455
102
103 !! Emacs.
104 #define _GEOM(wd, ht) wd##x##ht
105 #define GEOM(wd, ht) _GEOM(wd, ht)
106 emacs.geometry: GEOM(EMACSWD,33)
107 Emacs.pane.menubar.font: NICEFONT
108 Emacs.menu*.font: NICEFONT
109 Emacs.font: FIXED
110 Emacs.fontBackend: x,xft
111 Emacs.cursorColor: red
112 Emacs.bitmapIcon: true
113 Emacs*foreground: white
114 Emacs*background: darkblue
115 Emacs.pane.menubar.foreground: black
116 Emacs.pane.menubar.background: lightgrey
117 Emacs.menu*foreground: black
118 Emacs.menu*background: lightgrey
119 Emacs.scrollbar*attributeBackground: lightgrey
120 Emacs.toolBar: 0
121 Emacs.menuBar: on
122 Emacs.verticalScrollBars: right
123
124 !! VNC.
125 xvncviewer*shareDesktop: true
126 xvncviewer*desktop.translations: #override\n\
127 <Key>F8: SendRFBEvent()\n\
128 !Ctrl<Key>Escape: ShowPopup()
129
130 !! YTalk.
131 YTalk*font: FIXED
132
133 !! Xman.
134 xman*bothShown: true
135 xman*topBox: false
136 xman*manualBrowser.geometry: 500x888
137 xman*manualPage.translations: #augment\n\
138 <Key>Down: Page(Line, 1)\n\
139 <Key>Up: Page(Line, -1)\n\
140 <Key>Next: Page(Forward)\n\
141 <Key>Prior: Page(Back)
142
143 !! Xlock.
144 xlock.mode: random
145 xlock.enablesaver: true
146 xlock*background: black
147 xlock*foreground: white
148 xlock*erasedelay: 100
149 xlock*boil: true
150 xlock*trek: 0
151
152 phosphor*cursor: 333
153 phosphor*delay: 60000
154 phosphor*program: /usr/games/fortune
155 phosphor*font: fixed
156 phosphor*scale: 3
157 phosphor*ticks: 20
158 noseguy*program: /usr/games/fortune -s
159
160 !! XDvi
161 XDvi.keepPosition: true
162 XDvi.shrinkFactor: 6
163 XDvi.expert: true
164 XDvi.statusline: false
165 XDvi.Hush: true
166 XDvi.thorough: true
167 XDvi.gsAlpha: true
168 XDvi.not1lib: true
169 XDvi.watchFile: 1
170 XDvi.highlight: red
171 xdvi.background: black
172 xdvi.foreground: white
173 xdvi-bow.background: white
174 xdvi-bow.foreground: black
175
176 !! xbiff.
177 xbiff*volume: 0
178
179 !! tkinfo.
180 tkinfo*pagesep: 0
181 tkinfo*showballoons: 0
182 tkinfo*geometry: 80x54
183 tkinfo*linkfont: FIXED
184 tkinfo*highlightfont: FIXED
185 tkinfo*searchfont: FIXED
186 tkinfo*Text.font: FIXED
187
188 !! xdaliclock.
189 xdaliclock*mode: 24
190 xdaliclock*datemode: yy/mm/dd
191 xdaliclock*cycle: true
192 xdaliclock*memory: low
193 !! xdaliclock*font: \
194 !! -*-palatino-bold-i-normal--*-360-*-*-p-*-iso8859-1
195 xdaliclock*font: BUILTIN
196
197 !! xboard.
198 xboard*boardSize: small
199 xboard*firstChessProgram: crafty
200 xboard*secondChessProgram: crafty
201
202 !! dtwm (bletch).
203 dtwm*iconPlacement: top right tight
204
205 !! XLess.
206 xless*labelFont: NICEFONT
207 xless*buttonFont: NICEFONT
208 xless*textFont: FIXED
209 xless*editorDoesWindows: true
210
211 !! Ghostview.
212 ghostview*page.background: white
213 ghostview*magstep: 2
214
215 !! XZX.
216 xzx*scale: 2
217 xzx*joyUp: q
218 xzx*joyDown: a
219 xzx*joyLeft: i
220 xzx*joyRight: o
221 xzx*joyFire: space
222 xzx*sound: true
223 xzx*mf128: true
224 xzx*libDir: .:/usr/lib/xzx:/usr/local/share/spectrum
225
226 !! Axiom hyperdoc.
227 Axiom.hyperdoc.RmFont: HELV_MR12
228 Axiom.hyperdoc.BoldFont: HELV_BR12
229 Axiom.hyperdoc.ActiveFont: HELV_MR12
230 Axiom.hyperdoc.EmphasizeFont: HELV_MI12
231 Axiom.hyperdoc.ActiveColor: blue
232 Axiom.hyperdoc.AxiomFont: FIXED
233 Axiom.hyperdoc.TtFont: FIXED
234 Axiom.hyperdoc.InputForeground: black
235 Axiom.hyperdoc.InputBackground: white
236 Axiom.hyperdoc.Background: lightgrey