flightgear-2020.1.3+dfsg on Debian Linux
I'd like to set the window position and size on startup. I know you can define additional windows with position and size, but I want just one window with fixed position and size. The "--geometry" option can be used to set the size, but not the position AFAICS.
So after some digging through the properties tree, I tried the following:
fgfs --prop:/sim/rendering/camera-group/camera/window/{x=100,y=500,width=800,height=300}
This seemed to work -- the window was positioned correctly for a short moment. But then fgfs crashed with:
FATAL: puGetWindow: Callbacks not initialized.
Segmentation fault
This might be a similar bug to this one, but I'm not sure:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=887411
If there's another way to set the position on startup, this would also help me.
When you use custom camera-settings, the PUI GUI might not get set up correctly, it seems (thus the crash). I thought w ehad a way to set the X,Y position but maybe we don't, hmm.
Note for self: we should exteng --geometry to support X/Y positioning as described here:
https://en.wikibooks.org/wiki/Guide_to_X11/Starting_Programs#Specifying_window_geometry