This document describes how to use your TS050 touchscreen.
How to Connect
How to Rotate
By default the TS050 touchscreen will be in portrait mode, this guide will show you how to rotate it to landscape mode.
You will need to create an Xorg configuration file and an autostart script to set the resolution.
- Create Xorg configuration file
Create a file /etc/X11/xorg.conf.d/10-ts050-fbdev-rotate.conf
with the contents below:
1 | Section "Device" |
- Create autostart-file
Create a file /etc/xdg/autostart/panel-setup.desktop
with the contents below:
1 | [Desktop Entry] |
Restart the system and the screen will automatically change to the landscape orientation.
NoteThe configuration above will rotate your screen to
landscape
mode, you can also rotate to other modes by uncommenting the mode you want.
Please note that the resolution forlandscape
mode is1920x1088
,portrait
mode is1088x1920
.
These screen configuration files will also affect the HDMI display, so you may have to remove them if the changes are undesired.
Please refer to Rotate Framebuffer Console.