GPD P2 Max Ubuntu Mate installation notes

Before installation

http://gpd.hk/gpdp2maxfirmwaredriverbios Update the BIOS before running Official tool for Windows Touch panel does not recognize unless updated

About installation

https://ubuntu-mate.org/download/ With a tool to make a USB memory boot disk from an ISO image Make boot memory After that, follow the guidance

If the touch panel is out of order

Execute xinput command Goodix Capacitive TouchScreen id=16 [slave pointer (2)]

Is displayed, xinput set-prop '16' 'Coordinate Transformation Matrix' 0 -1 1 1 0 0 0 0 1 The position of the touch panel can be corrected by executing. If you register for an application that starts automatically, you can start it in a cured state

xinput set-prop `xinput|grep Goodix|grep pointer|awk -F'id=' '{print $2}'|awk '{print $1}'` 'Coordinate Transformation Matrix' 0 -1 1 1 0 0 0 0 1

Script for rotation

script.sh


#!/bin/sh

case $1 in
"help" )

echo left of help
;;
"left"|"-l" )
xrandr -o left
xinput set-prop `xinput|grep Goodix|grep pointer|awk -F'id=' '{print $2}'|awk '{print $1}'` 'Coordinate Transformation Matrix' -1 0 1 0 -1 1 0 0 1
;;
"right"|"-r" )
xrandr -o right
xinput set-prop `xinput|grep Goodix|grep pointer|awk -F'id=' '{print $2}'|awk '{print $1}'` 'Coordinate Transformation Matrix' 1 0 0 0 1 0 0 0 1
;;
* )
xrandr -o normal
xinput set-prop `xinput|grep Goodix|grep pointer|awk -F'id=' '{print $2}'|awk '{print $1}'` 'Coordinate Transformation Matrix' 0 -1 1 1 0 0 0 0 1
esac
export MOZ_USE_XINPUT2=1
exit

#xinput set-prop '16' 'Coordinate Transformation Matrix' 0 -1 1 1 0 0 0 0 1
xinput set-prop `xinput|grep Goodix|grep pointer|awk -F'id=' '{print $2}'|awk '{print $1}'` 'Coordinate Transformation Matrix' 0 -1 1 1 0 0 0 0 1
export MOZ_USE_XINPUT2=1

Recommended Posts

GPD P2 Max Ubuntu Mate installation notes
Theano installation notes
pyenv installation notes
Python3.4 installation notes
Cabocha installation notes
ubuntu20.04 + Geth installation procedure
MongoDB installation (Ubuntu 18 LTS)
Arch Linux installation notes