Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm running a build command on Ubuntu 12.04. The command opens a GUI for a few seconds, and then closes it. I'm finding this kind of disruptive -- is there a way to alter the command-line syntax to hide the GUI or pipe it elsewhere?

Specifically, I'm using Arduino 1.5.2's new command-line support:

arduino --verify /home/matt/blink/blink.ino

This pops up the standard Arduino IDE to perform the build or upload.

share|improve this question
There's probably a horrendously complicated way of achieving this involving multiple workspaces or display servers; but have you tried looking at the documentation for this program to see if there's a command-line 'no GUI' option? – evilsoup Apr 5 '13 at 21:56
@evilsoup unfortunately, the program doesn't seem to have any such option, according to these docs. – Matt Apr 5 '13 at 22:31
Have you tried adding an ampersand (&) at the end of the command? This works for some things... – Seth Apr 6 '13 at 16:57
@Seth regrettably, this did not work..thanks though! – Matt Apr 7 '13 at 6:54

You need Xvfb, it creates a pseudo X Windows device. To install it on Ubuntu do this:

sudo apt-get install xvfb

Then create a pseudo X display putting it in background

Xvfb :100 &

Set the display to the pseudo X display:

export DISPLAY=:100

And launch Arduino.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .