Fork me on GitHub
#quil
<
2020-01-14
>
gonewest81821:01:50

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 (https://github.com/quil/quil/wiki/Create-PDFs) it appears I still get a blank window with the specified :size . Is there a way to avoid that?

alexmiller22:01:20

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

-Djava.awt.headless=true

gonewest81822:01:41

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: