next of many things that could help.
1st are you running dual boot or just Zorin OS?
I'll assume it's just Zorin OS.
Double check the screen resolution settings,(see if your on recommended, or is it giving you a lower setting)?
If not try setting to higher resolution (to suit screen).
- Next open your "Startup" app,
Does this contain "xinput-calibration"?
If not try installing xinput calibration
sudo apt update
sudo apt install xinput-calibrator
If you have the calibrator installed already,
run
xinput_calibrator
Follow the instructions.
Still no luck...
as i see your ok with scripts,
1st, Identify Touchscreen Device:
xinput list
Look for the entry corresponding to your touchscreen device. Note down its ID Number. (eg, 11)
Adjust Transformation Matrix,
Now, you'll need to adjust the transformation matrix for your touchscreen. Run the following command, replacing (ID) with the actual ID of your touchscreen device:
eg:
xinput set-prop 11 'Coordinate Transformation Matrix' (matrix-values)
For example, for a 90-degree rotation clockwise, you might use:
xinput set-prop (ID) 'Coordinate Transformation Matrix' 0 1 0 -1 0 1 0 0 1
You might need to try different values until you get the desired touchscreen response. (refer to links)
Make The Configuration Persistent,
Create a startup script that sets the transformation matrix. Here's an example of how to do it:
- Create a script file, for example
rotate_touchscreen.sh
and add the xinput command from above to set the transformation matrix.
2. Make the script executable by running:
chmod +x rotate_touchscreen.sh
- Open the "Startup Applications" app in Zorin OS.
- Add a new startup entry with the path to your script.
Please note that these instructions are provided as a general guideline and might need adjustments based on your specific hardware and software configuration. Always back up your data and configuration before making significant changes.
I'm out of time until tomorrow, Hope this is as clear as can be.
https://wiki.ubuntu.com/X/InputCoordinateTransformation
& a couple of other examples.
Alternatively:
You could try Zorin OS Core. I see some saying Gnome works a little better with rotation/orientation.