Changes

Jump to: navigation, search

Display

302 bytes removed, 07:00, 22 July 2019
added scaling and removed duplicate guide
== Landscape mode ==
All this fixes need device reboot.
=== Rotate the screen ===
=== Rotate the touchscreen ===
In order to also rotate the touchscreen you need to change the udev rule: by<codepre>/etc/udev/rules.d/90-device-samsung-i9070.rules</codepre>
And add one of the following line:
<pre>
ENV{LIBINPUT_CALIBRATION_MATRIX}="-1 0 1 1 0 0"
</pre>
and reboot udev or the device.
NT: If you use the rotate screen code as it is use the # Right option to rotate the touch on the direction of rotated screen.
== Calibrate the touchscreen Scaling ==If Xfce4 and Mate Desktop supports gtk apps scaling out of the box. As for qt app you rotate the screen, change/add a value in this file:need to set up environment variable by
<pre>
sudo nano /etc/udev/rules.d/90-android-touch-dev.rulesenvironment
</pre>
And past this lines after comments
<pre>
ENV{ID_INPUT}QT_SCALE_FACTOR="1", ENV{ID_INPUT_TOUCHSCREEN}="1", \# default ENV{LIBINPUT_CALIBRATION_MATRIX}="1 0 0 0 1 0"# Left - 90 degree clockwise ENV{LIBINPUT_CALIBRATION_MATRIX}="0 -1 1 1 0 0"# 180 degree clockwise ENV{LIBINPUT_CALIBRATION_MATRIX}="-1 0 1 0 -1 1"# Right - 270 degree clockwise ENV{LIBINPUT_CALIBRATION_MATRIX}="0 1 0 -1 0 1"2# reflect along y axis ENV{LIBINPUT_CALIBRATION_MATRIX}QT_AUTO_SCREEN_SCALE_FACTOR="-1 0 1 1 0 0"2
</pre>
 
== Display Power Management ==
90
edits

Navigation menu