66 lines
1.6 KiB
Xorg
66 lines
1.6 KiB
Xorg
# This xorg configuration file is meant to be used by xpra
|
|
# to start a dummy X11 server.
|
|
# For details, please see:
|
|
# https://xpra.org/Xdummy.html
|
|
|
|
Section "ServerFlags"
|
|
Option "DontVTSwitch" "true"
|
|
Option "AllowMouseOpenFail" "true"
|
|
Option "PciForceNone" "true"
|
|
Option "AutoEnableDevices" "false"
|
|
Option "AutoAddDevices" "false"
|
|
EndSection
|
|
|
|
Section "InputDevice"
|
|
Identifier "dummy_mouse"
|
|
Option "CorePointer" "true"
|
|
Driver "void"
|
|
EndSection
|
|
|
|
Section "InputDevice"
|
|
Identifier "dummy_keyboard"
|
|
Option "CoreKeyboard" "true"
|
|
Driver "void"
|
|
EndSection
|
|
|
|
Section "Device"
|
|
Identifier "dummy_videocard"
|
|
Driver "dummy"
|
|
Option "ConstantDPI" "true"
|
|
#VideoRam 4096000
|
|
#VideoRam 256000
|
|
VideoRam 192000
|
|
EndSection
|
|
|
|
Section "Monitor"
|
|
Identifier "dummy_monitor"
|
|
HorizSync 5.0 - 1000.0
|
|
VertRefresh 5.0 - 200.0
|
|
#This can be used to get a specific DPI, but only for the default resolution:
|
|
#DisplaySize 508 317
|
|
#NOTE: the highest modes will not work without increasing the VideoRam
|
|
# for the dummy video card.
|
|
# https://arachnoid.com/modelines/
|
|
# 1280x720 @ 30.00 Hz (GTF) hsync: 21.99 kHz; pclk: 33.78 MHz
|
|
Modeline "1280x720_30.00" 33.78 1280 1288 1408 1536 720 721 724 733 -HSync +Vsync
|
|
EndSection
|
|
|
|
Section "Screen"
|
|
Identifier "dummy_screen"
|
|
Device "dummy_videocard"
|
|
Monitor "dummy_monitor"
|
|
DefaultDepth 24
|
|
SubSectionSub "Display"
|
|
Viewport 0 0
|
|
Depth 24
|
|
Modes "1280x720_30.00"
|
|
Virtual 1280 720
|
|
EndSubSection
|
|
EndSection
|
|
|
|
Section "ServerLayout"
|
|
Identifier "dummy_layout"
|
|
Screen "dummy_screen"
|
|
InputDevice "dummy_mouse"
|
|
InputDevice "dummy_keyboard"
|
|
EndSection |