Table of Contents

Configuring the file panel layout

The file panel layout can be configured to match individual needs. The LAYOUT parameter is a string of the form:

file_panel_fields|info_line_fields
where ..._fields is a list of fields to be displayed, each field is represented by a dollar sign followed by a single character:
$atime/date of last access
$dtime/date of last modification
$g file age, i.e. the time elapsed since the last modification is displayed for files not older than 100 hours
$itime/date of last inode change
$lnumber of hard links
$L LNK mark displayed if there are multiple hard links, otherwise this field is blank
$mfile mode as an octal number
$M like $m, but blank for normal file modes (i.e. mode 0666 or 0777 with umask value bits cleared)
$oowner (user:group)
$pfile mode as a string of permission bits
$Plike $p, but blank for normal file modes
$s,$r file size:
  • $r - short form, up to 3 digits
  • $s - long form, up to 7 digits
Note: only one form may appear in a layout.
$S,$R like $s and $r, but blank for directories
$ttype of file
$>-> is displayed for symbolic links
$*selection mark
$$literal dollar sign $
$|literal vertical bar |

The filename is always displayed after all defined file panel fields.

Normal text can be inserted into the list of fields as well, e.g.:

links:$l mode:$m
$m($p)

There are three predefined layouts in the standard configuration. LAYOUT1 is detailed, LAYOUT2 is brief, and the LAYOUT3 is similar to the ls -l output:

LAYOUT1 $d $S $>$t $M $*|$p $o $L
LAYOUT2 $d $R $t $*|$p $o
LAYOUT3 $p $o $s $d $>$t $*|mode=$m atime=$a ctime=$i links=$l

All three LAYOUTs can be altered and one of them is selected with the LAYOUT_ACTIVE configuration parameter to act as the file panel layout.


Notes: