<?xml version='1.0' encoding='UTF-8'?>
<options>
  <section title='Filer windows'>
    <frame label='Auto-resize filer windows'>
      <radio-group name='filer_auto_resize'>
        <radio label='Never automatically resize' value='2'>You'll have to resize windows manually, using the window manager, the `Resize Window' menu entry or by double-clicking on the window background.</radio>
        <radio label='Resize when changing the display style' value='0'>Changing the size of the icons or which details are displayed will resize the window for you.</radio>
        <radio label='Always resize' value='1'>The filer will resize windows whenever it seems useful (that is, when changing directory or display style).</radio>
      </radio-group>
	<hbox>
		<numentry name='filer_size_limit' label='Largest window size:' unit='%' min='1' max='100' width='3'>
			The largest size, as a percentage of the screen size, that the auto-resizer will resize a window to.</numentry>
		<spacer/>
		<numentry name='filer_width_limit' label='Largest window width:' unit='%' min='0' max='100' width='3'>
			The largest width, as a percentage of the screen size, that the auto-resizer will resize a window to.</numentry>
	</hbox>
    </frame>
    <frame label='Window behaviour'>
      <hbox>
        <vbox>
          <toggle name='filer_short_flag_names' label='Short titlebar flags'>Use single letters instead of words for Scanning, All and Thumbs indicators in the titlebar.</toggle>
          <toggle name='filer_unique_windows' label='Unique windows'>If you open a directory and that directory is already displayed in another window, then this option causes the other window to be closed.</toggle>
          <toggle name='close_dir_when_missing' label='Close window when dir missing'>If a directory that is open in a window disappears, (deleted or unmounted) automatically close window.</toggle>
          <toggle name='window_link' label='Window Link'>If this is on and you open a directory by middle button, the new window and the source window are toggled into link mode. In link mode, left-click a directory to open it in a window placed to the right of the source window. If this value is off, ctrl + middle button toggles the linked window.</toggle>
        </vbox>
        <vbox>
          <toggle name='bind_new_button_1' label='New window on button 1'>Clicking with mouse button 1 (usually the left button) opens a directory in a new window with this turned on. Clicking with the button-2 (middle) will reuse the current window.</toggle>
          <toggle name='bind_single_click' label='Single-click navigation'>Clicking on an item opens it with this on. Hold down Control to select the item instead. If off, clicking once selects an item; double click to open things.</toggle>
          <toggle name='bind_dclick_resizes' label='Double-click on background resizes'>If on then double clicking on the window background resizes the window, just like clicking on the Automatic size mode button in the toolbar.</toggle>
        </vbox>
      </hbox>
    </frame>
    <frame label='Sorting'>
      <toggle name='display_dirs_first' label='Directories come first (for sort by name)'>If this is on then directories will always appear before anything else when sorting by name.</toggle>
      <toggle name='display_caps_first' label='Capitalised names first (for sort by name)'>If on, all filenames starting with a capital letter come before filenames starting with lowercase ones.</toggle>
      <toggle name='display_newly_first' label='Newly comes first (for sort by Date)'>If on, the Sort by Dates are reversed.</toggle>
    </frame>

	<frame label='etc'>
	<toggle name='xattr_show' label='Show extended attribute indicator'>
		If this is on then files which have one or more extended attributes set will have an emblem added to indicate this.</toggle>
	<toggle name='hide_root_msg' label="Hide the message bar Running as user 'root'">
		This hides the bar even with the command-line option -u, --user if user is the root.</toggle>
	</frame>

    <section title='New Window'>
    <frame label='Default settings for new windows'>
	<toggle name='display_inherit_options' label='Inherit options from source window'>
		If this is on then display options for a new window are inherited from the source window if possible, otherwise they are set to the defaults below.</toggle>
	<hbox><vbox>
		<menu name='filer_view_type' label='View type:' sizegroup='disp-def'>
			<item label='Icons View' value='0'/>
			<item label='List View' value='1'/>
		</menu>
		<menu name='display_sort_by' label='Sort by:' sizegroup='disp-def'>
			<item label='Name' value='0'/>
			<item label='Type' value='1'/>
			<item label='Date (m)' value='2'/>
			<item label='Date (c)' value='6'/>
			<item label='Date (a)' value='7'/>
			<item label='Size' value='3'/>
		</menu>
	</vbox></hbox>
	<toggle name='display_show_hidden' label='Show hidden files'>
		If this is on then files whose names start with a dot are shown too, otherwise they are hidden.</toggle>
	<toggle name='enable_dot_hidden_file' label='Enable .hidden file'>
		If this is on then, in addition to files whose names start with a dot, also items listed in ".hidden" file will be treated as hidden.</toggle>
	<spacer/>
	<numentry name='huge_size' label='Huge Icons size:' unit='pixels' min='64' max='1024' width='4'>
		Resolution depends on 'Thumbnails->Cache File Size'.</numentry>
    </frame>
    </section>
    <section title='Icon View'>
      <frame label='Icon View'>
        <hbox>
	  <vbox>
            <menu name='display_icon_size' label='Default size:' sizegroup='disp2-def'>
              <item label='Huge Icons' value='2'/>
              <item label='Large Icons' value='0'/>
              <item label='Small Icons' value='1'/>
              <item label='Automatic' value='3'/>
            </menu>
            <menu name='display_details' label='Default details:' sizegroup='disp2-def'>
              <item label='No details' value='0'/>
              <item label='Sizes' value='2'/>
              <item label='Permissions' value='3'/>
              <item label='Type' value='4'/>
              <item label='Times' value='5'/>
            </menu>
	  </vbox>

	</hbox>
	<spacer/>
	<numentry name='filer_change_size_num' label='Automatic small icons: Change at:'
		unit='items' min='1' max='1000' width='4'>
		When automatic icon sizing is selected: If the directory contains this many items then it will be shown using Small Icons, otherwise Large Icons will be used.</numentry>
	<spacer/>
	<numentry name='display_large_width' label='Large Icons: (Max width):' sizegroup='disp2-lw'
		unit='pixels' min='0' max='2000' width='4'>
		Text wider than this is broken onto two lines in Large Icons mode.</numentry>
	<numentry name='display_max_length' label='(Wrapped, Details):' sizegroup='disp2-lw'
		unit='pixels' min='0' max='2000' width='4'>
		Maximum length for Large Icons mode and Details. This can be changed temporarily by right dragging of the toolbar.</numentry>
	<toggle name='wrap_by_char' label='Wrap by characters'>
		If this option is on, file names will wrap by characters instead of words.</toggle>
	<spacer/>
	<numentry name='display_small_width' label='Small Icons (Max width):'
		unit='pixels' min='0' max='2000' width='4'>Maximum width for the text beside a Small Icon.</numentry>
	<spacer/>
	<toggle name='vertical_order_small' label='Order small icons vertically'>
		If this option is on, then small icons are arranged in columns, not rows.</toggle>
	<toggle name='vertical_order_large' label='Order large icons vertically'>
		If this option is on, then large icons are arranged in columns, not rows.</toggle>
	<spacer/>
		<numentry name='scroll_speed' label="Scroll speed: 1/" unit='view' min='1' max='99' width='2'></numentry>
</frame>
</section>
    <section title='List View'>
      <frame label='List View'>
        <toggle name='display_show_headers' label='Show column headings'>If this is on then column headings will be shown in the list view.</toggle>
        <toggle name='display_show_full_type' label='Show full type'>If this is on then the full description of each object's type will be show rather than a short summary of its basic type.</toggle>
        <toggle name='display_less_clickable_cols' label='Only icons and names are clickable'>For lasso.</toggle>
        <toggle name='display_save_col_order' label='Save columns order'>If this is on reordering columns is saved</toggle>

		<hbox>
			<numentry name='display_name_width' label='Name column width (Max):' unit='pixels' min='0' max='2000' width='4'>Maximum width for the Name Column.</numentry>
		</hbox>
      </frame>
      <frame label='Show Columns'>
        <toggle name='display_show_name' label='Name'>If this is on then Name column will be shown in the list view.</toggle>
        <toggle name='display_show_type' label='Type'>If this is on then Type column will be shown in the list view.</toggle>
        <toggle name='display_show_size' label='Size'>If this is on then Size column will be shown in the list view.</toggle>
        <toggle name='display_show_permissions' label='Permissions'>If this is on then Permissions column will be shown in the list view.</toggle>
        <toggle name='display_show_owner' label='Owner'>If this is on then Owner column will be shown in the list view.</toggle>
        <toggle name='display_show_group' label='Group'>If this is on then Group column will be shown in the list view.</toggle>
        <toggle name='display_show_mtime' label='Last Modified'>If this is on then Last Modified column will be shown in the list view.</toggle>
        <toggle name='display_show_ctime' label='Last Changed'>If this is on then Last Changed column will be shown in the list view.</toggle>
        <toggle name='display_show_atime' label='Last Accessed'>If this is on then Last Accessed column will be shown in the list view.</toggle>
      </frame>
    </section>
    <section title='Tools/Minibuffer'>
      <frame label='Toolbar'>
        <hbox>
	  <menu name='toolbar_type' label='Toolbar type:'>
	  <item label='No toolbar' value='0'/>
	  <item label='Icons only' value='1'/>
	  <item label='Text under icons' value='2'/>
	  <item label='Text beside icons' value='3'/>
	  <item label='Text only' value='4'/>
	  </menu>
	  <spacer/>
	  <toggle name='toolbar_show_info' label='Show totals of items'>Show the number of items displayed in a filer window, as well as the number of hidden items (if any). When there's a selection, show the number of selected items and their combined size.</toggle>
  	</hbox>
	<spacer/>
	<label>Select the buttons you want on the bar:</label>
	<spacer/>
        <tool-options name='toolbar_disable'/>
        <toggle name='toolbar_min_width' label='Width of toolbar sets minimum width of window'>Each filer window is constrained to be wide enough to show the whole of the toolbar</toggle>
      </frame>
      <frame label='Minibuffer'>
        <toggle name='filer_beep_fail' label='Beep if Tab-completion fails'>When using the `Enter Path...' minibuffer and Tab is pressed, beep if nothing happens (eg, because there are several possibilities and the next letter varies).</toggle>
        <toggle name='filer_beep_multi' label='Beep if there are several matches'>When using the `Enter Path...' minibuffer and Tab is pressed, beep if there is more than one matching file, even though some more letters were added.</toggle>
	<spacer/>
		<entry
			label='Stdout handler'
			name='mini_stdout'
			>This will be run when Mini Shell puts out string to stdout. $1 is the string.</entry>
		<entry
			label='Errout handler'
			name='mini_errout'
			>This will be run when Mini Shell puts out string to errout. $1 is the string.</entry>

      </frame>
    </section>
    <section title='Thumbnails'>
      <frame label='Thumbnails'>
		<toggle name='display_show_thumbs' label='Show image thumbnails'>
			This is the default setting for new windows. Use the Display menu to turn thumbnails on and off for individual windows.</toggle>
		<toggle name='display_show_dir_thumbs' label='Show image thumbnail for directory.'>
			When no items in a sub-directory have a thumbnail, this process tries to create a thumbnail. If you don't like the choice, visit the sub-directory and middle-click the scan button in the toolbar to choose the first item.
		</toggle>
		<entry
			label='Video Thumbnailer:'
			name='video_thumbnailer'
			>Default generator For video/*.</entry>
      </frame>
      <frame label='Thumbnails cache'>
		  <label help='1'>To speed things up, the generated thumbnails are stored in the hidden ~/.cache/literocks directory. Click here to remove the cached thumbnails. They will be created again as needed.</label>
	<hbox>
		<thumbs-purge-cache/>
		<numentry name='purge_days' label=' being left over '
			unit='days' min='0' max='999' width='3'>0 is all.</numentry>
	</hbox>
	<spacer/>
	<hbox>
		<menu name='thumb_file_size' label='Cache File Size:'>
			<item label='Small (64px)' value='64'/>
			<item label='Normal (128px)' value='128'/>
			<item label='Large (256px)' value='256'/>
			<item label='Huge (512px)' value='512'/>
		</menu>
	</hbox>
      </frame>
    </section>
  </section>

  <section title='Action windows'>
    <label help='1'>Action windows appear when you start a background
operation, such as copying or deleting some files.</label>
    <frame label='Auto-start (Quiet) these actions'>
      <toggle name='action_copy' label='Copy'>Copy files without confirming first.</toggle>
      <toggle name='action_move' label='Move'>Move files without confirming first.</toggle>
      <toggle name='action_link' label='Link'>Create links to files without confirming first.</toggle>
      <toggle name='action_delete' label='Delete'>Delete files without confirming first.</toggle>
      <toggle name='action_mount' label='Mount'>Mount and unmount filesystems without confirming first.</toggle>
    </frame>
    <frame label='Default settings'>
      <hbox>
        <toggle name='action_force' label='Force Del'>Don't confirm deletion of non-writeable items.</toggle>
        <toggle name='action_brief' label='Brief'>Don't display so much information in the message area.</toggle>
        <toggle name='action_recurse' label='Recurse'>Also change contents of subdirectories.</toggle>
        <toggle name='action_merge' label='Merge'>Always merge directories.</toggle>
        <toggle name='action_newer' label='Newer'>Always over-write if source is newer than destination.</toggle>
        <toggle name='action_ignore' label='Ignore Older'>Silently ignore if source is older than destination.</toggle>
      </hbox>
    </frame>
    <frame label='Mount commands'>
     <entry name='action_mount_command' label='Mount command'>The command used to mount a filesystem. If unsure, use "mount".</entry>
     <entry name='action_umount_command' label='Unmount command'>The command used to unmount a filesystem. If unsure, use "umount" (yes, without the first "n").</entry>
     <entry name='action_eject_command' label='Eject command'>The command used to eject removable media. If unsure, use "eject".</entry>
    </frame>
	<frame label='Wink'>
		<toggle name='action_wink' label='Wink last move/copy/linked item'></toggle>
	</frame>
  </section>
  <section title='Drag and Drop'>
    <frame label='Dragging to icons'>
      <toggle name='dnd_drag_to_icons' label='Allow dragging to icons in filer windows'>When this is on you can drag a file over a sub-directory or program in a filer window. The item will highlight when you do this and dropping the file will put it into that directory, or load it into the program.</toggle>
      <toggle name='dnd_spring_open' label='Directories spring open'>This option, which requires the above option to be turned on too, causes the highlighted directory to 'spring open' after the file is held over it for a short while.</toggle>
      <numentry name='dnd_spring_delay' label='Spring delay:' unit='ms' min='100' max='2000' width='4'>This option sets how long, in ms, you must hold a file over a directory before it will spring open. The above option must be turned on for this to have any effect.</numentry>
    </frame>
    <frame label='When dragging files with the left mouse button'>
      <radio-group name='dnd_left_menu'>
        <radio value='1' label='Show a menu of possible actions'/>
        <radio value='0' label='Copy the files'>Note that you can still get the menu to appear, by dragging with Alt held down.</radio>
      </radio-group>
    </frame>
    <frame label='When dragging files with the middle mouse button'>
      <radio-group name='dnd_middle_menu'>
        <radio value='1' label='Show a menu of possible actions'/>
        <radio value='0' label='Move the files'>Note that you can still get the menu to appear, by dragging with the left button and holding down the Alt key.</radio>
      </radio-group>
    </frame>
    <frame label='Download handler'>
      <entry name='dnd_uri_handler'>When you drag a file from a web browser or other remote source, this program will be run to download it. $1 is the URI dragged to the filer, and the current directory is the destination. Eg:
xterm -e wget $1</entry>
    </frame>
  </section>
  <section title='Menus'>
    <frame label='Appearance'>
      <hbox>
	<menu name='menu_iconsize' label='Size of icons in menus:'>
	  <item label='No Icons' value='0'/>
	  <item label='Small Icons' value='1'/>
	  <item label='Large Icons' value='2'/>
	  <item label='Same as current window' value='4'/>
	  <item label='Same as default' value='5'/>
	</menu>
      </hbox>
    </frame>
    <frame label='Behaviour'>
      <toggle name='menu_quick' label='File menu on right-click'>Show the File menu instead of the main menu when right-clicking with files selected (the main menu can be accessed by holding down Control).</toggle>
      <spacer/>
      <entry name='menu_xterm' label="Terminal emulator program">The program to launch when you choose `Terminal Here' from the menu.</entry>
    </frame>
    <frame label='Keyboard shortcuts'>
      <menu-set-keys/>
    </frame>
  </section>
	<section title='Colours'>
      <frame label='File type colours'>
        <toggle name='display_colour_types' label='Colour files based on their types'>Filenames (and details) are coloured according to the file's type.</toggle>
	<spacer/>
        <hbox>
          <vbox>
            <colour name='display_dir_colour'  label='Directory:'/>
            <colour name='display_file_colour' label='Regular file:'/>
            <colour name='display_pipe_colour' label='Pipe:'/>
            <colour name='display_sock_colour' label='Socket:'/>
            <colour name='display_err_colour'  label='Error:'>Error, such as a symlink which points to a non-existant file, or a file which the filer does not have permission to examine.</colour>
          </vbox>
	  <spacer/>
          <vbox>
            <colour name='display_cdev_colour' label='Character device:'/>
            <colour name='display_bdev_colour' label='Block device:'/>
            <colour name='display_door_colour' label='Door:'>Door files are a bit like sockets or pipes, and have only been seen on Solaris.</colour>
            <colour name='display_exec_colour' label='Executable file:'/>
            <colour name='display_adir_colour' label='Application directory:'/>
            <colour name='display_unkn_colour' label='Unknown type:'/>
          </vbox>
        </hbox>
      </frame>

		<frame label='Background colour'>
			<hbox>
				<toggle name='use_background_colour' label='Use custom background colour:'></toggle>
				<colour name='background_colour' label=''/>
			</hbox>
			<spacer/>
			<hbox>
				<numentry name='view_alpha' label='Transparency:' unit='%' min='0' max='100' width='3'>
				This depends on your environment. Basically if your windows have shadows, then they can also be transparent.
				</numentry>
			</hbox>
		</frame>
    </section>
  <section title='Compatibility'>
    <frame label='Command line program'>
      <make-script label='Make script'/>
    </frame>
    <frame label='Drag and drop'>
      <toggle name='dnd_no_hostnames' label="Don't use hostnames">Some older applications don't support XDND fully and may need to have this option turned on. Use this if dragging files to an application shows a + sign on the pointer but the drop doesn't work.</toggle>
    </frame>

	<frame label='etc'>
		<toggle name='fast_font_calc' label='Fast width calculating'>
			If this is on, string width calculations will be faster but less accurate in Small Icons mode.
		</toggle>
		<toggle name='purge_dir_cache' label='Purge Dir Cache'>
			Don't check this if you haven't problems with RAM.
		</toggle>
		<toggle name='auto_move' label="Take control of window move on auto-resize">
			When this is on, rox rather than the window manager, handles window move. When this is off, pointer warp on auto-move is disabled.</toggle>
		<hbox>
			<numentry name='bottom_gap' label='Bottom gap:' unit='pixels' min='-99' max='999' width='3'>For the overridden auto-move in the auto-resize and the display settings.</numentry>
			<spacer/>
			<numentry name='right_gap' label='Right gap:' unit='pixels' min='-99' max='999' width='3'>For the overridden auto-move in the auto-resize and the display settings.</numentry>
		</hbox>
		<toggle name='disable_pointer_warp' label='Disable pointer warp'>
			Check this if you don't want your mouse pointer to be moved on window shrink/auto-move.
		</toggle>
	</frame>
  </section>
</options>
