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