Preview: lowres.py
Size: 266 B
//proc/thread-self/root/opt/cloudlinux/venv/lib/python3.11/site-packages/pyvirtualdisplay/examples/lowres.py
"Testing gnumeric on low resolution."
from easyprocess import EasyProcess
from pyvirtualdisplay import Display
# start Xephyr
with Display(visible=True, size=(320, 240)) as disp:
# start Gnumeric
with EasyProcess(["gnumeric"]) as proc:
proc.wait()
Directory Contents
Dirs: 1 × Files: 7