!-----------------------------------------------------------------------------
! XFile App-Defaults 
!-----------------------------------------------------------------------------
XFile.geometry: 480x320
XFile.title: XFile
XFile.appNameInTitle: False
XFile.fullPathInTitle: False
XFile.confirmRemoval: always
XFile.showAll: False
XFile.terminal: xterm
XFile.userMounts: True
XFile.mountCommand: mount
XFile.unmountCommand: umount

!! EXAMPLE: mount daemon managed media directory
! XFile.mediaDirectory: /media/$LOGNAME
! XFile.mediaUnmountCommand: udevil umount
! XFile.mediaMountCommand: udevil mount

!! EXAMPLE: tools menu entry (browse CWD with XImaging)
! XFile.tools.ximaging: ximaging %p
!! The widget inherits tool's name, hence its resources may be set as follows
! XFile*toolsMenu.ximaging.labelString: XImaging
! XFile*toolsMenu.ximaging.mnemonic: X
! XFile*toolsMenu.ximaging.acceleratorText: F9
! XFile*toolsMenu.ximaging.accelerator: <Key>F9

!! EXAMPLE: tools menu entry (file search with prompt for pattern)
! XFile.tools.find: xterm -hold -e find %p -name %u
!! The widget inherits tool's name, hence its resources may be set as follows
! XFile*toolsMenu.find.labelString: Find...
! XFile*toolsMenu.find.mnemonic: F
! XFile*toolsMenu.find.acceleratorText: F3
! XFile*toolsMenu.find.accelerator: <Key>F3


!-----------------------------------------------------------------------------
! Environment variables used by the file type database
!-----------------------------------------------------------------------------
XFile.variable.terminal: xterm -e
XFile.variable.terminalHold: xterm -hold -e
XFile.variable.textEditor: xedit
XFile.variable.imageViewer: ximaging
XFile.variable.imageEditor: xpaint
XFile.variable.audioPlayer: mplayer
XFile.variable.videoPlayer: mplayer
XFile.variable.pdfViewer: xpdf
XFile.variable.webBrowser: links -g

!-----------------------------------------------------------------------------
! File list widget defaults
!-----------------------------------------------------------------------------
*FileList.background: #C0CCE0
*FileList.selectColor: #9AB0D5
*FileList.viewMode: compact
*FileList.sortOrder: name
*FileList.sortDirection: descend
*FileList.lookupTimeout: 3
*FileList.shortenLabels: 0
*FileList.caseSensitive: False

!-----------------------------------------------------------------------------
! Renditions for file name labels
!-----------------------------------------------------------------------------
*FileList.renderTable: regular directory symlink special

! Directories
*FileList.renderTable.directory.fontType: FONT_IS_XFT
*FileList.renderTable.directory.fontName: Liberation Sans
*FileList.renderTable.directory.fontSize: 10

! Regular files
*FileList.renderTable.regular.fontType: FONT_IS_XFT
*FileList.renderTable.regular.fontName: Liberation Sans
*FileList.renderTable.regular.fontSize: 10

! Symbolic links
*FileList.renderTable.symlink.fontType: FONT_IS_XFT
*FileList.renderTable.symlink.fontName: Liberation Sans
*FileList.renderTable.symlink.fontStyle: Italic
*FileList.renderTable.symlink.fontSize: 10

! Special files
*FileList.renderTable.special.fontType: FONT_IS_XFT
*FileList.renderTable.special.fontName: Liberation Sans
*FileList.renderTable.special.fontStyle: Bold
*FileList.renderTable.special.fontSize: 10

!-----------------------------------------------------------------------------
! Accelerators
!-----------------------------------------------------------------------------
*fileMenu.makeDirectory.acceleratorText: F7
*fileMenu.makeDirectory.accelerator: <Key>F7
*fileMenu.makeFile.acceleratorText: F6
*fileMenu.makeFile.accelerator: <Key>F6
*fileMenu.copyTo.acceleratorText: F4
*fileMenu.copyTo.accelerator: <Key>F4
*fileMenu.moveTo.acceleratorText: F3
*fileMenu.moveTo.accelerator: <Key>F3
! *fileMenu.link.acceleratorText: Ctrl+L
! *fileMenu.link.accelerator: Ctrl<Key>l
*fileMenu.rename.acceleratorText: F2
*fileMenu.rename.accelerator: <Key>F2
*fileMenu.delete.acceleratorText: Delete
*fileMenu.attributes.acceleratorText: F1
*fileMenu.attributes.accelerator: <Key>F1
*fileMenu.exit.acceleratorText: Alt+F4
*fileMenu.exit.accelerator: Alt<Key>F4

*editMenu.selectAll.acceleratorText: Ctrl+A
*editMenu.selectAll.accelerator: Ctrl<Key>a
*editMenu.selectPattern.acceleratorText: Ctrl+P
*editMenu.selectPattern.accelerator: Ctrl<Key>p
*editMenu.deselect.acceleratorText: Ctrl+Shift+A
*editMenu.deselect.accelerator: Ctrl Shift<Key>a
*editMenu.copyHere.acceleratorText: Ctrl+Insert
*editMenu.copyHere.accelerator: Ctrl<Key>Insert
*editMenu.moveHere.acceleratorText: Ctrl+Shift+Insert
*editMenu.moveHere.accelerator: Ctrl Shift<Key>Insert

*viewMenu.reread.acceleratorText: F5
*viewMenu.reread.accelerator: <Key>F5
*viewMenu.detailed.acceleratorText: Ctrl+L
*viewMenu.detailed.accelerator: Ctrl<Key>l
*viewMenu.showAll.acceleratorText: Ctrl+.
*viewMenu.showAll.accelerator: Ctrl<Key>period
*viewMenu.filter.acceleratorText: Ctrl+F
*viewMenu.filter.accelerator: Ctrl<Key>F

*toolsMenu.terminal.acceleratorText: F10
*toolsMenu.terminal.accelerator: <Key>F10

*windowMenu.new.acceleratorText: F11
*windowMenu.new.accelerator: <Key>F11
*windowMenu.duplicate.acceleratorText: F12
*windowMenu.duplicate.accelerator: <Key>F12

! These are handled through FileList's default translations
*fileMenu*contextAction1.acceleratorText: Enter
*viewMenu.goUp.acceleratorText: Bksp

!-----------------------------------------------------------------------------
! Misc. GUI preferences
!-----------------------------------------------------------------------------

! Make Cancel the default button in confirmation dialogs
*confirmationDialog.defaultButtonType: DIALOG_CANCEL_BUTTON

! Some CDE 2.0 defaults
*XmFileSelectionBox.fileFilterStyle: XmFILTER_HIDDEN_FILES
*XmFileSelectionBox.pathMode: XmPATH_MODE_RELATIVE
*XmFileSelectionBox.resizePolicy: XmRESIZE_GROW
