PINE64
[Pinebook Pro/Mobian/XFCE4] can fix touch or screen in greeter not both - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111)
+--- Forum: Linux on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=114)
+--- Thread: [Pinebook Pro/Mobian/XFCE4] can fix touch or screen in greeter not both (/showthread.php?tid=19262)



[Pinebook Pro/Mobian/XFCE4] can fix touch or screen in greeter not both - SynthGal - 05-31-2024

Greetings everyone, just got a used Pinephone Pro (and a pinephone but haven't used that yet) and am trying to dredge up years-old pre-brain surgery Linux knowledge to make this thing work as a palmtop full time. Currently I am running Mobian with XFCE and I am working on getting the keyboard and the screen rotation working correctly. With regards to the screen, I have two lines in /etc/lightdm/lightdm.conf (which may be the wrong place but one tutorial mentioned it so I'm using it for now)

[Seat Defaults]
display-setup-script = xinput set-prop "pointer:Goodix Capacitive TouchScreen" --type=float "Coordinate Transformation Matrix" 0 1 0 -1 0 1 0 0 1
display-setup-script = xrandr --output DP-1 --off --output DSI-1 --primary --mode 720x1440 --pos 0x0 --rotate right

The first line fixes the touchscreen so I can use it in landscape mode from within the OS. The second makes the greeter landscape, but now the touchscreen is equally broken (swipe to the right, cursor going up) in both the greeter and the OS itself because the first line is "cancelled out." If I comment out the second line, the first works.

I've barely managed to scrape these solutions together from tutorials and I have no idea why one would mess with the other and I'm completely lost. Any ideas? Ask me anything and I'll answer what I can.

(Also I'm doing my best to follow the rules but my reading comprehension is not the best so please if I am breaking any I swear it's an accident and will correct it asap)