08-24-2023, 05:53 PM
(08-23-2023, 09:56 PM)KelsonV Wrote: I got the touchscreen rotated in LXQt (on X11), based on the sway thread I linked to earlier. I just had to locate the X11 way of doing it and figure out which package xinput and xrandr were in!
This installs xinput and aligns the touchscreen with the display.
Code:sudo pacman -Sy xorg-xinput
xinput map-to-output 'pointer:Goodix Capacitive TouchScreen' DSI-1
Edit: I did finally get it to run on LXQt session start!
1. Put the xinput line in a shell script and made it executable.
2. Go to LXQt Settings>Session Settings>Autostart and add a new entry to the global list called "Rotate Touchscreen" pointing to the script.
3. Check the box for "Wait for system tray"
Great tip! You can enter the command directly in the Autostart entry rather than using a script, if you escape the spaces in the pointer string rather than quoting them, like this:
Code:
xinput map-to-output pointer:Goodix\ Capacitative\ TouchScreen DSI-1