-
-
Save johan--/723492fe8cb8711b260f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# FBTFT xorg config file | |
# | |
# startx -- -layout TFT | |
# startx -- -layout HDMI | |
# | |
# startx | |
# When -layout is not set, the first is used: TFT | |
# | |
Section "ServerLayout" | |
Identifier "TFT" | |
Screen 0 "ScreenTFT" | |
EndSection | |
Section "ServerLayout" | |
Identifier "HDMI" | |
Screen 0 "ScreenHDMI" | |
EndSection | |
Section "Screen" | |
Identifier "ScreenHDMI" | |
Monitor "MonitorHDMI" | |
Device "DeviceHDMI" | |
Endsection | |
Section "Screen" | |
Identifier "ScreenTFT" | |
Monitor "MonitorTFT" | |
Device "DeviceTFT" | |
Endsection | |
Section "Monitor" | |
Identifier "MonitorHDMI" | |
Endsection | |
Section "Monitor" | |
Identifier "MonitorTFT" | |
Endsection | |
Section "Device" | |
Identifier "DeviceHDMI" | |
Driver "fbturbo" | |
Option "fbdev" "/dev/fb0" | |
Option "SwapbuffersWait" "true" | |
EndSection | |
Section "Device" | |
Identifier "DeviceTFT" | |
Option "fbdev" "/dev/fb1" | |
EndSection |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment