diff options
author | Bert <ber.t@gmx.com> | 2011-04-11 08:52:07 +0200 |
---|---|---|
committer | Bert <ber.t@gmx.com> | 2011-04-11 08:52:07 +0200 |
commit | bac610ddc486fba1f6d40cd5a9a95fbb2bc6c8e5 (patch) | |
tree | c8f678d0a0926c30cd211807b1aa2f3c612304fc /sxiv.1 | |
parent | b2f1b997ed60a40ffb9c0964ed0716c375b30072 (diff) | |
parent | dd9e5dabb155fb9bb06d5a8e5fd6717df1751762 (diff) |
Merge branch 'tcache'
Conflicts:
main.c
Diffstat (limited to 'sxiv.1')
-rw-r--r-- | sxiv.1 | 25 |
1 files changed, 24 insertions, 1 deletions
@@ -3,7 +3,7 @@ sxiv \- Simple (or small or suckless) X Image Viewer .SH SYNOPSIS .B sxiv -.RB [ \-adFfhpqrstvZ ] +.RB [ \-aCdFfhpqrstvZ ] .RB [ \-g .IR GEOMETRY ] .RB [ \-z @@ -24,6 +24,9 @@ sxiv has two modes of operation: image and thumbnail mode. The default is image mode, in which only the current image is shown. In thumbnail mode a grid of small previews is displayed, making it easy to choose an image to open. .P +sxiv can also cache its thumbnails. Please see the section THUMBNAIL CACHING +for information on how to enable this feature. +.P Please note, that the fullscreen mode requires an EWMH/NetWM compliant window manager. .SH OPTIONS @@ -33,6 +36,9 @@ Display all given files, do not filter out unsupported files. This might result in a much shorter startup time, when the file list is very long or contains large files of slow loadable types, e.g. gif and progressive jpg. .TP +.B \-C +Remove all orphaned cache files from the thumbnail cache directory and exit. +.TP .B \-d Scale all images to 100%, but fit large images into window. .TP @@ -191,6 +197,23 @@ Pan image left. .TP .B Shift+ScrollDown Pan image right. +.SH THUMBNAIL CACHING +To enable thumbnail caching, please make sure to create the directory +.I ~/.sxiv/ +with write permissions. sxiv will then store all thumbnails inside this +directory, but it will not create this directory by itself. It rather uses the +existance of this directory as an affirmation, that the user wants thumbnails +to be cached. +.P +Use the command line option +.I \-C +to keep the cache directory clean by removing all orphaned cache files. +Additionally, run the following command afterwards inside the cache directory +to remove empty subdirectories: +.P +.RS +find -type d -empty -delete +.RE .SH AUTHORS .EX Bert Muennich <ber.t at gmx.com> |