chiark / gitweb /
dot/Xdefaults, Makefile: Replace `putty-defaults' with X resources.
[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:                   lightgrey
17 ?*foreground:                   black
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 !! XConsole.
97 XConsole*font:                  FIXED
98 XConsole*background:            #002000
99 XConsole*foreground:            #54ff9f
100 XConsole*geometry:              485x455
101
102 !! Emacs.
103 #define _GEOM(wd, ht) wd##x##ht
104 #define GEOM(wd, ht) _GEOM(wd, ht)
105 emacs.geometry:                 GEOM(EMACSWD,33)
106 Emacs.pane.menubar.font:        NICEFONT
107 Emacs.menu*.font:               NICEFONT
108 Emacs.font:                     FIXED
109 Emacs.fontBackend:              x,xft
110 Emacs.cursorColor:              red
111 Emacs.bitmapIcon:               true
112 Emacs*foreground:               white
113 Emacs*background:               darkblue
114 Emacs.pane.menubar.foreground:  black
115 Emacs.pane.menubar.background:  lightgrey
116 Emacs.menu*foreground:          black
117 Emacs.menu*background:          lightgrey
118 Emacs.scrollbar*attributeBackground: lightgrey
119 Emacs.toolBar:                  0
120 Emacs.menuBar:                  on
121 Emacs.verticalScrollBars:       right
122
123 !! VNC.
124 xvncviewer*shareDesktop: true
125 xvncviewer*desktop.translations: #override\n\
126         <Key>F8: SendRFBEvent()\n\
127         !Ctrl<Key>Escape: ShowPopup()
128
129 !! YTalk.
130 YTalk*font:                     FIXED
131
132 !! Xman.
133 xman*bothShown:                 true
134 xman*topBox:                    false
135 xman*manualBrowser.geometry:    500x888
136 xman*manualPage.translations:   #augment\n\
137         <Key>Down:              Page(Line, 1)\n\
138         <Key>Up:                Page(Line, -1)\n\
139         <Key>Next:              Page(Forward)\n\
140         <Key>Prior:             Page(Back)
141
142 !! Xlock.
143 xlock.mode:                     random
144 xlock.enablesaver:              true
145 xlock*background:               black
146 xlock*foreground:               white
147 xlock*erasedelay:               100
148 xlock*boil:                     true
149 xlock*trek:                     0
150
151 phosphor*cursor:                333
152 phosphor*delay:                 60000
153 phosphor*program:               /usr/games/fortune
154 phosphor*font:                  fixed
155 phosphor*scale:                 3
156 phosphor*ticks:                 20
157 noseguy*program:                /usr/games/fortune -s
158
159 !! XDvi
160 XDvi.keepPosition:              true
161 XDvi.shrinkFactor:              6
162 XDvi.background:                white
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 xdvirv.background:              black
171 xdvirv.foreground:              white
172 xdvirv.highlight:               black
173
174 !! xbiff.
175 xbiff*volume:                   0
176
177 !! tkinfo.
178 tkinfo*pagesep:                 0
179 tkinfo*showballoons:            0
180 tkinfo*geometry:                80x54
181 tkinfo*linkfont:                FIXED
182 tkinfo*highlightfont:           FIXED
183 tkinfo*searchfont:              FIXED
184 tkinfo*Text.font:               FIXED
185
186 !! xdaliclock.
187 xdaliclock*mode:                24
188 xdaliclock*datemode:            yy/mm/dd
189 xdaliclock*cycle:               true
190 xdaliclock*memory:              low
191 !! xdaliclock*font:             \
192 !!      -*-palatino-bold-i-normal--*-360-*-*-p-*-iso8859-1
193 xdaliclock*font:                BUILTIN
194
195 !! xboard.
196 xboard*boardSize:               small
197 xboard*firstChessProgram:       crafty
198 xboard*secondChessProgram:      crafty
199
200 !! dtwm (bletch).
201 dtwm*iconPlacement:             top right tight
202
203 !! XLess.
204 xless*labelFont:                NICEFONT
205 xless*buttonFont:               NICEFONT
206 xless*textFont:                 FIXED
207 xless*editorDoesWindows:        true
208
209 !! Ghostview.
210 ghostview*page.background:      white
211 ghostview*magstep:              2
212
213 !! XZX.
214 xzx*scale:                      2
215 xzx*joyUp:                      q
216 xzx*joyDown:                    a
217 xzx*joyLeft:                    i
218 xzx*joyRight:                   o
219 xzx*joyFire:                    space
220 xzx*sound:                      true
221 xzx*mf128:                      true
222 xzx*libDir:                     .:/usr/lib/xzx:/usr/local/share/spectrum
223
224 !! Axiom hyperdoc.
225 Axiom.hyperdoc.RmFont:          HELV_MR12
226 Axiom.hyperdoc.BoldFont:        HELV_BR12
227 Axiom.hyperdoc.ActiveFont:      HELV_MR12
228 Axiom.hyperdoc.EmphasizeFont:   HELV_MI12
229 Axiom.hyperdoc.ActiveColor:     blue
230 Axiom.hyperdoc.AxiomFont:       FIXED
231 Axiom.hyperdoc.TtFont:          FIXED
232 Axiom.hyperdoc.InputForeground: black
233 Axiom.hyperdoc.InputBackground: white
234 Axiom.hyperdoc.Background:      lightgrey
235