# Note: to set orientation to portrait requires a restart of X11 after updating # this file and picking the correct touch screen orientation # Astro Portrait (comment out all Rotate Options below) # echo 1 | sudo tee /sys/devices/platform/touch/screen_rotation # Astro Landscape (pick "Rotate" "CW" below) # echo 8 | sudo tee /sys/devices/platform/touch/screen_rotation Section "Monitor" Identifier "Monitor0" DisplaySize 148 68 # DisplaySize 68 148 EndSection Section "Device" Identifier "MediaTek HWC" Driver "hwcomposer" Option "Rotate" "CW" # Option "Rotate" "UD" # Option "Rotate" "CCW" EndSection Section "Screen" Identifier "Screen0" Device "MediaTek HWC" Monitor "Monitor0" DefaultDepth 24 SubSection "Display" Depth 24 #Virtual 1440 720 #Virtual 1080 540 EndSubSection EndSection