0
|
1 |
"*
|
|
2 |
* $Header$
|
|
3 |
* display related configuration - generic
|
|
4 |
*
|
|
5 |
* this is a dummy script -
|
|
6 |
* use this file as a guide for display-specific configurations
|
|
7 |
* (see how display.rc figures out on what type of display we run)
|
5
|
8 |
*
|
|
9 |
* i.e. copy this file to d_<your_display_type>.rc and edit as needed
|
|
10 |
* see d_sun.rc, d_iris.rc etc. as examples
|
0
|
11 |
*"
|
|
12 |
|
5
|
13 |
"*
|
|
14 |
* view style - uncomment the one you like most (I prefer #iris :-)
|
7
|
15 |
* (there are actually more possibilities - see style-files in the
|
|
16 |
* resources directory)
|
5
|
17 |
*"
|
7
|
18 |
"/ View defaultStyle:#next
|
|
19 |
"/ View defaultStyle:#iris
|
|
20 |
"/ View defaultStyle:#openwin
|
|
21 |
"/ View defaultStyle:#motif
|
8
|
22 |
"/ View defaultStyle:#'motif_red'
|
7
|
23 |
"/ View defaultStyle:#normal
|
|
24 |
"/ View defaultStyle:#mswindows
|
|
25 |
"/ View defaultStyle:#st80
|
8
|
26 |
"/ View defaultStyle:#greenPC
|
|
27 |
"/ View defaultStyle:#rocky
|
0
|
28 |
|
|
29 |
"*
|
|
30 |
* define keys/keyboard abbreviations etc. which are not handled by xmodmap
|
|
31 |
*"
|
5
|
32 |
|map|
|
|
33 |
|
|
34 |
map := Display keyboardMap.
|
|
35 |
|
|
36 |
"
|
|
37 |
map bindValue:#Again to:#F1.
|
|
38 |
map bindValue:#Copy to:#F2.
|
|
39 |
map bindValue:#Cut to:#F3.
|
|
40 |
"
|
|
41 |
|
|
42 |
"
|
|
43 |
* on some german keyboards, we get already translated characters
|
|
44 |
* (plus the ALT-key)
|
|
45 |
*"
|
|
46 |
"
|
|
47 |
map bindValue:$[ to:#'Alt['.
|
|
48 |
map bindValue:$] to:#'Alt]'.
|
|
49 |
map bindValue:${ to:#'Alt{'.
|
|
50 |
map bindValue:$} to:#'Alt}'.
|
|
51 |
map bindValue:$\ to:#'Alt\'.
|
|
52 |
map bindValue:$| to:#'Alt|'.
|
|
53 |
map bindValue:$@ to:#'Alt@'.
|
|
54 |
"
|
|
55 |
|
|
56 |
"
|
|
57 |
* on others, they come untranslated
|
|
58 |
* (plus the ALT-key)
|
|
59 |
*"
|
|
60 |
"
|
|
61 |
map bindValue:$[ to:#'Alt8'.
|
|
62 |
map bindValue:$] to:#'Alt9'.
|
|
63 |
map bindValue:${ to:#'Alt7'.
|
|
64 |
map bindValue:$} to:#'Alt0'.
|
|
65 |
map bindValue:$\ to:#'Alt?'.
|
|
66 |
map bindValue:$| to:#'Alt<'.
|
|
67 |
map bindValue:$@ to:#'Altq'.
|
|
68 |
"
|
0
|
69 |
!
|
|
70 |
|
|
71 |
"*
|
|
72 |
* define the size of the screen
|
|
73 |
* most X-Servers do not (cannot) tell the truth ...
|
|
74 |
* (how should it know what size of monitor you have ?)
|
|
75 |
* if yours does, make the next one a comment
|
|
76 |
*
|
|
77 |
* (check out by measuring your display, and compare
|
|
78 |
* the values returned by 'Display widthInMillimeter'
|
|
79 |
* and 'Display heightInMillimeter')
|
|
80 |
*
|
|
81 |
* do not trust the numbers I have written below - size given
|
|
82 |
* should be the visible picture size, which depends on display
|
|
83 |
* adjusts (many monitors have hSize & vSize adjusts)
|
8
|
84 |
*
|
|
85 |
* you only need this definition to be exact, if you want
|
|
86 |
* correct sizes/ratios in the DrawTool
|
|
87 |
* If you leave the statements below commented, ST/X will ask
|
|
88 |
* the X-server and take these values.
|
0
|
89 |
*"
|
|
90 |
|
|
91 |
"*
|
8
|
92 |
* this is for a VGA gas plasma display
|
|
93 |
* (may also be ok for most LCD displays)
|
|
94 |
*"
|
|
95 |
"
|
|
96 |
Display heightInMillimeter:160.
|
|
97 |
Display widthInMillimeter:212
|
|
98 |
"
|
|
99 |
|
|
100 |
"*
|
0
|
101 |
* this is for a 14' monitor ...
|
|
102 |
*"
|
|
103 |
"
|
|
104 |
Display heightInMillimeter:175.
|
|
105 |
Display widthInMillimeter:235
|
|
106 |
"
|
|
107 |
|
|
108 |
"*
|
|
109 |
* this is for a 16' monitor (measured on a jvc quadsync)
|
|
110 |
*"
|
|
111 |
"
|
|
112 |
Display heightInMillimeter:208.
|
|
113 |
Display widthInMillimeter:275
|
|
114 |
"
|
|
115 |
|
|
116 |
"*
|
|
117 |
* this is for a 20' (megascan) ...
|
|
118 |
*"
|
|
119 |
"
|
|
120 |
Display heightInMillimeter:279.
|
|
121 |
Display widthInMillimeter:346
|
|
122 |
"
|
|
123 |
|
|
124 |
"*
|
|
125 |
* this is for a 21' (eizo flexscan) ...
|
|
126 |
*"
|
|
127 |
"
|
|
128 |
Display heightInMillimeter:275.
|
|
129 |
Display widthInMillimeter:370
|
|
130 |
"
|
|
131 |
!
|
|
132 |
|
|
133 |
"*
|
5
|
134 |
* uncomment if you have a b&w monitor connected to a
|
0
|
135 |
* color server (which the server wouldn't know)
|
5
|
136 |
* try 'Display visualType' to see what X thinks.
|
0
|
137 |
*"
|
8
|
138 |
"/ Display hasColors:false
|
0
|
139 |
!
|