Bug fix: Set geometry of additional windows
[geeqie.git] / doc / docbook / GuideReferenceCommandLine.xml
1 <?xml version="1.0" encoding="utf-8"?>\r
2 <section id="GuideReferenceCommandLine">\r
3   <title>Command Line Options</title>\r
4   <para>\r
5     Geeqie is called by the command:\r
6     <programlisting>\r
7       geeqie [options] [path_to_file_or_collection]\r
8       <footnote id='ref1'>The name of a collection, with or without either path or extension (.gqv) may be used. If a path is not used and there is a name conflict with a file or folder, that will take precedence.</footnote>\r
9     </programlisting>\r
10   </para>\r
11   <para>You may also use a URL as a filename. The file will be downloaded to a temporary file and displayed.</para>\r
12   <para>These are the command line options available to Geeqie:</para>\r
13   <table frame="all">\r
14     <tgroup cols="3" rowsep="1" colsep="1">\r
15       <thead rowsep="1" colsep="1">\r
16         <row>\r
17           <entry>Short Option</entry>\r
18           <entry>Long Option</entry>\r
19           <entry>Description</entry>\r
20         </row>\r
21       </thead>\r
22       <tbody rowsep="1" colsep="1">\r
23         <row>\r
24           <entry>+t</entry>\r
25           <entry>--with-tools</entry>\r
26           <entry>Show file list, menu, and statusbar.</entry>\r
27         </row>\r
28         <row>\r
29           <entry>-t</entry>\r
30           <entry>--without-tools</entry>\r
31           <entry>Hide file list, menu, and statusbar. Window contains image only.</entry>\r
32         </row>\r
33         <row>\r
34           <entry>-f</entry>\r
35           <entry>--fullscreen</entry>\r
36           <entry>Start up in fullscreen.</entry>\r
37         </row>\r
38         <row>\r
39           <entry>-s</entry>\r
40           <entry>--slideshow</entry>\r
41           <entry>Start up in slideshow mode.</entry>\r
42         </row>\r
43         <row>\r
44           <entry>-l [filelist] [collectionlist]</entry>\r
45           <entry>--list [filelist] [collectionlist]</entry>\r
46           <entry>Open collection window containing images specified on the command line. Any collections on the command line will also be appended to this collection.</entry>\r
47         </row>\r
48         <row>\r
49           <entry />\r
50           <entry>--blank</entry>\r
51           <entry>Start with file list blank.</entry>\r
52         </row>\r
53         <row>\r
54           <entry />\r
55           <entry>--geometry=&lt;w&gt;x&lt;h&gt;+&lt;x&gt;+&lt;y&gt;</entry>\r
56           <entry>Set the &lt;width&gt; &lt;height&gt; &lt;xoffset&gt; &lt;yoffset&gt; of the window. The parameters are in pixels.</entry>\r
57         </row>\r
58         <row>\r
59           <entry>-n</entry>\r
60           <entry>--new-instance</entry>\r
61           <entry>Open a new instance of Geeqie.</entry>\r
62         </row>\r
63         <row>\r
64           <entry>-r</entry>\r
65           <entry>--remote</entry>\r
66           <entry>Send command line options to existing Geeqie process.</entry>\r
67         </row>\r
68         <row>\r
69           <entry>-rh</entry>\r
70           <entry>--remote-help</entry>\r
71           <entry>List command line options available to --remote.</entry>\r
72         </row>\r
73         <row>\r
74           <entry>-h</entry>\r
75           <entry>--help</entry>\r
76           <entry>Display brief command line option list.</entry>\r
77         </row>\r
78         <row>\r
79           <entry>-v</entry>\r
80           <entry>--version</entry>\r
81           <entry>Display version of Geeqie.</entry>\r
82         </row>\r
83         <row>\r
84           <entry />\r
85           <entry>--debug[=&lt;level&gt;]</entry>\r
86           <entry>Turn on debugging output (when compiled with Debug enabled). &lt;level&gt; is 0 to 4.</entry>\r
87         </row>\r
88         <row>\r
89           <entry>-g:&lt;regexp&gt;</entry>\r
90           <entry>--grep:&lt;regexp&gt;</entry>\r
91           <entry>Filter debug output with regular expression</entry>\r
92         </row>\r
93         <row>\r
94           <entry>+w</entry>\r
95           <entry>--show-log-window</entry>\r
96           <entry>Display log window</entry>\r
97         </row>\r
98         <row>\r
99           <entry>-o:&lt;file&gt;</entry>\r
100           <entry>--log-file:&lt;file&gt;</entry>\r
101           <entry>Save log data to file</entry>\r
102         </row>\r
103         <row>\r
104           <entry />\r
105           <entry>--alternate</entry>\r
106           <entry>Use alternate similarity algorithm - experimental - requires re-compile.</entry>\r
107         </row>\r
108       </tbody>\r
109     </tgroup>\r
110   </table>\r
111   <para />\r
112   <section id="Remotecommands">\r
113     <title>Remote commands</title>\r
114     <para>The --remote command line option will send all entered commands to an existing Geeqie process, a new process will be started if one does not exist. These are the additional commands that can be used with the remote command:</para>\r
115     <table frame="all">\r
116       <tgroup cols="3" rowsep="1" colsep="1">\r
117         <thead rowsep="1" colsep="1">\r
118           <row>\r
119             <entry>Short Option</entry>\r
120             <entry>Long Option</entry>\r
121             <entry>Description</entry>\r
122           </row>\r
123         </thead>\r
124         <tbody>\r
125           <row>\r
126             <entry>-n</entry>\r
127             <entry>--next</entry>\r
128             <entry>Change main window to display next image.</entry>\r
129           </row>\r
130           <row>\r
131             <entry>-b</entry>\r
132             <entry>--back</entry>\r
133             <entry>Change main window to display previous image.</entry>\r
134           </row>\r
135           <row>\r
136             <entry />\r
137             <entry>--first</entry>\r
138             <entry>Change main window to display first image.</entry>\r
139           </row>\r
140           <row>\r
141             <entry />\r
142             <entry>--last</entry>\r
143             <entry>Change main window to display last image.</entry>\r
144           </row>\r
145           <row>\r
146             <entry>-f</entry>\r
147             <entry>--fullscreen</entry>\r
148             <entry>Toggle full screen mode of the main window.</entry>\r
149           </row>\r
150           <row>\r
151             <entry>-fs</entry>\r
152             <entry>--fullscreen-start</entry>\r
153             <entry>Start full screen mode for main window.</entry>\r
154           </row>\r
155           <row>\r
156             <entry>-fS</entry>\r
157             <entry>--fullscreen-stop</entry>\r
158             <entry>Stop full screen mode for main window.</entry>\r
159           </row>\r
160           <row>\r
161             <entry>-s</entry>\r
162             <entry>--slideshow</entry>\r
163             <entry>Toggle slide show for main window.</entry>\r
164           </row>\r
165           <row>\r
166             <entry>-ss</entry>\r
167             <entry>--slideshow-start</entry>\r
168             <entry>Start slide show for main window.</entry>\r
169           </row>\r
170           <row>\r
171             <entry>-sS</entry>\r
172             <entry>--slideshow-stop</entry>\r
173             <entry>Stop slide show for main window.</entry>\r
174           </row>\r
175           <row>\r
176             <entry />\r
177             <entry>--slideshow-recurse:&lt;folder&gt;</entry>\r
178             <entry>Start recursive slide show for &lt;folder&gt; in main window.</entry>\r
179           </row>\r
180           <row>\r
181             <entry>-d&lt;[h:][m:][n][.m]&gt;</entry>\r
182             <entry>--delay=&lt;[h:][m:][n][.m]&gt;</entry>\r
183             <entry>Set slide show delay to &lt;[hrs:][mins:][n][.m]&gt; seconds, range is 0.1 secs to 24 hours</entry>\r
184           </row>\r
185           <row>\r
186             <entry>+t</entry>\r
187             <entry>--tools-show</entry>\r
188             <entry>Show tools for main window.</entry>\r
189           </row>\r
190           <row>\r
191             <entry>-t</entry>\r
192             <entry>--tools-hide</entry>\r
193             <entry>Hide tools for main window.</entry>\r
194           </row>\r
195           <row>\r
196             <entry>-q</entry>\r
197             <entry>--quit</entry>\r
198             <entry>Quit Geeqie.</entry>\r
199           </row>\r
200           <row>\r
201             <entry />\r
202             <entry>--config-load:&lt;file&gt;|layout ID</entry>\r
203             <entry>Load configuration from &lt;file&gt;. Use either a full path, or a saved window layout ID.</entry>\r
204           </row>\r
205           <row>\r
206             <entry />\r
207             <entry>--get-sidecars:&lt;file&gt;</entry>\r
208             <entry>Get list of sidecars of &lt;file&gt;.</entry>\r
209           </row>\r
210           <row>\r
211             <entry />\r
212             <entry>--get-destination:&lt;file&gt;</entry>\r
213             <entry>Get destination path of &lt;file&gt;. This is used by the symlink desktop file to implement the symbolic link operation. There is no useful function for the user.</entry>\r
214           </row>\r
215           <row>\r
216             <entry />\r
217             <entry>file:&lt;file&gt;|&lt;URL&gt;</entry>\r
218             <entry>Open  &lt;file&gt; or &lt;URL&gt; and bring Geeqie window to the top</entry>\r
219           </row>\r
220           <row>\r
221             <entry />\r
222             <entry>--file:&lt;file&gt;|&lt;URL&gt;</entry>\r
223             <entry>Open  &lt;file&gt; or &lt;URL&gt; and bring Geeqie window to the top</entry>\r
224           </row>\r
225           <row>\r
226             <entry />\r
227             <entry>File:&lt;file&gt;|&lt;URL&gt;</entry>\r
228             <entry>Open  &lt;file&gt; or &lt;URL&gt; and do not bring Geeqie window to the top</entry>\r
229           </row>\r
230           <row>\r
231             <entry />\r
232             <entry>--File:&lt;file&gt;|&lt;URL&gt;</entry>\r
233             <entry>Open  &lt;file&gt; or &lt;URL&gt; and do not bring Geeqie window to the top</entry>\r
234           </row>\r
235           <row>\r
236             <entry />\r
237             <entry>--tell</entry>\r
238             <entry>Print filename [and Collection] of current image</entry>\r
239           </row>\r
240           <row>\r
241             <entry />\r
242             <entry>--pixel-info</entry>\r
243             <entry>Print X, Y and RGB of mouse pointer on current image</entry>\r
244           </row>\r
245           <row>\r
246             <entry />\r
247             <entry>view:&lt;file&gt;</entry>\r
248             <entry>Open new window containing &lt;file&gt;</entry>\r
249           </row>\r
250           <row>\r
251             <entry />\r
252             <entry>--view:&lt;file&gt;</entry>\r
253             <entry>Open new window containing &lt;file&gt;</entry>\r
254           </row>\r
255           <row>\r
256             <entry />\r
257             <entry>--list-clear</entry>\r
258             <entry>Clear command line collection list</entry>\r
259           </row>\r
260           <row>\r
261             <entry />\r
262             <entry>--list-add:&lt;file&gt;</entry>\r
263             <entry>Add &lt;file&gt; to command line collection list</entry>\r
264           </row>\r
265           <row>\r
266             <entry />\r
267             <entry>raise</entry>\r
268             <entry>Bring the geeqie window to the top</entry>\r
269           </row>\r
270           <row>\r
271             <entry />\r
272             <entry>--raise</entry>\r
273             <entry>Bring the geeqie window to the top</entry>\r
274           </row>\r
275           <row>\r
276             <entry />\r
277             <entry>--id:&lt;ID&gt;</entry>\r
278             <entry>\r
279               Window ID for following commands\r
280               <footnote id='ref3'>\r
281                 <para>The ID is shown in the titlebar of the window. If multiple windows are open, it can be used to direct commands to a particular window e.g. --remote --id:main --tell</para>\r
282               </footnote>\r
283             </entry>\r
284           </row>\r
285           <row>\r
286             <entry />\r
287             <entry>--new-window</entry>\r
288             <entry>Open new window</entry>\r
289           </row>\r
290           <row>\r
291             <entry />\r
292             <entry>--close-window</entry>\r
293             <entry>Close window</entry>\r
294           </row>\r
295           <row>\r
296             <entry />\r
297             <entry>--geometry=&lt;w&gt;x&lt;h&gt;+&lt;x&gt;+&lt;y&gt;</entry>\r
298             <entry>Set the &lt;width&gt; &lt;height&gt; &lt;xoffset&gt; &lt;yoffset&gt; of the window. The parameters are in pixels.</entry>\r
299           </row>\r
300           <row>\r
301             <entry>-ct:clear|clean</entry>\r
302             <entry>--cache-thumbs:clear|clean</entry>\r
303             <entry>clear or clean thumbnail cache</entry>\r
304           </row>\r
305           <row>\r
306             <entry>-cs:clear|clean</entry>\r
307             <entry>--cache-shared:clear|clean</entry>\r
308             <entry>clear or clean shared thumbnail cache</entry>\r
309           </row>\r
310           <row>\r
311             <entry>-cm</entry>\r
312             <entry>--cache-metadata</entry>\r
313             <entry>clean the metadata cache</entry>\r
314           </row>\r
315           <row>\r
316             <entry>-cr:&lt;folder&gt;</entry>\r
317             <entry>--cache-render:&lt;folder&gt;</entry>\r
318             <entry>render thumbnails</entry>\r
319           </row>\r
320           <row>\r
321             <entry>-crr:&lt;folder&gt;</entry>\r
322             <entry>--cache-render-recurse:&lt;folder&gt;</entry>\r
323             <entry>render thumbnails recursively</entry>\r
324           </row>\r
325           <row>\r
326             <entry>-crs:&lt;folder&gt;</entry>\r
327             <entry>--cache-render-shared:&lt;folder&gt;</entry>\r
328             <entry>\r
329               render thumbnails\r
330               <footnote id='ref2'>\r
331                 <para>If standard thumbnail cache is not enabled, this command will be ignored.</para>\r
332               </footnote>\r
333             </entry>\r
334           </row>\r
335           <row>\r
336             <entry>-crsr:&lt;folder&gt;</entry>\r
337             <entry>--cache-render-shared-recurse:&lt;folder&gt;</entry>\r
338             <entry>render thumbnails recursively</entry>\r
339           </row>\r
340           <row>\r
341             <entry />\r
342             <entry>--lua:&lt;file&gt;,&lt;lua script&gt;</entry>\r
343             <entry>run lua script on file</entry>\r
344           </row>\r
345           <row>\r
346             <entry />\r
347             <entry>--PWD:&lt;PWD&gt;</entry>\r
348             <entry>Use PWD as working directory for following commands</entry>\r
349           </row>\r
350           <row>\r
351             <entry />\r
352             <entry>--print0</entry>\r
353             <entry>Terminate returned data with null character instead of newline</entry>\r
354           </row>\r
355         </tbody>\r
356       </tgroup>\r
357     </table>\r
358     <para />\r
359   </section>\r
360 </section>\r