After examining the code in the sandbox script I discovered that we can declare custome screen resolutions for xephyr.
This worke out pretty good for me.
Code: Select all
export WINDOW_SIZE=1280x740
rw-sandbox-lxc.sh /mnt/sda1/savefile.img
After the system loads it is necessary to use zarfy or something to select that resolution, but the result nearly fills my screen, which is preferable to 1024x600 which was the default and the only option otherwise provided that fit within my screen.
There is probably a script which is executed by the init system and could thus be used to set the WINDOW_SIZE variable at boot.
A thought about the naming of the variable is that it might be better to call it SANDBOX_WINDOW_SIZE and leave WINDOW_SIZE available for scripts that relate to the host system. If I was getting into this deeper I might try to build the variable automatically by reading the window size and subtracting the height of the taskbar from it.