File: commandlineparameters.html

package info (click to toggle)
qlcplus 4.14.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 58,644 kB
  • sloc: cpp: 182,867; javascript: 7,764; xml: 2,453; ansic: 2,120; sh: 1,716; python: 634; ruby: 606; makefile: 23
file content (369 lines) | stat: -rw-r--r-- 7,974 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<TITLE>Q Light Controller Plus - Command-Line Parameters</TITLE>
<SCRIPT SRC="utility.js" TYPE="text/javascript"></SCRIPT>
<link href="style.css" rel="stylesheet" type="text/css" />
</HEAD>
<BODY onLoad="replaceqrc()">

<H1>Command-Line Parameters</H1>

<P>
QLC+ supports a number of command line parameters to automate/extend some functionalities
on startup.<BR>
Using command line parameters can be tricky depending on the operating system you're using:
<UL>
 <LI>
  <B>Linux</B>: just open a terminal and type "qlcplus" followed by the parameters you need
 </LI>
 <LI>
  <B>Windows</B>: create a shortcut of qlcplus.exe (usually located in C:\QLC+) on your desktop.
  Right click on the shortcut and select "Properties". In the "Target" field you will see something
  like "C:\QLC+\qlcplus.exe". There you can add command line parameters. When done click OK.<BR>
  <BR>
  Example: Setting Czech locale:<BR>
  <IMG SRC="../images/locale.png">
 </LI>
 <LI><B>OSX</B>: This is the most difficult case since QLC+ on OSX is bundled into a
  DMG package. You need to open a terminal and "cd" into the QLC+ DMG like this:<BR>
  cd QLC+.app\Contents\MacOS<br>
  When done, type "qlcplus" followed by the parameters you need
 </LI>
</UL>
<BR>
</P>

<TABLE BORDER="0">
 <TR>
  <TD STYLE="background-color: #eeeeee;">
   <H2>-c or --closebutton</H2>
   <P>
    <B>Description:</B> Define a position for a close button in the virtual console. The button
    can be used to close QLC+. Only has an effect in kiosk mode (see -k) and is most useful
    when in fullscreen mode without a window manager.
   </P>

   <P>
    <B>Parameters:</B> x,y,w,h
   </P>

   <P>
    <B>Examples:</B><BR>
    Create a button at (x400, y500) whose size is (w70, h50):<BR>
    qlcplus -c 400,500,70,50<BR>
    qlcplus --closebutton 400,500,70,50<BR>
   </P>
  </TD>
 </TR>

 <TR>
  <TD STYLE="background-color: #ffffff;">
   <H2>-d or --debug</H2>
   <P>
    <B>Description:</B> Enable debug mode and optionally set the output level. Note that since 4.8.0 messages for level DEBUG (0)
    are not included in released binaries.
   </P>

   <P>
    <B>Parameters:</B> Level (see <A HREF="https://doc.qt.io/qt-5/qtglobal.html#QtMsgType-enum">QtMsgType</A>)
   </P>

   <P>
    <B>Examples:</B><BR>
    Enable debug mode and set debug level to 0:<BR>
    qlcplus -d<BR>
    qlcplus --debug<BR>
    <BR>
    Enable debug mode and set debug level to 3:<BR>
    qlcplus -d 3<BR>
   </P>
  </TD>
 </TR>

 <TR>
  <TD STYLE="background-color: #eeeeee;">
   <H2>-f or --fullscreen</H2>
   <P>
    <B>Description:</B> Start the application in fullscreen mode
   </P>

   <P>
    <B>Parameters:</B> Method (either 'normal' or 'resize')
   </P>

   <P>
    <B>Examples:</B><BR>
    Tell the window manager to give the whole screen space to QLC+:<BR>
    qlcplus -f<BR>
    qlcplus --fullscreen<BR>
    qlcplus -f normal<BR>
    qlcplus --fullscreen normal<BR>
    <BR>
    Resize QLC+ to take up the whole screen space (useful in custom X11 sessions without a window manager):<BR>
    qlcplus -f resize<BR>
    qlcplus --fullscreen resize<BR>
   </P>
  </TD>
 </TR>

 <TR>
  <TD STYLE="background-color: #ffffff;">
   <H2>-g or --log</H2>
   <P>
    <B>Description:</B> Log debug messages to a file ($HOME/QLC+.log)
   </P>

   <P>
    <B>Parameters:</B> None
   </P>

   <P>
    <B>Examples:</B><BR>
    Enable debug messages and store them to log <BR>
    qlcplus -d 0 -g<BR>
    qlcplus --debug 0 --log<BR>
   </P>
  </TD>
 </TR>

 <TR>
  <TD STYLE="background-color: #eeeeee;">
   <H2>-h or --help</H2>
   <P>
    <B>Description:</B> Display command-line help (only in Linux & OS X)
   </P>

   <P>
    <B>Parameters:</B> None
   </P>

   <P>
    <B>Examples:</B><BR>
    Display the command-line help:<BR>
    qlcplus -h<BR>
    qlcplus --help<BR>
   </P>
  </TD>
 </TR>

 <TR>
  <TD STYLE="background-color: #ffffff;">
   <H2>-k or --kiosk</H2>
   <P>
    <B>Description:</B> Enable kiosk-mode (only <A HREF="virtualconsole.html">virtual console</A> is visible and the application is locked in <A HREF="concept.html#Modes">operate mode</A>)
   </P>

   <P>
    <B>Parameters:</B> None
   </P>

   <P>
    <B>Examples:</B><BR>
    Start the application in kiosk mode:<BR>
    qlcplus -k<BR>
    qlcplus --kiosk<BR>
   </P>
  </TD>
 </TR>

 <TR>
  <TD STYLE="background-color: #eeeeee;">
   <H2>-l or --locale</H2>
   <P>
    <B>Description:</B> Use the given locale for translation
   </P>

   <P>
    <B>Parameters:</B> Locale name (currently supported: ca_ES, cz_CZ, de_DE, en_GB, es_ES, fi_FI, fr_FR, it_IT, ja_JP, nl_NL, pt_BR)
   </P>

   <P>
    <B>Examples:</B><BR>
    Use finnish language:<BR>
    qlcplus -l fi_FI<BR>
    qlcplus --locale fi_FI<BR>
   </P>
  </TD>
 </TR>

 <TR>
  <TD STYLE="background-color: #ffffff;">
   <H2>-m or --nowm</H2>
   <P>
    <B>Description:</B> Inform the application that the system doesn't provide a window manager.
    QLC+ will therefore add some extra controls to close the windows.
   </P>

   <P>
    <B>Parameters:</B> None
   </P>

   <P>
    <B>Examples:</B><BR>
    Start QLC+ with no window manager:<BR>
    qlcplus -m<BR>
    qlcplus --nowm<BR>
   </P>
  </TD>
 </TR>

 <TR>
  <TD STYLE="background-color: #eeeeee;">
   <H2>-n or --nogui</H2>
   <P>
    <B>Description:</B> Start the application with the GUI hidden (Raspberry Pi only)
   </P>

   <P>
    <B>Parameters:</B> None
   </P>

   <P>
    <B>Examples:</B><BR>
    Start QLC+ with no visible GUI:<BR>
    qlcplus -n<BR>
    qlcplus --nogui<BR>
   </P>
  </TD>
 </TR>

 <TR>
  <TD STYLE="background-color: #ffffff;">
   <H2>-o or --open</H2>
   <P>
    <B>Description:</B> Open the given workspace file
   </P>

   <P>
    <B>Parameters:</B> File name
   </P>

   <P>
    <B>Examples:</B><BR>
    Open mydesk.qxw:<BR>
    qlcplus -o mydesk.qxw<BR>
    qlcplus --open mydesk.qxw<BR>
   </P>
  </TD>
 </TR>

 <TR>
  <TD STYLE="background-color: #eeeeee;">
   <H2>-p or --operate</H2>
   <P>
    <B>Description:</B> Start the application in <A HREF="concept.html#Modes">Operate</A> mode.
   </P>

   <P>
    <B>Parameters:</B> None
   </P>

   <P>
    <B>Examples:</B><BR>
    Start QLC+ in operate mode:<BR>
    qlcplus -p<BR>
    qlcplus --operate<BR>
   </P>
  </TD>
 </TR>

 <TR>
  <TD STYLE="background-color: #ffffff;">
   <H2>-v or --version</H2>
   <P>
    <B>Description:</B> Display the current application version number
   </P>

   <P>
    <B>Parameters:</B> None
   </P>

   <P>
    <B>Examples:</B><BR>
    qlcplus -v<BR>
    qlcplus --version<BR>
   </P>
  </TD>
 </TR>

 <TR>
  <TD STYLE="background-color: #eeeeee;">
   <H2>-w or --web</H2>
   <P>
    <B>Description:</B> Enable remote web access on port 9999
   </P>

   <P>
    <B>Parameters:</B> None
   </P>

   <P>
    <B>Examples:</B><BR>
    qlcplus -w<BR>
    qlcplus --web<BR>
   </P>
  </TD>
 </TR>

 <TR>
  <TD STYLE="background-color: #ffffff;">
   <H2>-wp or --web-port</H2>
   <P>
    <B>Description:</B> Use a specific port for web access
   </P>

   <P>
    <B>Parameters:</B> Port number
   </P>

   <P>
    <B>Examples:</B><BR>
    qlcplus -wp 12345<BR>
    qlcplus --web-port 12345<BR>
   </P>
  </TD>
 </TR>

 <TR>
  <TD STYLE="background-color: #eeeeee;">
   <H2>-wa or --web-auth</H2>
   <P>
    <B>Description:</B> Enable remote web access with users authentication
   </P>

   <P>
    <B>Parameters:</B> None
   </P>

   <P>
    <B>Examples:</B><BR>
    qlcplus -wa<BR>
    qlcplus --web-auth<BR>
   </P>
  </TD>
 </TR>

 <TR>
  <TD STYLE="background-color: #ffffff;">
   <H2>-a or --web-auth-file</H2>
   <P>
    <B>Description:</B> Specify a file where to store web access basic authentication credentials
   </P>

   <P>
    <B>Parameters:</B> File name
   </P>

   <P>
    <B>Examples:</B><BR>
    qlcplus -wa qlcplus_passwd<BR>
    qlcplus --web-auth-file qlcplus_passwd<BR>
   </P>
  </TD>
 </TR>

</TABLE>

</BODY>
</HTML>