1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/kodi_ynh.git synced 2024-09-03 19:26:34 +02:00
kodi_ynh/conf/xorg.conf

62 lines
1.5 KiB
Xorg
Raw Permalink Normal View History

2023-09-01 03:00:50 +02:00
# Adapted from https://gist.github.com/divinity76/ce210b5dbcd9ea7d0585ac403caef577
2023-09-01 02:07:57 +02:00
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
2021-08-26 21:14:07 +02:00
Section "Device"
2023-09-01 02:07:57 +02:00
Identifier "dummy_videocard"
Driver "dummy"
Option "ConstantDPI" "true"
VideoRam 192000
2021-08-26 21:14:07 +02:00
EndSection
Section "Monitor"
2023-09-01 02:07:57 +02:00
Identifier "dummy_monitor"
HorizSync 5.0 - 1000.0
VertRefresh 5.0 - 200.0
#To add your own modes here, use a modeline calculator, like:
#http://xtiming.sourceforge.net/cgi-bin/xtiming.pl
#or using the "gtf" command line tool (http://gtf.sourceforge.net/)
#This can be used to get a specific DPI, but only for the default resolution:
#DisplaySize 508 317
Modeline "1280x720" 27.41 1280 1312 1416 1448 720 737 740 757
2021-08-26 21:14:07 +02:00
EndSection
Section "Screen"
2023-09-01 02:07:57 +02:00
Identifier "dummy_screen"
Device "dummy_videocard"
Monitor "dummy_monitor"
DefaultDepth 24
SubSectionSub "Display"
Viewport 0 0
2021-08-26 21:14:07 +02:00
Depth 24
2023-09-01 03:00:50 +02:00
Modes "1280x720"
2023-09-01 02:07:57 +02:00
Virtual 1024 768
EndSubSection
EndSection
Section "ServerLayout"
Identifier "dummy_layout"
Screen "dummy_screen"
InputDevice "dummy_mouse"
InputDevice "dummy_keyboard"
2023-09-01 01:40:56 +02:00
EndSection