Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
en:touchscreen_-_activate_and_configure_your_touchscreen [2019/12/19 11:13] vnortier created |
en:touchscreen_-_activate_and_configure_your_touchscreen [2021/08/25 10:29] (current) |
||
---|---|---|---|
Line 9: | Line 9: | ||
{{:en:touchpanel.png?400|}} | {{:en:touchpanel.png?400|}} | ||
- | You can check if the touchmode is correctly activated in the zebrix.conf file, to open a terminal press Windows+T | + | Open a terminal using windows+T |
- | then open the file using : | + | Write : |
+ | export DISPLAY=:0.0 | ||
- | nano /opt/zebrix.conf | + | {{:en:display.png?400|}} |
- | The touchmode parameter should be set to "TRUE" | + | Then : |
+ | xinput --list | ||
+ | {{:en:xinputlist.png?400|}} | ||
- | --CONFIGURE THE MATRIX-- | + | A list of all the pointers device should appear, select the name of your touchscreen and copy it |
- | This section is reserved for advanced users. | + | |
- | first, use export DISPLAY=:0.0 | ||
- | then, use xinput --list to display the pointers list and find your touch device (retrieve the name and the ID) | ||
- | use xinput list-props [YOUR DEVICE ID] to display the current parameters | + | open the zebrix.conf file: |
+ | nano /opt/zebrix/zebrix.conf | ||
+ | |||
+ | {{:en:nanozebrixconf.png?400|}} | ||
+ | |||
+ | and paste the name of your device in "TOUCHPANEL" : | ||
+ | |||
+ | {{:en:zebrixconf.png?400|}} | ||
+ | |||
+ | The touchmode parameter should be set to "TRUE". | ||
+ | |||
+ | Then press Ctrl+X to close the zebrix file, press Y to save the file (don't modify the name) | ||
- | In case you need to calibrate the new matrix, use xinput set-prop '[NAME OF YOUR TOUCH DEVICE]' 'coordinate transformation matrix' [YOUR MATRIX COORDONATE] | ||
- | You can have more information about the Matrix Coordonate parameter here :https://wiki.ubuntu.com/X/InputCoordinateTransformation#Setting_the_Coordinate_Transformation_Matrix | ||
- | (19/12/19 screenshot coming soon) | ||