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