Created
February 11, 2015 18:33
-
-
Save notro/63fc8f563b5f85010d30 to your computer and use it in GitHub Desktop.
xorg configuration for use with FBTFT on Raspian: /etc/X11/xorg.conf.d/fbtft.conf
This file contains hidden or 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