!-----------------------------------------------------------------------------
! XFile App-Defaults 
!-----------------------------------------------------------------------------
XFile.geometry: 480x320
XFile.appNameInTitle: False
XFile.fullPathInTitle: False
XFile.confirmRemoval: always
XFile.showAll: False
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

!! Add xterm to the Tools menu
XFile.tools.terminal: xterm
XFile*toolsMenu.terminal.labelString: Terminal
XFile*toolsMenu.terminal.mnemonic: T
XFile*toolsMenu.terminal.acceleratorText: F12
XFile*toolsMenu.terminal.accelerator: <Key>F12
!! Make sure it remains the first menu item
XFile*toolsMenu.terminal.positionIndex: 0

!-----------------------------------------------------------------------------
! Environment variables used by the file type database
!-----------------------------------------------------------------------------
XFile.variable.terminal: xterm -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: Ctrl+D
*fileMenu.makeDirectory.accelerator: Ctrl<Key>d
*fileMenu.makeFile.acceleratorText: Ctrl+F
*fileMenu.makeFile.accelerator: Ctrl<Key>f
*fileMenu.copyTo.acceleratorText: F4
*fileMenu.copyTo.accelerator: <Key>F4
*fileMenu.moveTo.acceleratorText: F3
*fileMenu.moveTo.accelerator: <Key>F3
*fileMenu.link.acceleratorText: Shift+F4
*fileMenu.link.accelerator: Shift<Key>F4
*fileMenu.duplicate.acceleratorText: Shift+F2
*fileMenu.duplicate.accelerator: Shift<Key>F2
*fileMenu.rename.acceleratorText: F2
*fileMenu.rename.accelerator: <Key>F2
*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+G
*editMenu.selectPattern.accelerator: Ctrl<Key>g
*editMenu.reselect.acceleratorText: Ctrl+Shift+R
*editMenu.reselect.accelerator: Ctrl Shift<Key>r
*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

*windowMenu.new.acceleratorText: F6
*windowMenu.new.accelerator: <Key>F6
*windowMenu.duplicate.acceleratorText: F7
*windowMenu.duplicate.accelerator: <Key>F7

! Keys below are bound through FileList's translation table. Therefore merely
! the accelerator text is set here to reflect translation table bindings.
*fileMenu*contextAction1.acceleratorText: Enter
*fileMenu.delete.acceleratorText: Delete
*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 for the directory selection dialog
*XmFileSelectionBox.fileFilterStyle: XmFILTER_HIDDEN_FILES
*XmFileSelectionBox.pathMode: XmPATH_MODE_RELATIVE
*XmFileSelectionBox.resizePolicy: XmRESIZE_GROW

! Initial mount and file-copy/move/attributes dialog widths
! Set to a reasonable value to avoid them being resized in progress
! Note that these dialogs are standalone (not XFile shell descendants)
xfileProgressDialog.minWidth: 360
xfileMountDialog.minWidth: 300
