📄 zgv.texi
字号:
@kindex Alt-t (Selector)@itemx Alt-tSort by last-modified date/time. The newest files are listed last.@kindex Alt-e (Selector)@item Alt-eSort by extension.@end table@node File Selector Toggles, Other File Sel Commands, Changing the Sorting Order, The File Selector@comment node-name, next, previous, up@section File Selector Toggles@cindex file selector toggles@cindex file selector, run-time configuration of@cindex file selector, options in@cindex options in file selector@cindex thumbnails, toggling display of@cindex scrollbar, toggling@cindex slideshows, toggling randomised@cindex slideshows, toggling looping@cindex listing files without extensions@cindex extensions, listing files without@cindex magic number, listing files based onVarious aspects of the file selector's behaviour can be configured whilezgv is running, by using these toggle commands (which enable the featureif it was previously disabled, and vice versa).These settings can also be altered using command-line options(@pxref{Invoking zgv}) and/or config file settings (@pxref{Configuringzgv}).@table @kbd@kindex v (Selector)@item vToggle display of thumbnails (default is on). The without-thumbnailsdisplay can sometimes be useful for navigating around large directories(many filenames are shown onscreen at once), and it is of course faster.@kindex s (Selector)@item sToggle scrollbar on/off (default is on). The scrollbar shows which partand which proportion of the list is currently being shown onscreen, andwhen mouse support is enabled can be used to move around the list.@kindex S (Selector)@itemx SToggle shuffling (randomising) of slideshows. @xref{Slideshows}.@kindex L (Selector)@item LToggle looping in slideshows. @xref{Slideshows}.@kindex Alt-m (Selector)@item Alt-mToggle use of `magic numbers' (identifiers at the start of a file) topick which files in a directory to list in the selector. The usualmethod of doing this is based on the file's extension (@pxref{File TypeIdentification}, which is much faster but won't catch e.g. files withoutextensions.@kindex c (Selector)@item cIf the file selector is running in 16-colour mode (it usually doesn'tunless zgv has no choice --- @pxref{16-colour File Selector}), togglebetween greyscale (default) and colour thumbnails.@end table@node Other File Sel Commands, Showing More Files, File Selector Toggles, The File Selector@comment node-name, next, previous, up@section Other File Sel Commands@c since this section is a vague compendium of stuff, we have index@c entries for each bit.@c delete@cindex deleting a file@cindex file, deleting a@c colon@cindex file, showing full filename of@cindex showing a full filename@cindex complete filename, showing a@cindex entire filename, showing an@cindex file, showing size of@cindex showing the size of a file@cindex size, showing a file's@cindex file, showing date/time of@cindex date, showing a file's@cindex time, showing a file's@cindex mtime, showing a file's@cindex last-modified date/time, showing a file's@cindex permissions, showing a file's@cindex owner, showing a file's@c ^L@cindex directory, rereading@cindex rereading a directory@cindex scanning a directory again@c K@cindex disabling mouse@cindex turning off the mouse@cindex pointer, removing the mouse@cindex killing mouse@cindex mouse, disabling@c Alt-f@cindex file count@cindex showing the number of files@cindex displaying the number of files@cindex number of files, showing the@cindex tagged files, showing number of@c XXX this intro bit is clunky as hell!There are some other commands in the file selector which don't easilyfit anywhere else. Here they are:@table @kbd@kindex Delete (Selector)@item DeleteDelete (only) the file the cursor is on. Asks for confirmation (unlessthis is disabled, @pxref{Configuring zgv}). It also deletes the file'sthumbnail, if it has one. @xref{Copying/Moving/Deleting Files}, for amore general command which deletes all tagged files.@c Since colons aren't allowed in index entries, saying `Colon' is@c pretty much the best I can do. :-/@c NB: the listing of `;' in body text rather than as an itemx is@c *deliberate* - I'd rather not encourage using that, as it's not@c consistent across the selector and viewer (while `:' is).@c@kindex colon (Selector)@item :@kindex ; (Selector)Show various details about the file the cursor is on; the (full)filename, the size in kilobytes, width/height if recorded in anythumbnail, last-modified date, etc. You can also use the @kbd{;} key toget this.@kindex Alt-f (Selector)@item Alt-fShow the number of (picture) files in the current directory, and thenumber of tagged files (@pxref{Tagging}).@kindex ^L (Selector)@item ^L@kindex ^R (Selector)@itemx ^RRescan the directory contents, and redraw the screen.@kindex K (Selector)@item KKill mouse --- disable mouse for the rest of this zgv session. (Itprompts to check if you really want to do so.) This can be useful if youhave the mouse enabled in a config file, so that zgv always starts upwith the mouse on, but you're currently using just the keyboard. In sucha situation the mouse pointer can be a bit annoying. This command letsyou disable the mouse completely for the current zgv process.@end table@node Showing More Files, 16-colour File Selector, Other File Sel Commands, The File Selector@comment node-name, next, previous, up@section Showing More Files@c This is a tough concept to get a firm hold of, so we cover an absurd@c number of bases here. :-)@c@c these go for a `more files' approach:@cindex file selector, showing more files in the@cindex file selector, video modes in the@cindex showing more files in the selector@cindex more files in the selector, showing@c these talk about video modes:@cindex selector video modes@cindex video modes in the selector@cindex modes in selector, video@cindex screen, resolution of selector@cindex display, resolution of selectorThe file selector normally runs at a relatively low resolution(640x480), meaning it can only show 20 thumbnails at once. This keepsthe selector running at a reasonable speed even on slow machines.If you have a faster machine, however, and your video card has256-colour modes with higher resolutions than 640x480 (@pxref{VideoModes}), you may want to see more thumbnails onscreen at once.(zgv tends not to look as `right' in such modes as it does in the usual640x480, but apart from that it's much the same.)@table @kbd@kindex F1 (Selector)@item F1Select 640x480 mode. This is the default.@kindex F2 (Selector)@item F2Select 800x600 mode.@kindex F3 (Selector)@item F3Select 1024x768 mode.@kindex F4 (Selector)@item F4Select 1280x1024 mode.@end tableIf you want to change the default mode used in the file selector, usethe @samp{fs-start-mode} config file setting (@pxref{Configuring zgv}).For example, to use 800x600 by default, you'd use @samp{fs-start-mode800 600 8}.Note these modes are subject to the same checks as in the viewer --- inparticular, this means that the file selector obeys the viewer's@samp{mode-good}, @samp{mode-bad}, etc. settings. @xref{ConfigVariables}.Finally, if you have no 640x480 256-colour mode, or if@samp{force-fs-16col} has been set, the 640x480 16-colour mode is allthat is available.@node 16-colour File Selector, , Showing More Files, The File Selector@comment node-name, next, previous, up@section 16-colour File Selector@c the most obvious thing people will notice about a 16-col selector is@c that it's (by default) grey, so most of these concentrate on that.@cindex file selector, generic VGA@cindex file selector, 16-colour@cindex file selector, monochrome@cindex file selector, grey@cindex 16-colour file selector@cindex file selector, monochrome@cindex monochrome file selector@cindex black-and-white file selector@cindex grey file selectorThe file selector normally operates in a 256-colour mode (by default,the 640x480 one). However, the original VGA cards didn't have this mode,and SVGA cards not supported by svgalib won't have it as far as zgv isconcerned either.For such cards, zgv supports a more limited and slower file selectorwhich works in 640x480 16-colour mode. It should be easy to tell whichzgv is using --- if thumbnails appear in monochrome rather than colour(and the files are colour pictures ;-)) then it's running in 16-colourmode. (Another hint is that 16-colour mode has an extra border aroundthe edge of the screen which 256-colour mode probably won't have.)As you might imagine, having 240 fewer colours makes things difficult.The default way of coping with this is the greyscale thumbnails (elevengrey levels are used), which are reasonably fast and quite faithful tothe originals. If you'd prefer less accurate --- but colour ---thumbnails (eight colours are used, with dithering and increasedcontrast), you can press @kbd{c} to toggle between the two, or set zgvup to default to using colour thumbnails instead with@samp{fs-16col-colour-thumbnails on} in a config file(@pxref{Configuring zgv}).(For those of you out there who have a 640x480 256-colour mode, but feelyou're missing out by not seeing this 16-colour file selector :-), youcan force zgv to use it by using the @samp{--force-fs-16col} option.)@node The Viewer, xzgv Compatibility, The File Selector, Top@comment node-name, next, previous, up@chapter The Viewer@cindex the viewer@cindex using the viewer@cindex viewer, using theWhen a picture is being shown onscreen, you're in the viewer. Thissection describes what you can do while viewing the picture.@menu* Exiting the Viewer:: Usually returns you to the file selector.* Big Pictures:: Scrolling, zoom mode, and auto-mode-fit.* Scaling:: Making the picture appear larger.* Mirror and Rotate:: Distorting your sense of reality on a budget.* Brightness and Contrast:: You can have zgv alter the picture to change the brightness or contrast.* Gamma Adjustment:: If a picture looks unexpectedly dark or bright, chances are you need to tweak this.* Increased Greyscales:: Normally, zgv tries to fake some extra greyscales.* Changing Picture:: You can change the currently-viewed picture without returning to the file selector.* File Details:: Seeing the file's name, size, etc.* Pausing Slideshows:: You can temporarily stop a slideshow.* Multiple-image GIF Animation:: Now you too can have digitised flip books in your very own home.* Video Modes:: The pixels that make up the displayed picture can have different physical sizes and `depths'; change video mode to change these attributes.@end menu@node Exiting the Viewer, Big Pictures, The Viewer, The Viewer@comment node-name, next, previous, up@section Exiting the Viewer@cindex exiting the viewer@cindex quitting the viewer@cindex leaving the viewer@cindex returning to file selector@cindex file selector, returning toExiting the viewer is simple:@table @kbd@kindex Esc (Viewer)@item Esc@kindex x (Viewer)@itemx xExit the viewer.If you got to the viewer from the file selector, you're returned there;if you bypassed the file selector (by running zgv with a file (or files)to view specified on the command-line --- @pxref{Invoking zgv}) thenexiting the viewer also exits zgv.@end table@node Big Pictures, Scaling, Exiting the Viewer, The Viewer@comment node-name, next, previous, up@section Big Pictures@cindex dealing with big pictures@cindex pictures, big@cindex large pictures@cindex big pictures@cindex small screen, coping with aA picture may well be too large to fit entirely on the screen. There aretwo general ways to see the whole of the picture, and in addition tothose, you may be able to fit more on by choosing a different video mode(@pxref{Video Modes}), either manually or by using auto-mode-fit.(For multi-resolution Photo-CD files, there is yet another alternativeapproach (@pxref{Supported File Formats}).)@menu* Scrolling:: Moving around the picture.* Zoom Mode:: Fitting the picture to the screen.* Auto-mode-fit:: Automated video mode switching.@end menu@node Scrolling, Zoom Mode, Big Pictures, Big Pictures@comment node-name, next, previous, up@subsection Scrolling@cindex scrolling@cindex panning@cindex viewer, scrolling in the@cindex picture, moving around a@cindex viewer, moving around in the@cindex moving around the pictureScrolling is the default approach to handling big pictures in zgv. Whenthe viewer is started up, the top-left of the
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -