####################################################################
#
#    Original copy: /usr/dt/config/C/sys.dtwmrc
#
#    The Resource Description File for the CDE Window Manager dtwm
#
#    (c) Copyright 1993, 1994 Hewlett-Packard Company.
#    (c) Copyright 1993, 1994 International Business Machines Corp. 
#    (c) Copyright 1993, 1994 Sun Microsystems, Inc.
#    (c) Copyright 1993, 1994 Unix System Labs, Inc., a subsidiary
#        of Novell, Inc.
#
#    $XConsortium: sys.dtwmrc.src /main/cde1_maint/3 1995/10/30 17:23:26 drk $
#
####################################################################

###
#
#  Please make a COPY of this file before editing it.
#
#  Personalized copies typically exist as:
#
#       $HOME/.dt/dtwmrc
#
###

###
#
# Root Menu Description
#
###

Menu DtRootMenu
{
    "Workspace Menu"			f.title
    
# Lines below are generated by dtaction GenerateRootMenu.  Do not edit them.
# vvv dtaction GenerateRootMenu vvv
    "Applications"		f.menu ApplicationsMenu
    "Cards"			f.menu CardsMenu
    "Files"			f.menu FilesMenu
    "Folders"			f.menu FoldersMenu
    "Help"			f.menu HelpMenu
    "Hosts"			f.menu HostsMenu
    "Links"			f.menu LinksMenu
    "Mail"			f.menu MailMenu
    "Tools"			f.menu ToolsMenu
# ^^^ dtaction GenerateRootMenu ^^^
# Lines above are generated by dtaction GenerateRootMenu.  Do not edit them.
     no-label			f.separator
    "Windows"			f.menu WindowsMenu
     no-label			f.separator
    "Add Item to Menu..."	f.action AddItemToMenu
    "Customize Menu..."		f.action CustomizeWorkspaceMenu
     no-label			f.separator
    "Lock Display"		f.action LockDisplay

     "Suspend System..."			f.action SDTsuspend

     "Log out..."			f.action ExitSession
}

Menu WindowsMenu
{
    "Windows"				f.title
    "Shuffle Up"			f.circle_up
    "Shuffle Down"			f.circle_down
    "Refresh"				f.refresh
    "Clean Up Icons"			f.pack_icons
     no-label				f.separator
    "Minimize/Restore Front Panel"	f.toggle_frontpanel
    "Restart Workspace Manager..."	f.restart
    "Update Workspace Menu"		f.action UpdateWorkspaceMenu
     no-label				f.separator
    "Disable Access Control"		f.action Xhost+
    "Enable Access Control"		f.action Xhost-
     no-label				f.separator
    "Kill Window..."			f.exec /usr/openwin/bin/xkill
}

Menu ProgramsMenu
{
    "Programs"				f.title
    "File Manager..."			f.action DtfileHome
    "Text Editor..."			f.action TextEditor
    "Mailer..."				f.action Dtmail
    "Calendar..."			f.action Dtcm
    "Web Browser..."			f.action WebBrowser
     no-label				f.separator
    "Terminal..."			f.action Terminal
    "Console..."			f.action DttermConsole
     no-label				f.separator
    "Clock..."				f.action OWclock
    "Calculator..."			f.action Dtcalc
    "Performance Meter..."		f.action OWperfmeter

      "Power Manager..."			f.action SDTpowermgr

     "Print Manager..."			f.action DtPrintManager
    "Audio..."				f.action SDTaudio
     no-label				f.separator
    "Image Viewer..."			f.action SDTimage
    "Snapshot..."			f.action SDTsnapshot
    "Icon Editor..."			f.action Dticon
     no-label				f.separator
    "Style Manager..."			f.action Dtstyle
    "App Manager..."			f.action Dtappmgr
    "Help..."				f.action Dthelpview
    "AnswerBook2..."			f.action SDTab2
}

###
#
# Front panel Manu Description
#
###

Menu DtPanelMenu
{
    Restore			_R	f.normalize
    Move			_M	f.move
    Minimize			_n	f.minimize
    Lower			_L	f.lower
    Refresh			_f	f.refresh
     no-label				f.separator
    "Log out..."		_o	f.action ExitSession
}


###
#
# Sample Window Menu Description
# This menu description exists as a sample only.
# The normal window manager menu is built in.
#
###

Menu SampleWindowMenu
{
    "Restore"			_R			f.normalize
    "Move"			_M			f.move
    "Size"			_S			f.resize
    "Minimize"			_n			f.minimize
    "Maximize"			_x			f.maximize
    "Lower"			_L			f.lower
     no-label						f.separator
    "Occupy Workspace..."	_O			f.workspace_presence
    "Occupy All Workspaces"	_A			f.occupy_all
    "Unoccupy Workspace"	_U			f.remove
     no-label						f.separator
    "Close"			_C	Alt<Key>F4	f.kill
}

###
#
# Alternate Window Menu Description without accelerators
#
###

Menu NoAcceleratorWindowMenu
{
    "Restore"			_R	f.normalize
    "Move"			_M	f.move
    "Size"			_S	f.resize
    "Minimize"			_n	f.minimize
    "Maximize"			_x	f.maximize
    "Lower"			_L	f.lower
     no-label				f.separator
    "Occupy Workspace..."	_O	f.workspace_presence
    "Occupy All Workspaces"	_A	f.occupy_all
    "Unoccupy Workspace"	_U	f.remove
     no-label				f.separator
    "Close"			_C	f.kill
}

###
#
# Key Bindings Description
#
###

Keys DtKeyBindings
{


    #
    # Global
    #
    #Alt<Key>Menu		root|icon|window	f.toggle_frontpanel 
    Alt<Key>Tab			root|icon|window	f.next_key
    Alt Shift<Key>Tab		root|icon|window	f.prev_key
    Alt<Key>Escape		root|icon|window	f.next_key
    Alt Shift<Key>Escape	root|icon|window	f.prev_key
    Alt<Key>Down		root|icon|window	f.circle_down
    Alt<Key>Up			root|icon|window	f.circle_up
    Alt<Key>Left		root|icon|window	f.prev_workspace
    Alt<Key>Right		root|icon|window	f.next_workspace
    Alt Ctrl Shift<Key>exclam	root|icon|window	f.set_behavior
    #
    # Root
    #
    <Key>SunAgain		root|ifkey		f.pack_icons
    <Key>SunProps		root|ifkey		f.version
    <Key>SunUndo		root|ifkey		f.refresh
    <Key>SunFront		root|ifkey		f.circle_up
    Shift<Key>SunFront		root|ifkey		f.circle_down
    <Key>Down			root			f.circle_down
    <Key>Up			root			f.circle_up
    <Key>Right			root			f.next_workspace
    <Key>Left			root			f.prev_workspace
    #
    <Key>SunAudioMute        root|icon|window|ifkey  f.exec /usr/dt/appconfig/sdtvolctl/muteVolume
    <Key>SunAudioRaiseVolume root|icon|window|ifkey  f.exec /usr/dt/appconfig/sdtvolctl/volumeUp
    <Key>SunAudioLowerVolume root|icon|window|ifkey  f.exec /usr/dt/appconfig/sdtvolctl/volumeDown
    #
    # Window/Icon
    #
    <Key>SunFront               window|icon|ifkey       f.raise_lower
    <Key>SunOpen                window|ifkey            f.minimize
    Shift<Key>Escape		window|icon		f.post_wmenu
    Alt<Key>space		window|icon		f.post_wmenu
    Alt<Key>F6  		window			f.next_key transient
    Alt Shift<Key>F6		window			f.prev_key transient
    Alt<Key>F4			window|icon|ifkey	f.kill
    Alt<Key>SunProps		window|icon|ifkey	f.workspace_presence
    Alt<Key>SunPaste		window|icon|ifkey	f.occupy_all
    Alt<Key>SunCut		window|icon|ifkey	f.remove
    Alt<Key>KP_Insert		window|icon		f.occupy_all
    Alt<Key>Delete		window|icon		f.remove
    Ctrl<Key>L2			window|ifkey		f.next_cmap
    Ctrl<Key>L4			window|ifkey		f.prev_cmap
    #
    # Icon
    #
    <Key>SunOpen                icon|ifkey              f.restore
    Alt<Key>F4	                icon|ifkey		f.kill
    <Key>SunProps		icon|ifkey		f.workspace_presence
    <Key>SunPaste		icon|ifkey		f.occupy_all
    <Key>SunCut			icon|ifkey		f.remove
    <Key>KP_Insert		icon|ifkey		f.occupy_all
    <Key>Delete			icon|ifkey		f.remove

}

###
#
# Mouse Button Bindings Description
#
###

Buttons DtButtonBindings
{

    <Btn1Down>		root			f.marquee_selection
    <Btn2Click>		root			f.toggle_frontpanel
    <Btn3Down>		root			f.menu  DtRootMenu
    Shift<Btn1Click>	frame|icon		f.lower
    <Btn1Click>		frame|icon		f.raise
    <Btn1Click2>	frame			f.maximize
    <Btn1Click2>	icon			f.restore
    <Btn2Click>		frame|icon		f.raise_lower
    <Btn3Down>		frame|icon		f.post_wmenu
    Alt<Btn1Click>	frame|icon|window	f.raise
    Alt<Btn1Click2>	frame|window		f.minimize
    Alt<Btn1Click2>	icon			f.restore
    Alt<Btn2Click>	frame|icon|window	f.raise_lower
    Alt<Btn1Down>	frame|icon|window	f.move
    Alt<Btn3Down>	window			f.minimize

}


###
#
# Defaults:   Window menus, key bindings, and mouse button bindings
#
###

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
}

Keys DefaultKeyBindings
{
    Shift<Key>Escape		icon|window		f.post_wmenu
    Alt<Key>space		icon|window		f.post_wmenu
    Alt<Key>Tab			root|icon|window	f.next_key
    Alt Shift<Key>Tab		root|icon|window	f.prev_key
    Alt<Key>Escape		root|icon|window	f.next_key
    Alt Shift<Key>Escape	root|icon|window	f.prev_key
    Alt Ctrl Shift<Key>exclam	root|icon|window	f.set_behavior
    Alt<Key>F6			window			f.next_key transient
}

Buttons DefaultButtonBindings
{
    <Btn1Down>		frame|icon	f.raise
    <Btn3Down>		icon		f.post_wmenu
}

####################################################################

Menu ApplicationsMenu
{
    "Applications"		f.title
    "Application Manager"	f.action Dtappmgr
    "Audio Control"		f.action SDtAudioControl
    "Audio and Video"		f.action SDTjmplay
    "Calculator"		f.action Dtcalc
    "Calendar"			f.action Dtcm
    "Icon Editor"		f.action Dticon
    "Image Viewer"		f.action SDTimage
    "OW Clock"			f.action OWclock
    "Snapshot"			f.action SDTsnapshot
    "Text Editor"		f.action TextEditor
    "Text Note"			f.action Note
    "Voice Note"		f.action Record
}

Menu CardsMenu
{
    "Cards"			f.title
    "Address Manager"		f.action SDtName
}

Menu FilesMenu
{
    "Files"			f.title
    "File Manager"		f.action Dtfile
    "Find File"			f.action SDtFind
    "Properties..."		f.action FileProperties
}

Menu FoldersMenu
{
    "Folders"			f.title
    "Empty Trash Can"		f.action DtEmptyTrash
    "File Manager - Home"	f.action DtfileHome
    "Open Floppy"               f.action OpenFloppy
    "Removable Media Manager"	f.action Dtmediamgr
    "Trash Can"			f.action Dttrash
}

Menu HelpMenu
{
    "Help"			f.title
    "AnswerBook2"		f.action SDTab2
    "Desktop Introduction"	f.action OpenDtIntro
    "Front Panel Help"		f.action FPHelp
    "Help Viewer"		f.action Dthelpview
    "Solaris Support"		f.action Open "/usr/dt/config/C/wsmenu/Help/Solaris_Support"
    "SunSolve Online"		f.action Open "/usr/dt/config/C/wsmenu/Help/SunSolve_Online"
}

Menu HostsMenu
{
    "Hosts"			f.title
    "Find Host..."		f.action HOST_Find
    "Performance Meter"		f.action SDtPerfmeter
    "Terminal Console"		f.action DttermConsole
    "This Host"			f.action Terminal "/usr/dt/config/C/wsmenu/Hosts/This_Host"
    "Workstation Info"          f.action SDtWsinfo
}

Menu LinksMenu
{
    "Links"			f.title
    "Find Web Page"		f.action Open "/usr/dt/config/C/wsmenu/Links/Find_Web_Page"
    "Web Browser"		f.action WebBrowser
}

Menu MailMenu
{
    "Mail"			f.title
    "Mailer"			f.action Dtmail
    "Suggestion Box"		f.action MailTo "/usr/dt/config/C/wsmenu/Mail/Suggestion_Box"
}

Menu ToolsMenu
{
    "Tools"			f.title
    "Admintool"			f.action SDTadmintool
    "Create Action"		f.action Dtcreate
    "Desktop Controls"		f.action DtControls
    "Hotkey Editor"		f.action SDtHotkey
    "Power Manager"		f.action SDTpowermgr
    "Print Manager"		f.action DtPrintManager
    "Printer Administrator"	f.action PrinterAdministratorDtspcd
    "Process Manager"		f.action SDtProcess

    "Smart Card"		f.action SDTscgui

    "Terminal"			f.action Terminal
    "Watch Errors"		f.action DttermErrorlog
}

###
#
# Designer Desktop Customization: $HOME/.dt/wsmenu.dtwmrc (if it exists)
# User Customization: $HOME/.dt/user.dtwmrc (if it exists)
#
###

INCLUDE
{
    $HOME/.dt/$LANG/wsmenu.dtwmrc
    $HOME/.dt/user.dtwmrc
}

#################  End of the dtwmrc file   #####################
