ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/CV/README
(Generate patch)

Comparing CV/README (file contents):
Revision 1.7 by root, Sun Jan 27 16:49:40 2008 UTC vs.
Revision 1.13 by root, Thu Jul 15 00:41:44 2021 UTC

1NAME 1NAME
2 cv - a fast gtk+ image viewer loosely modeled after XV 2 cv - a fast gtk+ image viewer loosely modeled after XV
3 3
4SYNOPSIS 4SYNOPSIS
5 cv [file...] 5 cv
6
7 cv directory
8
9 cv path...
10
11 cv -g <glob expression...>
12
13 find .. -print0 | cv -0r
6 14
7FEATURES 15FEATURES
8 CV is supposed to work similar to the venerable XV image viewer, just 16 CV is supposed to work similar to the venerable XV image viewer, just
9 faster. Why faster? 17 faster. Why faster?
10 18
97 You can use the following keys in the image window: 105 You can use the following keys in the image window:
98 106
99 q quit the program 107 q quit the program
100 < half the image size 108 < half the image size
101 > double the image size 109 > double the image size
102 , shrink the image by 10% 110 , shrink the image by ~9% (opposite of .)
103 . enlarge the image by 10% 111 . enlarge the image by 10%
104 n reset to normal size 112 n reset to normal size
105 m maximize to screensize 113 m maximize to screensize
106 M maximize to screensize, respecting image aspect 114 M maximize to screensize, respecting image aspect
107 ctrl-m toggle maxpect-always mode 115 ctrl-m toggle maxpect-always mode
108 ctrl-sift-m toggle using current image size as max image size 116 ctrl-sift-m toggle using current image size as max image size
109 u uncrop 117 u uncrop
110 r set scaling mode to 'nearest' (fastest) 118 r set scaling mode to 'nearest' (fastest)
111 s set scaling mode to 'bilinear' (default) 119 s set scaling mode to 'bilinear' (default)
112 shift-s set scaling mode to 'hyper' (slowest)
113 t rotate clockwise 90° 120 t rotate clockwise 90°
114 T rotate counterclockwise° 121 T rotate counterclockwise°
115 a apply all rotations loslessly to a jpeg file (using exiftran) 122 a apply all rotations loslessly to a jpeg file (using exiftran)
123 ctrl-shift-t apply current rotation for future image loads
116 ctrl-v open a new visual schnauzer window for the current dir 124 ctrl-v open a new visual schnauzer window for the current dir
117 ctrl-c clone the current image window 125 ctrl-c clone the current image window
118 ctrl-e run an editor ($CV_EDITOR or "gimp") on the current image 126 ctrl-e run an editor ($CV_EDITOR or "gimp") on the current image
119 ctrl-p fire up the print dialog 127 ctrl-p fire up the print dialog
128 ctrl-shift-p same as ctrl-p, but automatically selects "ok"
120 escape cancel a crop action 129 escape cancel a crop action
121 130
122 And when playing movies, these additional keys are active: 131 And when playing movies, these additional keys are active:
123 132
124 left rewind by 10 seconds 133 left rewind by 10 seconds
160 end move to last file 169 end move to last file
161 170
162 ctrl-a select all files 171 ctrl-a select all files
163 ctrl-shift-a select all files currently displayed in the schnauzer window 172 ctrl-shift-a select all files currently displayed in the schnauzer window
164 ctrl-d delete selected files WITHOUT ASKING AGAIN 173 ctrl-d delete selected files WITHOUT ASKING AGAIN
165 ctrl-g force generation of thumbnais for the selected files 174 ctrl-g force generation of thumbnails for the selected files
175 ctrl-shift-g remove thumbnails for the selected files
166 ctrl-s rescan current direcory or files updates/deletes etc. 176 ctrl-s rescan current direcory or files updates/deletes etc.
167 ctrl-u update selected (or all) icons if neccessary 177 ctrl-u update selected (or all) icons if neccessary
168 ctrl-l don't use, will become a plug-in eventually 178 ctrl-- unselected thumbnailed images
179 ctrl-+ keep only thumbnailed images, deselect others
169 180
170 ^ go to parent directory (caret). 181 ^ go to parent directory (caret).
171 182
172 0-9, 183 0-9,
173 a-z find the first filename beginning with this letter 184 a-z find the first filename beginning with this letter
214 or require "/fs/cv/cvplugin.pl"; 225 or require "/fs/cv/cvplugin.pl";
215 226
216 This will load a plug-in, but only if the machine *ether* is reachable 227 This will load a plug-in, but only if the machine *ether* is reachable
217 (supposedly the plug-in is networked in some way :). 228 (supposedly the plug-in is networked in some way :).
218 229
219ENVIRONMENT 230ENVIRONMENT VARIABLES
220 CV_EDITOR 231 CV_EDITOR
221 The program that gets executed when the user presses "CTRL-e" in the 232 The program that gets executed when the user presses "CTRL-e" in the
222 Schnauzer or image window. The default is "gimp". 233 Schnauzer or image window. The default is "gimp".
223 234
224 CV_AUDIO_PLAYER 235 CV_AUDIO_PLAYER
236 EXPERIMENTAL: audio playback is now via mpv, this variable is
237 currently ignored.
238
225 Program used to play all sorts of audio (wav, aif, mp3, ogg...), 239 Program used to play all sorts of audio (wav, aif, mp3, ogg...),
226 default "play". Will be called like "$CV_AUDIO_PLAYER -- <path>". 240 default "play". Will be called like "$CV_AUDIO_PLAYER -- <path>".
227 241
242 CV_MPLAYER
243 Program used to play all sorts of video files. Unlike
244 "CV_AUDIO_PLAYER", this really must be some version of the "mpv"
245 programs, or something that is very command-line compatible to them.
246
247 Note: for video-thumbnailing, mplayer is still used (and hardcoded).
248
228 CV_PRINT_DESTINATION 249 CV_PRINT_DESTINATION
229 The default (perl-style) destination to use in the print dialog. 250 The default (perl-style) destination to use in the print dialog.
230 251
231 CV_TRASHCAN 252 CV_TRASHCAN
232 When set, must point to a directory where all files that are deleted 253 When set, must point to a directory where all files that are deleted
233 are moved to. If unset, files that are deleted are really being 254 by the "Delete Physically" (ctrl-d) action are moved to (other
234 deleted. 255 deletion actions still delete!). If unset, files that are deleted
256 are really being deleted.
257
258SIGNALS
259 Sending CV a SIGUSR1 signal will cause all image viewers to reload the
260 currently loaded image. This is useful if you use CV as a viewer for
261 changing data - just run it in the background with some path and each
262 time the image changes, send it a SIGUSR1.
235 263
236SECURITY CONSIDERATIONS 264SECURITY CONSIDERATIONS
237 CV uses Pixbuf to load non-JPEG images. Pixbuf is not considered safe 265 CV uses Pixbuf to load non-JPEG images. Pixbuf is not considered safe
238 for this purpose, though (from the gtk-2.2 release notes): 266 for this purpose, though (from the gtk-2.2 release notes):
239 267

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines