Fork me on GitHub

I’ve got a quil sketch that I’m compiling to an uberjar, and I’d prefer to be able to configure the uberjar without opening a graphics window at all. However, even if I do create-graphics manually ( it appears I still get a blank window with the specified :size . Is there a way to avoid that?

Alex Miller (Clojure team)22:01:20

I don't know anything about Quil, but perhaps setting the jvm property



Thanks Alex. That caused Processing to raise an error, and the error message points to some documentation that shows how to setup and run Xvfb on Linux. The same page suggests -Djava.awt.headless=true “may be all you need” but “for most cases this is less likely to work” than the virtual framebuffer approach.

Cannot run sketch without a display. Read this for possible solutions: