USER INTERFACE

  Directory View
The directory view is navigated either with the pointer or arrow keys. For both, the Shift modifier key is utilized for extending a selection, the Ctrl for adding and subtracting selected items. When navigating using arrow keys with the Ctrl modifier depressed, only the focus rectangle is moved, allowing to add focused items to the selected set by pressing the Spacebar key.

Enter executes the default action for the selected item. Spacebar toggles the selection. Backspace changes to the parent directory.

Typing into the directory view will select the next matching file name. Pressing Ctrl + n will incrementally search for, and highlight the next matching file name. The search string will be reset after a few seconds, or when the key bound to osfCancel (typically Esc) is pressed (see the FileList widget lookupTimeout resource).

  Pasting Selections
The primary X selection is utilized for file transfer. When one or more files are selected in an XFile window, these may be pasted in another with the Edit > Copy Here and Edit > Move Here menu commands.

XFile owned selection may also be pasted as a list of space separated file names in an application/widget that requests plain-text data, such as terminal or text editor.

  Mount Points
For mount points, Mount/Unmount action will be displayed in the context menu. Depending on system configuration, alternate un/mount command may be specified (see mountCommand, unmountCommand), or disabled (see userMounts).

XFile may be configured to utilize a user mount daemon that manages a "media" directory (see mediaDirectory, mediaMountCommand, mediaUnmountCommand X resources).

  File/Context Menu
Actions defined in the file type database appear first in File/Context menus, in the order they were defined. First action in the list is the default - that is, it's being run whenever an item in the list is activated.

  Tools Menu
XFile features a drop-down menu for user defined tools. The Tools menu will be displayed once content is added to it using X resources as follows:

XFile.tools.<tool name>: <command>

The command string may contain following context dependent variables:

%n	Selected file name(s).
%p	Current directory (CWD).
%u	User specified parameters (an input dialog will be shown).

Environment variables may also be specified using sh syntax.

To set standard Motif resources, such as label string, mnemonic, position and accelerators, menu item widgets (see XmPushButtonGadget(3)) in the Tools menu may be referred to as XFile.mainMenu.toolsMenu.<tool name>. Most relevant resources are listed below.

labelString	String
mnemonic	Character
acceleratorText	String
accelerator	KeySym
positionIndex	Integer

  Icons
By default, icon size is deduced from label font height. This can be controlled with the iconSize resource. Custom icons may be installed in .xfile/icons user's home sub-directory (see also the FILES section). If an icon specified in the type database cannot be found, a built-in, generic icon will be used instead.