File tree 1 file changed +20
-0
lines changed
1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -268,6 +268,26 @@ Install Bridge and Servo libraries
268
268
269
269
arduino --install-library "Bridge:1.0.0,Servo:1.2.0"
270
270
271
+ BUGS
272
+ ----
273
+
274
+ Even in command line mode the Arduino IDE requires a graphical user interface to be
275
+ present. This should usually be the case in Windows or Mac OS X. On Linux however you
276
+ might want to compile and upload sketches when logged in via SSH or in batch mode. To
277
+ accomplish this, install the Xvfb dummy X server and write a small wrapper script to
278
+ create an instance of this Xserver, run the Arduino IDE in it and kill the Xserver
279
+ afterwards:
280
+
281
+ #!/bin/bash
282
+ Xvfb :1 -nolisten tcp -screen :1 1280x800x24 &
283
+ xvfb="$!"
284
+ DISPLAY=:1 arduino $@
285
+ kill -9 $xvfb
286
+
287
+ Save the script as *arduino-headless* and run it with the options described above.
288
+ If the script does not return to a shell prompt, the options you specified were wrong
289
+ and the Arduino IDE actually opened a window, stop its execution with Ctrl+C.
290
+
271
291
HISTORY
272
292
-------
273
293
1.5.2::
You can’t perform that action at this time.
0 commit comments