1! Xrus - russian keyboard for X (Version 1.13.0)
2! Copyright (c) 1995-2000 by Alexander V. Lukyanov
3
4! Some systems provide their own default background,
5! topShadowColor and bottomShadowColor (e.g. Digital Unix)
6! On those systems you may want to comment out the following line
7*background:   #ccc
8
9*modeButton0.fontList: -*-times-bold-r-*-*-14-*-*-*-*-*-iso8859-1
10*modeButton0.font: -*-times-bold-r-*-*-14-*-*-*-*-*-iso8859-1
11*modeButton1.fontList: -*-times-bold-r-*-*-14-*-*-*-*-*-iso8859-1
12*modeButton1.font: -*-times-bold-r-*-*-14-*-*-*-*-*-iso8859-1
13
14! You can specify look of the button in both states
15! (they are in XmPushButton class in case of Motif and Command with Xaw)
16!*modeButton0.width:  100
17!*modeButton1.width:  100
18
19! For Motif or Lesstif you can use pictures
20!*modeButton0.labelType:	pixmap
21!*modeButton1.labelType:	pixmap
22! -- these are L and Yat pictures
23!*modeButton0.labelPixmap:	/usr/share/xruskb/DocumentL.xpm
24!*modeButton1.labelPixmap:	/usr/share/xruskb/DocumentY.xpm
25! -- and these are USA and Russian flags
26!*modeButton0.labelPixmap:	/usr/share/xruskb/usa.xpm
27!*modeButton1.labelPixmap:	/usr/share/xruskb/rus.xpm
28
29*modeButton0.labelString:   LAT
30*modeButton1.labelString:   RUS
31*modeButton0.label:   LAT
32*modeButton1.label:   RUS
33! title0/title1 are shown on icon/window title of xrus, handy for icewm.
34*title0: xrus:LAT
35*title1: xrus:RUS
36
37! this option turns on saving keyboard state for each top level
38! window and changing it on focus change.
39!*perWindow: true
40! titlePerWindow0/titlePerWindow1 are shown on window title in perWindow mode
41*titlePerWindow0: (LAT)
42*titlePerWindow1: (RUS)
43
44! whether to make the two buttons equal in size
45*adjustModeButtons: True
46
47*XmRowColumn*fontList: -*-helvetica-medium-r-*-*-14-*
48*SimpleMenu*font: -*-helvetica-medium-r-*-*-14-*
49*fontList: -*-helvetica-medium-r-*-*-14-*
50
51! Display the button in the lower left corner
52*geometry:	+0-0
53
54! To load russian modmap automatically on xrus startup, specify this:
55!*xmodmap: /path/russian.xmm
56
57! If you want xrus to hang always on top of other windows, uncomment this:
58!*alwaysOnTop: True
59
60! The following 7 resources are customisable from Menu->Properties
61! You can also save the properties to ~/.xrus
62! {
63! The delay before autolock activisation (in minutes)
64!*timeout:	30
65! Use the autolock feature
66!*autolock:	false
67! The command to use as screen locker
68!*locker:	exec xlock -remote >/dev/null 2>&1
69! Bell when switching keyboard mode
70!*useBell:	false
71
72!*switchKeys:	Shift_L+Shift_R
73!*switchKeys:	Shift_L+Control_L
74
75! You can also specify non-triggering behavior by supplying
76! key combinations for the following resources:
77!*toLatKeys:   Alt_L
78!*toRusKeys:   Alt_R
79! }
80
81! To use several alternate modmaps, specify the following
82! resources:
83*altMaps: jcuken-cyr jcuken-koi8 jcuken-cp1251 \
84          yawerty-cyr yawerty-koi8 yawerty-cp1251
85*altmap0.labelString: jcuken
86*altmap1.labelString: jcuken koi-8      (no locale)
87*altmap2.labelString: jcuken cp1251   (no locale)
88*altmap3.labelString: yawerty
89*altmap4.labelString: yawerty koi-8    (no locale)
90*altmap5.labelString: yawerty cp1251 (no locale)
91! same for Xaw.
92*altmap0.label: jcuken
93*altmap1.label: jcuken koi-8      (no locale)
94*altmap2.label: jcuken cp1251   (no locale)
95*altmap3.label: yawerty
96*altmap4.label: yawerty koi-8    (no locale)
97*altmap5.label: yawerty cp1251 (no locale)
98!...
99!*altmapN.labelString: N'th map
100
101!*led: 2
102! led on Sun's compose key
103
104! show the icon?
105!*icon: true
106
107! Map the icon when it is unmapped by a window manager -
108! useful for virtual desktops.
109!*alwaysMapped: True
110
111!*capsLockEmu: true
112!*capsLockLed: ?
113
114!*recheckTime: 1500
115
116!*xmodmapProgram: xrusmodmap
117
118! Try to occupy all desktops. Works for some WM's only.
119!*occupyAllDesks: True
120
121*modeButton0.translations: #override <Btn3Down>: XrusMenuPopup()
122*modeButton1.translations: #override <Btn3Down>: XrusMenuPopup()
123*menu.menuPost: <Btn3Down>
124
125! if you have 2-button mouse and have problems with popup menu,
126! uncomment the following resources and comment the above
127!*modeButton0.translations: #override <Btn2Down>: XrusMenuPopup()
128!*modeButton1.translations: #override <Btn2Down>: XrusMenuPopup()
129!*menu.menuPost: <Btn2Down>
130
131!---------- Usually you don't have to change anything below -----------
132
133*modeButton0.highlightThickness: 0
134*modeButton1.highlightThickness: 0
135*modeButton0.shadowThickness: 1
136*modeButton1.shadowThickness: 1
137*modeButton0.borderWidth: 0
138*modeButton1.borderWidth: 0
139*modeButton0.internalWidth: 3
140*modeButton1.internalWidth: 3
141*modeButton0.internalHeight: 1
142*modeButton1.internalHeight: 1
143
144xrus.form.marginWidth:   0
145xrus.form.marginHeight:  0
146xrus.form.traversalOn:  false
147
148xrus.form.hSpace: 0
149xrus.form.vSpace: 0
150!xrus.form.borderWidth: 0
151
152*modeButton0.leftAttachment:	attach_form
153*modeButton0.rightAttachment:	attach_form
154*modeButton0.topAttachment:	attach_form
155*modeButton0.bottomAttachment:	attach_form
156*modeButton1.leftAttachment:	attach_form
157*modeButton1.rightAttachment:	attach_form
158*modeButton1.topAttachment:	attach_form
159*modeButton1.bottomAttachment:	attach_form
160
161*modeButton0.resizable: false
162*modeButton1.resizable: false
163
164*form.shadowThickness: 0
165
166*menu*exit.labelString:    Exit
167*menu*exit.label:          Exit
168*menu*props.labelString:   Properties...
169*menu*props.label:         Properties...
170*menu*altmap.labelString:  Alternate maps
171*menu*altmap.label:        Alternate maps
172*menu*lock.labelString:    Lock screen
173*menu*lock.label:          Lock screen
174
175*props*XmTextField.fontList:  -*-courier-bold-r-*-*-14-*-*-*-m-*
176
177*props.title: Xrus properties
178
179*props*locker_def.labelString: Default
180*props*locker_def.bottomAttachment: attach_form
181*props*locker_def.rightAttachment: attach_form
182*props*locker_def.fontList: -*-times-medium-r-*-*-12-*
183
184*props*locker_test.labelString: Test
185*props*locker_test.bottomAttachment: attach_form
186*props*locker_test.rightAttachment: attach_widget
187*props*locker_test.rightWidget:   locker_def
188*props*locker_test.fontList: -*-times-medium-r-*-*-12-*
189
190*props*locker.maxLength:   255
191*props*locker.bottomAttachment: attach_widget
192*props*locker.bottomWidget:   locker_def
193*props*locker.leftAttachment:    attach_form
194*props*locker.rightAttachment:   attach_form
195
196*props*locker_label.bottomAttachment:  attach_widget
197*props*locker_label.bottomWidget: locker
198*props*locker_label.bottomOffset: 0
199*props*locker_label.leftAttachment: attach_form
200*props*locker_label.fontList: -*-times-medium-r-*-*-12-*
201*props*locker_label.labelString: Locking command
202
203*props.form.horizontalSpacing:   6
204*props.form.verticalSpacing:     6
205
206*props*frame1.form1.horizontalSpacing: 6
207*props*frame1.form1.verticalSpacing: 6
208
209*props*frame1.leftAttachment: attach_form
210*props*frame1.rightAttachment: attach_form
211*props*frame1.topAttachment: attach_form
212
213*props*allow_locker.labelString: Locking
214*props*allow_locker.leftAttachment: attach_form
215*props*allow_locker.topAttachment: attach_form
216*props*allow_locker.bottomAttachment: attach_widget
217*props*allow_locker.bottomWidget: locker_label
218
219*props*autolock_delay.topAttachment: attach_form
220*props*autolock_delay.leftAttachment: attach_widget
221*props*autolock_delay.leftWidget: allow_locker
222*props*autolock_delay.rightAttachment: attach_form
223*props*autolock_delay.bottomAttachment: attach_widget
224*props*autolock_delay.bottomWidget: locker_label
225*props*autolock_delay.minimum: 1
226*props*autolock_delay.maximum: 120
227*props*autolock_delay.orientation: horizontal
228*props*autolock_delay.showValue: True
229*props*autolock_delay.titleString: Minutes
230*props*autolock_delay.width: 300
231*props*autolock_delay.height: 55
232
233*props*frame2.leftAttachment: attach_form
234*props*frame2.rightAttachment: attach_form
235*props*frame2.topAttachment: attach_widget
236*props*frame2.topWidget: frame1
237
238*props*form2.horizontalSpacing: 6
239*props*form2.verticalSpacing: 6
240
241*props*use_bell.leftAttachment: attach_form
242*props*use_bell.rightAttachment: attach_form
243*props*use_bell.topAttachment: attach_form
244*props*use_bell.labelString: Bell when switching
245*props*use_bell.alignment: alignment_beginning
246
247*props*switch_keys_label.leftAttachment: attach_form
248*props*switch_keys_label.topAttachment: attach_widget
249*props*switch_keys_label.topWidget: use_bell
250*props*switch_keys_label.fontList: -*-times-medium-r-*-*-12-*
251*props*switch_keys_label.labelString: Switch key combination
252
253*props*switch_keys.leftAttachment: attach_form
254*props*switch_keys.rightAttachment: attach_form
255*props*switch_keys.topAttachment: attach_widget
256*props*switch_keys.topWidget: switch_keys_label
257*props*switch_keys.topOffset: 0
258*props*switch_keys.maxLenght: 40
259
260*props*to_lat_keys_label.leftAttachment: attach_form
261*props*to_lat_keys_label.topAttachment: attach_widget
262*props*to_lat_keys_label.topWidget: switch_keys
263*props*to_lat_keys_label.fontList: -*-times-medium-r-*-*-12-*
264*props*to_lat_keys_label.labelString: Lat mode key combination
265
266*props*to_lat_keys.leftAttachment: attach_form
267*props*to_lat_keys.rightAttachment: attach_form
268*props*to_lat_keys.topAttachment: attach_widget
269*props*to_lat_keys.topWidget: to_lat_keys_label
270*props*to_lat_keys.topOffset: 0
271*props*to_lat_keys.maxLenght: 40
272
273*props*to_rus_keys_label.leftAttachment: attach_form
274*props*to_rus_keys_label.topAttachment: attach_widget
275*props*to_rus_keys_label.topWidget: to_lat_keys
276*props*to_rus_keys_label.fontList: -*-times-medium-r-*-*-12-*
277*props*to_rus_keys_label.labelString: Rus mode key combination
278
279*props*to_rus_keys.leftAttachment: attach_form
280*props*to_rus_keys.rightAttachment: attach_form
281*props*to_rus_keys.topAttachment: attach_widget
282*props*to_rus_keys.topWidget: to_rus_keys_label
283*props*to_rus_keys.topOffset: 0
284*props*to_rus_keys.maxLenght: 40
285
286*props*switch_for_one_keys_label.leftAttachment: attach_form
287*props*switch_for_one_keys_label.topAttachment: attach_widget
288*props*switch_for_one_keys_label.topWidget: to_rus_keys
289*props*switch_for_one_keys_label.fontList: -*-times-medium-r-*-*-12-*
290*props*switch_for_one_keys_label.labelString: Change mode for one next key
291
292*props*switch_for_one_keys.leftAttachment: attach_form
293*props*switch_for_one_keys.rightAttachment: attach_form
294*props*switch_for_one_keys.topAttachment: attach_widget
295*props*switch_for_one_keys.topWidget: switch_for_one_keys_label
296*props*switch_for_one_keys.topOffset: 0
297*props*switch_for_one_keys.maxLenght: 40
298
299*props*switch_keys_def.labelString: Default
300*props*switch_keys_def.rightAttachment: attach_form
301*props*switch_keys_def.topAttachment:  attach_widget
302*props*switch_keys_def.topWidget: switch_for_one_keys
303*props*switch_keys_def.bottomAttachment: attach_form
304*props*switch_keys_def.fontList: -*-times-medium-r-*-*-12-*
305
306*props*form4.leftAttachment: attach_form
307*props*form4.rightAttachment: attach_form
308*props*form4.bottomAttachment: attach_form
309*props*form4.topAttachment: attach_widget
310*props*form4.topWidget: frame2
311*props*form4.horizontalSpacing: 6
312*props*form4.verticalSpacing: 6
313
314*props*ok.labelString: OK
315*props*ok.showAsDefault: True
316*props*ok.leftAttachment: attach_form
317*props*ok.rightAttachment: attach_position
318*props*ok.rightPosition: 25
319*props*ok.bottomAttachment: attach_form
320
321*props*apply.labelString: Apply
322*props*apply.leftAttachment: attach_position
323*props*apply.leftPosition: 25
324*props*apply.rightAttachment: attach_position
325*props*apply.rightPosition: 50
326*props*apply.bottomAttachment: attach_form
327
328*props*save.labelString: Save
329*props*save.leftAttachment: attach_position
330*props*save.leftPosition: 50
331*props*save.rightAttachment: attach_position
332*props*save.rightPosition: 75
333*props*save.bottomAttachment: attach_form
334
335*props*cancel.labelString: Cancel
336*props*cancel.bottomAttachment: attach_form
337*props*cancel.rightAttachment: attach_form
338*props*cancel.leftAttachment: attach_position
339*props*cancel.leftPosition: 75
340
341!-------------------------------------------------------
342! Resources for Athena version of properties dialog
343! Vladimir Grachev, e-mail: vgrachev@ssau.ru
344!-------------------------------------------------------
345
346*props_xaw*title: Properties
347*props_xaw*iconName: Xrus Properties
348
349*props_xaw*locker_toggle.label: Locking
350
351*props_xaw*minutes_sb.length: 240
352
353*props_xaw*minutes_label.label: Minutes:\040
354*props_xaw*minutes_label.borderWidth: 0
355*props_xaw*minutes_label.justify: JustifyLeft
356
357*props_xaw*minutes_value_label.label: 30
358*props_xaw*minutes_value_label.borderWidth: 0
359*props_xaw*minutes_value_label.justify: JustifyLeft
360
361*props_xaw*minutes_label.borderWidth: 0
362*props_xaw*minutes_label.justify: JustifyLeft
363
364*props_xaw*command_label.label: Locking command
365*props_xaw*command_label.borderWidth: 0
366*props_xaw*command_label.justify: JustifyLeft
367
368*props_xaw*command_text.width: 305
369
370*props_xaw*test_button.label: Test
371
372*props_xaw*default1_button.label: Default
373
374*props_xaw*bell_toggle.label: Bell when switching
375
376*props_xaw*switch_label.label: Switch key combination
377*props_xaw*switch_label.borderWidth: 0
378*props_xaw*switch_label.justify: JustifyLeft
379
380*props_xaw*switch_text.width: 305
381
382*props_xaw*lat_label.label: Lat mode key combination
383*props_xaw*lat_label.borderWidth: 0
384*props_xaw*lat_label.justify: JustifyLeft
385
386*props_xaw*lat_text.width: 305
387
388*props_xaw*rus_label.label: Rus mode key combination
389*props_xaw*rus_label.borderWidth: 0
390*props_xaw*rus_label.justify: JustifyLeft
391
392*props_xaw*rus_text.width: 305
393
394*props_xaw*switch_for_one_keys_label.label: Change mode for one next key
395*props_xaw*switch_for_one_keys_label.borderWidth: 0
396*props_xaw*switch_for_one_keys_label.justify: JustifyLeft
397
398*props_xaw*switch_for_one_keys.width: 305
399
400*props_xaw*default2_button.label: Default
401
402*props_xaw*ok_button.label: Ok
403
404*props_xaw*apply_button.label: Apply
405
406*props_xaw*save_button.label: Save
407
408*props_xaw*cancel_button.label: Cancel
409
410! Geometry
411*props_xaw*locker_toggle.left: ChainLeft
412*props_xaw*locker_toggle.right: ChainLeft
413
414*props_xaw*minutes_sb.fromHoriz: locker_toggle
415*props_xaw*minutes_sb.left: ChainLeft
416*props_xaw*minutes_sb.right: ChainRight
417
418*props_xaw*minutes_label.fromHoriz: locker_toggle
419*props_xaw*minutes_label.fromVert: minutes_sb
420*props_xaw*minutes_label.left: ChainLeft
421*props_xaw*minutes_label.right: ChainLeft
422
423*props_xaw*minutes_value_label.fromHoriz: minutes_label
424*props_xaw*minutes_value_label.fromVert: minutes_sb
425*props_xaw*minutes_value_label.left: ChainLeft
426*props_xaw*minutes_value_label.right: ChainLeft
427
428*props_xaw*command_label.fromVert: minutes_label
429*props_xaw*command_label.left: ChainLeft
430*props_xaw*command_label.right: ChainLeft
431
432*props_xaw*command_text.fromVert: command_label
433*props_xaw*command_text.left: ChainLeft
434*props_xaw*command_text.right: ChainLeft
435
436*props_xaw*test_button.fromVert: command_text
437*props_xaw*test_button.left: ChainLeft
438*props_xaw*test_button.right: ChainLeft
439
440*props_xaw*default1_button.fromHoriz: test_button
441*props_xaw*default1_button.fromVert: command_text
442*props_xaw*default1_button.left: ChainLeft
443*props_xaw*default1_button.right: ChainLeft
444
445*props_xaw*bell_toggle.fromVert: default1_button
446*props_xaw*bell_toggle.left: ChainLeft
447*props_xaw*bell_toggle.right: ChainLeft
448
449*props_xaw*switch_label.fromVert: bell_toggle
450*props_xaw*switch_label.left: ChainLeft
451*props_xaw*switch_label.right: ChainLeft
452
453*props_xaw*switch_text.fromVert: switch_label
454*props_xaw*switch_text.left: ChainLeft
455*props_xaw*switch_text.right: ChainRight
456
457*props_xaw*lat_label.fromVert: switch_text
458*props_xaw*lat_label.left: ChainLeft
459*props_xaw*lat_label.right: ChainLeft
460
461*props_xaw*lat_text.fromVert: lat_label
462*props_xaw*lat_text.left: ChainLeft
463*props_xaw*lat_text.right: ChainRight
464
465*props_xaw*rus_label.fromVert: lat_text
466*props_xaw*rus_label.left: ChainLeft
467*props_xaw*rus_label.right: ChainLeft
468
469*props_xaw*rus_text.fromVert: rus_label
470*props_xaw*rus_text.left: ChainLeft
471*props_xaw*rus_text.right: ChainRight
472
473*props_xaw*switch_for_one_keys_label.fromVert: lat_text
474*props_xaw*switch_for_one_keys_label.left: ChainLeft
475*props_xaw*switch_for_one_keys_label.right: ChainLeft
476
477*props_xaw*switch_for_one_keys.fromVert: switch_for_one_keys_label
478*props_xaw*switch_for_one_keys.left: ChainLeft
479*props_xaw*switch_for_one_keys.right: ChainRight
480
481*props_xaw*default2_button.fromVert: switch_for_one_keys
482*props_xaw*default2_button.left: ChainLeft
483*props_xaw*default2_button.right: ChainLeft
484
485*props_xaw*ok_button.fromVert: default2_button
486
487*props_xaw*apply_button.fromHoriz: ok_button
488*props_xaw*apply_button.fromVert: default2_button
489
490*props_xaw*save_button.fromHoriz: apply_button
491*props_xaw*save_button.fromVert: default2_button
492
493*props_xaw*cancel_button.fromHoriz: save_button
494*props_xaw*cancel_button.fromVert: default2_button
495
496*props_xaw.error_shell.title: Error
497*props_xaw.error_shell.iconName: Xrus Error
498