HDS ViewStation System Administrator's Guide

A Hypertext Document


Motif Window Manager App-Defaults File

This page gives the MWM App-defaults file and its key bindings.

Local MWM Default Files
The HDS ViewStation has some simple default files for running MWM locally. These are listed below. Note that these files must be loaded into the ViewStation memory (with xrdb loading your .Xdefault or .xresource file) before the MWM client starts.
You will probably want to make some additions or changes to these default files. Note that they are for the local MWM. Your own .Xdefaults file will supplement or replace entries in these default files.

MWM App-defaults File
This file is the app-defaults file for the Motif Window Manager.

!
! app-defaults RESOURCE SPECIFICATIONS FOR Mwm (mwm has precedence over Mwm)
!
! FONT stuff
Mwm*fontList:		variable
! Use smaller fixed font for icons
Mwm*icon*fontList:		fixed
!
!  END OF RESOURCE SPECIFICATIONS
!
! This file is the default XKeysymDB file. 
!
! HDS default XKeysymDB file.  
!
! The 'osf' Open Software Foundation keysyms have been added to 
! support the Motif Window Manager.
!
!
! OSF Keysyms
!
osfBackSpace			:1004FF08
osfInsert			:1004FF63
osfDelete			:1004FFFF
osfCopy				:1004FF02
osfCut				:1004FF03
osfPaste			:1004FF04

osfAddMode			:1004FF31
osfPrimaryPaste			:1004FF32
osfQuickPaste			:1004FF33

osfPageUp			:1004FF41
osfPageDown			:1004FF42

osfEndLine			:1004FF57
osfBeginLine			:1004FF58
	
osfActivate			:1004FF44

osfMenuBar			:1004FF45

osfClear			:1004FF0B
osfCancel			:1004FF69
osfHelp				:1004FF6A
osfMenu				:1004FF67
osfSelect			:1004FF60
osfUndo				:1004FF65

osfLeft				:1004FF51
osfUp				:1004FF52
osfRight			:1004FF53
osfDown				:1004FF54

!             DEC specific keysyms
!
DRemove				:1000FF00

MWM .mwmrc File This file is the Default mwm Resource Description file, labeled system.mwmrc.

#
#  DEFAULT mwm RESOURCE DESCRIPTION FILE (system.mwmrc and 
.mwmrc)
#
# menu pane descriptions
#
# Root Menu Description
#
# HDS Users Note: The "New Window" function is not present 
# and the "Quit..." mwm termination option has been added.
#
Menu RootMenu
{
"Root Menu"		f.title
"Shuffle Up"		f.circle_up
"Shuffle Down"		f.circle_down
"Refresh"		f.refresh
no-label		f.separator
"Restart..."		f.restart
no-label		f.separator
"Quit..."		f.quit_mwm
}

# Default Window Menu Description
Menu DefaultWindowMenu
{
Restore		_R	Alt<Key>F5	f.normalize
Move		_M	Alt<Key>F7	f.move
Size		_S	Alt<Key>F8	f.resize
Minimize	_n	Alt<Key>F9	f.minimize
Maximize	_x	Alt<Key>F10	f.maximize
Lower		_L	Alt<Key>F3	f.lower
no-label				f.separator
Close		_C	Alt<Key>F4	f.kill
}
#
# key binding descriptions
#
Keys DefaultKeyBindings
{
Shift<Key>Escape		window|icon		f.post_wmenu
Meta<Key>space			window|icon		f.post_wmenu
Meta<Key>Tab			root|icon|window	f.next_key
Meta Shift<Key>Tab		root|icon|window	f.prev_key
Meta<Key>Escape			root|icon|window	f.next_key
Meta Shift<Key>Escape		root|icon|window	f.prev_key
Meta Shift Ctrl<Key>exclam 	root|icon|window	f.set_behavior
Meta<Key>F6			window			f.next_key transient
Meta Shift<Key>F6		window			f.prev_key transient
<Key>				icon			f.post_wmenu
}
#
# button binding descriptions
#
Buttons DefaultButtonBindings
{
<Btn1Down>	icon|frame	f.raise
<Btn3Down>	icon		f.post_wmenu
<Btn1Down>	root		f.menu	RootMenu
}
Buttons ExplicitButtonBindings
{
<Btn1Down>	frame|icon	f.raise
<Btn3Down>	frame|icon	f.post_wmenu
<Btn1Down>	root		f.menu	RootMenu
Meta<Btn1Down>	window|icon	f.lower
Meta<Btn2Down>	window|icon	f.resize
Meta<Btn3Down>	window|icon	f.move
}
Buttons PointerButtonBindings
{
<Btn1Down>	frame|icon	f.raise
<Btn3Down>	frame|icon	f.post_wmenu
<Btn1Down>	root		f.menu	RootMenu
<Btn1Down>	window		f.raise
Meta<Btn1Down>	window|icon	f.lower
Meta<Btn2Down>	window|icon	f.resize
Meta<Btn3Down>	window|icon	f.move
}

#
#  END OF mwm RESOURCE DESCRIPTION FILE

Return to Section Heading Page


Return to the Home Page

If you need more information than is available here, you can reach HDS via email at info@hds.com, or call us at 1.800.HDS.1551 in the USA, or at +610.277.8300 from outside the US. For questions or problems regarding the HDS WWW page, contact webmaster@hds.com.
© 1996 by HDS Network Systems Inc.