And what about a commandline option like --no-gui?
2005/5/3, Jens M Andreasen <jens.andreasen(a)chello.se>se>:
On Tue, 2005-05-03 at 18:42 +0300, Juhana Sadeharju
wrote:
From: Jens
M Andreasen <jens.andreasen(a)chello.se>
Suggestion for running headless:
if(getenv("DISPLAY"))
isGraphic = TRUE;
else
isGraphic = FALSE;
I hope there is a command line option for turning the
GUI off. Otherwise I would always get the GUI.
You could do
$ unset DISPLAY && path/to/command