/etc/X11/app-defaults/Xfm is in xfm 1.5.4-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 | !***********************************************************************
! Application defaults for xfm.
! Defaults are commented out (have a ! in front of them)
! (Don't forget to remove the ! in front of those you change)
!***********************************************************************
!********** Version of xfm this is made for **********
Xfm.appDefsVersion: 1.5
!***********************some Colors*******************
Xfm*highlightColor: midnight blue
Xfm*foreground: black
Xfm*background: grey77
Xfm*fmLog*log_text.background: white
!!Xfm*viewport.icon box*Toggle.foreground: midnight blue
!****************some files and filepaths:************
! bitmap and pixmap path:
!Xfm.bitmapPath: /usr/share/xfm/bitmaps:/usr/include/X11/bitmaps
!Xfm.pixmapPath: /usr/share/xfm/icons:/usr/share/xfm/pixmaps:/usr/include/X11/pixmaps
! Search for Application Files:
!Xfm.systemwideApplicationDataFile: /etc/X11/xfm/Apps.xfm
!Xfm.applicationDataFile: ~/.xfm/Apps.xfm
!Xfm.systemwideApplicationDataDir: /etc/X11/xfm
!Xfm.applicationDataDir: ~/.xfm
! store CopyPaste between Application windows in here:
!Xfm.applicationDataClip: ~/.xfm/.XfmClip
! Config files:
!Xfm.systemwideDevFile: /etc/X11/xfm/xfm_dev
!Xfm.systemwideMailcapFile: /etc/X11/xfm/xfm_mailcap
!Xfm.systemwideMimeTypesFile: /etc/X11/xfm/xfm_mime.types
!Xfm.systemwideMagicFile: /etc/X11/xfm/xfm_magic
!Xfm.devFile: ~/.xfm/xfm_dev
!Xfm.mailcapFile: ~/.xfm/xfm_mailcap
!Xfm.magicFile: ~/.xfm/xfm_magic
!Xfm.mimeTypesFile: ~/.xfm/xfm_mime.types
!*****************Asking questions********************
!Xfm.confirmDeletes: True
!Xfm.confirmDeleteFolder: True
!Xfm.confirmMoves: True
!Xfm.confirmCopies: True
!Xfm.confirmOverwrite: True
!Xfm.confirmQuit: True
!**********************Echoing************************
!Xfm.echoActions: False
!******************what and how to show****************
! TODO: move them to Xfm
!Xfm.showOwner: True
!Xfm.showDate: True
!Xfm.showPermissions: True
!Xfm.showLength: True
!Xfm.showInode: True
!Xfm.showType: True
!Xfm.showGroup: True
!Xfm.showLinks: True
!Xfm.defaultDisplayType: Icons
!Xfm.initialDisplayType: Icons
!Xfm.defaultSortType: SortByName
!****************fall-back programs*******************
Xfm.editor: nedit
Xfm.viewer: xless
!Xfm.xTerminal: x-terminal-emulator -e
!Xfm.xTerminalAlone: x-terminal-emulator
!Xfm.shell: /bin/sh
!*******Specify which window to show at startup*******
! if none is True and no -filemgr nor -appmgr is in the command line
! both are shown:
!Xfm.appmgr: False
!Xfm.filemgr: False
!***********************fonts*************************
! to set all fonts:
Xfm*Font: XtDefaultFont
! some special Fonts:
Xfm.iconFont: -adobe-helvetica-medium-r-*-*-10-*
Xfm.buttonFont: -adobe-helvetica-medium-r-*-*-12-*
Xfm.menuFont: -adobe-helvetica-medium-r-*-*-12-*
Xfm.labelFont: -adobe-helvetica-medium-r-*-*-12-*
Xfm.statusFont: -adobe-helvetica-medium-r-*-*-12-*
Xfm.boldFont: -adobe-helvetica-bold-r-*-*-12-*
! this should be a fixed width font:
Xfm.cellFont: fixed
Xfm*fmLog*AsciiSink.font: -*-lucidatypewriter-medium-r-*-*-12-*
!**********************geometry***********************
! application window
Xfm.Geometry: 240x345+565+130
! file windows:
Xfm.initGeometry: 555x345+5+130
Xfm.file windows.Geometry: 555x345
! Layout in Icons mode:
!Xfm*IconFileList.entrySep: 2
!Xfm*IconFileList.topSep: 2
!Xfm*IconFileList.leftSep: 2
!Xfm*IconFileList.labelSep: 2
! number of columns, 0=as much as fit:
!Xfm*IconFileList.nHoriz: 0
! minimal width of icons:
!Xfm*IconFileList.minIconWidth: 0
! minimal height of icons:
!Xfm*IconFileList.minIconHeight: 0
! maximal length of text below an icon:
!Xfm*IconFileList.maxLabelWidth: 150
! Layout in Text mode:
!Xfm*TextFileList.entrySep: 2
!Xfm*TextFileList.topSep: 2
!Xfm*TextFileList.leftSep: 2
!Xfm*TextFileList.tabSep: 4
! TODO: move show* here?
!***********************different stuff***************
! hopefully not needed:
!Xfm.BourneShells: AUTO
! number of history entries to keep
!Xfm.historyMaxN: 30
! tolarance for matching colors
!Xfm.colorCloseness: 40000
! seperator between file names for the clipboard
! a space, escaped with a \ before it:
!Xfm.selectionPathsSeparator: \
! miliseconds between folder updates
!Xfm.updateInterval: 10000
! reread permissions every n-th update (0=disable)
Xfm.hardUpdateTicks: 10
! miliseconds between double clicks:
!Xfm.doubleClickTime: 300
! ignore magic rules needing so much look-ahead in a file
!Xfm.maxMagicRead: 1024
!**********************************************************
! translations (key and mouse bindings in the following format)
! should be called baseTranslations in the app-defaults file
! so that a .Xresources file can have .translations items for
! just the changed items.
!
! mouse and key bindings for File Window in Icon view:
!Xfm*IconFileList.baseTranslations:#override\n\
<Enter> : dispatchDirFile(fileHighlight,fileMaybeHighlight,"")\n\
<Leave> : resetCursor()\n\
Shift <Btn1Down>,<Btn1Up> : fileToggle()\n\
<Btn1Up>(2) : dispatchDirFile(fileOpenDir,fileExecAction,"")\n\
<Btn1Down>,<Btn1Up> : fileSelect()\n\
<Btn1Down>,<Motion> : fileBeginDrag(1,move)\n\
<Btn2Down>,<Btn2Up> : fileToggle()\n\
<Btn2Down>,<Motion> : fileBeginDrag(2,copy)\n\
Any<Btn3Down> : grabMouseForPopup(dispatchDirFile,dirPopup,filePopup,"")\n\
Any<Btn4Down> : ViewportScroll(-0.1,V)\n\
Any<Btn5Down> : ViewportScroll(+0.1,V)\n\
Shift <Key>n : notify(*folder*new)\n\
Shift <Key>g : notify(*folder*goto)\n\
Shift <Key>h : notify(*folder*home)\n\
Shift <Key>u : notify(*folder*up)\n\
Shift <Key>c : notify(*folder*clone)\n\
Shift <Key>q : notify(*folder*close)\n\
Ctrl <Key>r : notify(*view*tree)\n\
Ctrl <Key>i : notify(*view*icons)\n\
Ctrl <Key>t : notify(*view*text)\n\
Ctrl <Key>n : notify("*view*sort by name")\n\
Ctrl <Key>s : notify("*view*sort by size")\n\
Ctrl <Key>d : notify("*view*sort by mtime")\n\
Ctrl <Key>f : notify(*view*filter)\n\
Ctrl <Key>h : notify("*view*hide folders")\n\
Ctrl <Key>m : notify("*view*mix folders/files")\n\
Ctrl <Key>u : notify("*view*show hidden files")\n\
Ctrl <Key>l : notify("*view*show log")\n\
<Key>n : notify(*file*new)\n\
<Key>m : notify(*file*move)\n\
<Key>c : notify(*file*copy)\n\
<Key>l : notify(*file*link)\n\
<Key>d : notify(*file*delete)\n\
<Key>Delete : notify(*file*delete)\n\
<Key>BackSpace : notify(*file*delete)\n\
<Key>s : notify(*file*select)\n\
<Key>a : notify("*file*select all")\n\
<Key>u : notify("*file*deselect all")\n\
<Key>o : notify("*file*own Selection")\n\
<Key>x : notify(*file*xterm)\n\
<Key>q : notify(*file*quit)\n
! mouse and key bindings for FileWindow in Text view:
!Xfm*TextFileList.baseTranslations:#override\n\
<Enter> : dispatchDirFile(fileHighlight,fileMaybeHighlight,"")\n\
<Leave> : resetCursor()\n\
Shift <Btn1Down>,<Btn1Up> : fileToggle()\n\
<Btn1Up>(2) : dispatchDirFile(fileOpenDir,fileExecAction,"")\n\
<Btn1Down>,<Btn1Up> : fileSelect()\n\
<Btn1Down>,<Motion> : fileBeginDrag(1,move)\n\
<Btn2Down>,<Btn2Up> : fileToggle()\n\
<Btn2Down>,<Motion> : fileBeginDrag(2,copy)\n\
Any<Btn3Down> : grabMouseForPopup(dispatchDirFile,dirPopup,filePopup,"")\n\
Any<Btn4Down> : ViewportScroll(-0.1,V)\n\
Any<Btn5Down> : ViewportScroll(+0.1,V)\n\
Shift <Key>n : notify(*folder*new)\n\
Shift <Key>g : notify(*folder*goto)\n\
Shift <Key>h : notify(*folder*home)\n\
Shift <Key>u : notify(*folder*up)\n\
Shift <Key>c : notify(*folder*clone)\n\
Shift <Key>q : notify(*folder*close)\n\
Ctrl <Key>r : notify(*view*tree)\n\
Ctrl <Key>i : notify(*view*icons)\n\
Ctrl <Key>t : notify(*view*text)\n\
Ctrl <Key>n : notify("*view*sort by name")\n\
Ctrl <Key>s : notify("*view*sort by size")\n\
Ctrl <Key>d : notify("*view*sort by mtime")\n\
Ctrl <Key>f : notify(*view*filter)\n\
Ctrl <Key>h : notify("*view*hide folders")\n\
Ctrl <Key>m : notify("*view*mix folders/files")\n\
Ctrl <Key>u : notify("*view*show hidden files")\n\
<Key>n : notify(*file*new)\n\
<Key>m : notify(*file*move)\n\
<Key>c : notify(*file*copy)\n\
<Key>l : notify(*file*link)\n\
<Key>d : notify(*file*delete)\n\
<Key>Delete : notify(*file*delete)\n\
<Key>BackSpace : notify(*file*delete)\n\
<Key>s : notify(*file*select)\n\
<Key>a : notify("*file*select all")\n\
<Key>u : notify("*file*deselect all")\n\
<Key>o : notify("*file*own Selection")\n\
<Key>x : notify(*file*xterm)\n\
<Key>q : notify(*file*quit)\n
!**************remove some borders********************
! these are some fall-back defaults. There is no easy
! way to specify them in the program in a way they can
! be changed here or in a user's .Xresources file without
! being in here, so here they are:
Xfm*Command.cursor: hand2
Xfm*Command*borderWidth: 0
Xfm*viewport*Command*shadowWidth: 0
Xfm*MenuButton.cursor: hand2
Xfm*popup form*bitmap.borderWidth: 0
Xfm*popup form*label.borderWidth: 0
Xfm*button box.orientation: horizontal
Xfm*button box.borderWidth: 0
Xfm*file window*viewport.borderWidth: 0
Xfm*viewport.icon box*Label.borderWidth: 0
Xfm*viewport.icon box.Command.borderWidth: 0
Xfm*viewport.icon box.Form.borderWidth: 0
Xfm*viewport.icon box*Toggle.borderWidth: 1
Xfm*chmod*Label.borderWidth: 0
Xfm*info*Label.borderWidth: 0
Xfm*error*Label.borderWidth: 0
Xfm*confirm*Label.borderWidth: 0
Xfm*fm_history.label: Path history
Xfm*fm_history*SmeLine.lineWidth: 1
! the translations for the Application Window
Xfm*awform*icon box.baseTranslations: #override\n\
<Btn2Up> : dummy()\n\
<Btn3Up> : dummy()\n\
Any<Btn3Down> : appPopup()\n\
<Enter> : appTrackCursor()\n\
<Leave> : appTrackCursor()\n\
Any<Btn4Down> : ViewportScroll(-0.1,V)\n\
Any<Btn5Down> : ViewportScroll(+0.1,V)\n
Xfm*awform*icon box*label.baseTranslations: #override\n\
Any<Btn4Down> : ViewportScroll(-0.1,V)\n\
Any<Btn5Down> : ViewportScroll(+0.1,V)\n\
<Enter> : appTrackCursor()\n\
<Leave> : appTrackCursor()\n
Xfm*awform*icon box*icon.baseTranslations:#override\n\
Any<Btn4Down> : ViewportScroll(-0.1,V)\n\
Any<Btn5Down> : ViewportScroll(+0.1,V)\n\
<Enter> : appMaybeHighlight()\n\
<Leave> : unhighlight()\n\
<Btn1Up>(2) : runApp()\n\
<Btn1Down>,<Btn1Up> : appSelect()\n\
<Btn1Down>,<Leave> : appBeginDrag(1,move)\n\
<Btn2Down>,<Btn2Up> : appToggle()\n\
<Btn2Down>,<Leave> : appBeginDrag(2,copy)\n
! the translations for the folderlabel of a file window
Xfm*file window*folderlabel.baseTranslations: #override\n\
Any<Btn3Down> : FmUpdateHistory(fm_history) MenuPopup(fm_history)\n\
<Btn1Up>(2) : fileRefresh()\n
! the file window main viewport:
Xfm*file window*viewport.baseTranslations: #override\n\
<Enter> : trackCursor()\n\
<Leave> : trackCursor()\n\
Any<Btn4Down> : ViewportScroll(-0.1,V)\n\
Any<Btn5Down> : ViewportScroll(+0.1,V)\n
! the translations for the Tree View of a file window:
Xfm*file window*icon box*tree_icon.baseTranslations: #override\n\
<Enter> : fileHighlight()\n\
<Leave> : resetCursor()\n\
Shift <Btn1Down>,<Btn1Up> : fileToggle()\n\
<Btn1Down>,<Btn1Up> : fileSelect()\n\
<Btn1Down>,<Leave> : fileBeginDrag(1,move)\n\
<Btn2Down>,<Btn2Up> : fileToggle()\n\
<Btn2Down>,<Leave> : fileBeginDrag(2,copy)\n\
<Btn3Down> : dirPopup()\n\
Any<Btn4Down> : ViewportScroll(-0.1,V)\n\
Any<Btn5Down> : ViewportScroll(+0.1,V)\n\
Shift <Key>n : notify(*folder*new)\n\
Shift <Key>g : notify(*folder*goto)\n\
Shift <Key>h : notify(*folder*home)\n\
Shift <Key>u : notify(*folder*up)\n\
Shift <Key>c : notify(*folder*clone)\n\
Shift <Key>q : notify(*folder*close)\n\
Ctrl <Key>r : notify(*view*tree)\n\
Ctrl <Key>i : notify(*view*icons)\n\
Ctrl <Key>t : notify(*view*text)\n
! the translations for the text fields:
Xfm*TextField.baseTranslations:#override\n\
Any<Btn3Down>: FocusSet() FmUpdateHistory(fm_history) MenuPopup(fm_history)\n\
Shift <Key>Tab:FocusTraverse(b)\n\
<Key>Tab:FocusTraverse()\n\
<FocusIn>:Detail_NotifyAncestor(CursorState,a)\n\
<FocusOut>:Detail_NotifyAncestor(CursorState,i)\n\
<Btn1Up>:FocusSet() HighlightExtend() MakeSelection(PRIMARY)\n\
<Btn2Up>:FocusSet() MoveCursor() InsertSelection(PRIMARY)\n\
<Enter>:\n\
<Leave>:\n\
<Key>Escape: \n\
<Key>Return: \n\
<Key>Linefeed:\n
! first popdown menu, then trigger action:
Xfm*SimpleMenu.baseTranslations:#override\n\
<BtnUp>: popdown() notify() unhighlight()\n
! accelerators for some Buttons:
Xfm*button box*cancel.accelerators:#override\n\
<ClientMessage>WM_PROTOCOLS: set() notify() unset()\n\
<Key>Escape: set() notify() unset()\n
Xfm*about*button box*ok.accelerators:#override\n\
<ClientMessage>WM_PROTOCOLS: set() notify() unset()\n\
<Key>Escape: set() notify() unset()\n
Xfm*button box*ok.accelerators:#override\n\
<Key>Return: set() notify() unset()\n\
<Key>Linefeed: set() notify() unset()\n
Xfm*button box*replace.accelerators:#override\n\
<Key>Return: set() notify() unset()\n\
<Key>Linefeed: set() notify() unset()\n
Xfm*button box*install.accelerators:#override\n\
<Key>Return: set() notify() unset()\n\
<Key>Linefeed: set() notify() unset()\n
Xfm*fmLog*Hide.accelerators:#override\n\
<ClientMessage>WM_PROTOCOLS: set() notify() unset()\n\
<Key>Return: set() notify() unset()\n\
<Key>Linefeed: set() notify() unset()\n
Xfm*fmLog*Clear Log.accelerators:#override\n\
<Key>Delete: set() notify() unset()\n
!***Info for the Log window:****
! Some settings for the log window
Xfm*fmLog.title: Xfm output log
! You can enable the horizontal scrollbar if you want:
Xfm*fmLog*Text.scrollHorizontal: whenNeeded
! The initial value of the 'auto popup' toggle which
! determines if the Log window pops up automatically
! when new data is available.
Xfm*fmLog*Auto Flag.state: True
Xfm*fmLog.width:515
Xfm*fmLog.height:200
|