|
|
|
@ -1,3 +1,5 @@ |
|
|
|
|
{{ $JIBRI_RECORDING_RESOLUTION := .Env.JIBRI_RECORDING_RESOLUTION | default "1280x720" -}} |
|
|
|
|
|
|
|
|
|
# This xorg configuration file is meant to be used by xpra |
|
|
|
|
# to start a dummy X11 server. |
|
|
|
|
# For details, please see: |
|
|
|
@ -109,15 +111,11 @@ Section "Screen" |
|
|
|
|
Viewport 0 0 |
|
|
|
|
Depth 24 |
|
|
|
|
Modes "5120x3200" "3840x2880" "3840x2560" "3840x2048" "2048x2048" "2560x1600" "1920x1440" "1920x1200" "1920x1080" "1600x1200" "1680x1050" "1600x900" "1400x1050" "1440x900" "1280x1024" "1366x768" "1280x800" "1024x768" "1024x600" "800x600" "320x200" |
|
|
|
|
{{ if .Env.JIBRI_RECORDING_RESOLUTION -}} |
|
|
|
|
Virtual {{ join " " (splitList "x" .Env.JIBRI_RECORDING_RESOLUTION) }} |
|
|
|
|
{{ else -}} |
|
|
|
|
Virtual 1920 1080 |
|
|
|
|
{{ end -}} |
|
|
|
|
Virtual {{ join " " (splitList "x" $JIBRI_RECORDING_RESOLUTION) }} |
|
|
|
|
EndSubSection |
|
|
|
|
EndSection |
|
|
|
|
|
|
|
|
|
Section "ServerLayout" |
|
|
|
|
Identifier "dummy_layout" |
|
|
|
|
Screen "dummy_screen" |
|
|
|
|
EndSection |
|
|
|
|
EndSection |
|
|
|
|