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
..._fields
is a list of fields to be displayed, each
field is represented by a dollar sign followed by a single character:
$a | time/date of last access |
$d | time/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 |
$i | time/date of last inode change |
$l | number of hard links |
$L |
LNK mark displayed if there are multiple hard links, otherwise this field is blank |
$m | file 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) |
$o | owner (user:group) |
$p | file mode as a string of permission bits |
$P | like $p , but blank for normal file modes |
$s ,$r |
file size:
|
$S ,$R |
like $s and $r , but blank for directories |
$t | type 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 LAYOUT
s can be altered and one of them is selected with the LAYOUT_ACTIVE
configuration parameter to act as the file panel layout.
$d $s
- aligned to the rightmtime=$d size=$s
- aligned to the left$*
if you accept the
highlighting as a sufficient indicator.
$L
field is left blank for all directories as they always have multiple hard links.