|
Post by jayxskye on Apr 4, 2022 11:25:30 GMT
Hi,
My mouse pointer and coordinates are upside down relative to the screen. "Transformation Matrix" changes the movement (direction) but not the coordinates (where you click or pointer upside downess).
Screen/Display rotates fine through xrandr but mouse stays inverted.
This problem is also true for Lubuntu/Mint/Puppy.
If I boot Bodhi in safe graphics then the screen and mouse is in the same "plane".
Thanks
Installed on a: Z8350 2 in 1 tablet pc
|
|
|
Post by thewaiter on Apr 4, 2022 12:23:33 GMT
Hello and welcome
From what I read this command should be fine to execute in terminology: sudo apt remove iio-sensor-proxy
Now reboot pc.
Stefan
|
|
|
Post by jayxskye on Apr 5, 2022 11:52:07 GMT
Thank you and thank you.
Unfortunately "0 to remove". I also did all the upgrades/updates to no effect.
Currently trying to get into xorg.conf (can't find it. Barking up the wrong tree?) and hoping to find something like: Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Device" "/dev/input/mouse1" Option "Protocol" "auto" Option "ZAxisMapping" "4 5" Option "Emulate3Buttons" "true" Option "InvX" "on" Option "InvY" "on" EndSection
Hoping I'll be able to experiment with these settings.
I really do not want to go back to Windows and I am ok with "breaking" the current installation, so any suggestions are welcome.
Thanks again, Jayx
|
|
|
Post by thewaiter on Apr 5, 2022 12:30:58 GMT
OK
Two hints: 1. it is surprising you do not have iio-sensor-proxy installed. What about installing it as you are on tablet? Maybe it could have some impact on your problem (sudo apt install iio-sensor-proxy and reboot your device). 2. xorg.conf file is located in /etc/X11 directory. That file (xorg.conf) is not mandatory so it is possible you can not find it. But you can save your text above as xorg.conf file to /etc/X11 location (with sudo), reboot and check if helps or not.
Stefan
|
|
|
Post by jayxskye on Apr 6, 2022 7:12:22 GMT
Hi Stefan,
iio-sensor-proxy installed, started and rebooted. Confirmed service is running. No effect.
Wrote the above code and then several variations into xorg.conf with no effect.
Jayx
|
|
|
Post by thewaiter on Apr 6, 2022 10:20:48 GMT
You mentioned you tried xrandr solution
Have you tried something like this?
xrandr --output eDP-1 --rotate inverted
(Of course eDP-1 has to be your device name)
Stefan
|
|
|
Post by jayxskye on Apr 6, 2022 12:12:33 GMT
Yes I have tried xrandr and the mouse just rotates with the screen, staying inverted to what ever position the screen is in.
|
|
|
Post by thewaiter on Apr 6, 2022 12:21:48 GMT
OKay
As I never give up (lol) try this: sudo apt install xinput
Identify the mouse using xinput: xinput list
Once you find the mouse and the line that says id=X (where X is the mouse id), then do the following:
xinput set-prop X "Coordinate Transformation Matrix" -1 0 1 0 -1 1 0 0 1
Stefan
|
|
|
Post by jayxskye on Apr 6, 2022 12:29:29 GMT
Well if "never" is as per the dictionary then I will hang in here.
So that xinput corrects my x axis movement. So left is left and right is right. Y is still inverted and most importantly (!) the click coordinates are still inverted. Through xinput I can get the mouse/cursor (upside down) to move as it must but the coordinates are inverted (and pointer is upside down)
This does not happen in safe mode ... display and mouse is the same.
|
|
|
Post by thewaiter on Apr 6, 2022 12:39:15 GMT
I would like to see a screencast. It is not easy to understand the mouse movement.
S
|
|
|
Post by jayxskye on Apr 6, 2022 12:44:20 GMT
Sorry Edit: the pointer now moves correctly but the click coordinates are still inverted and the pointer is upside down.
So if I click on the left side of the desktop the menu opens on the right. If I click on the top left the menu opens on the bottom right and vice versa.
Screencast?
|
|
|
Post by jayxskye on Apr 6, 2022 12:48:43 GMT
There is a lot of "enable touchpad XY flip" type commands out there but I cannot find a way to implement it.
I have not even explored Bodhi/linux yet, doing research on my desktop. Key only is painful.
|
|
|
Post by thewaiter on Apr 6, 2022 12:49:30 GMT
Tell me, what device are you using?
Mouse plugged to USB or touchpad?
|
|
|
Post by thewaiter on Apr 6, 2022 12:59:37 GMT
It is interesting. Internet is full of this answer:
I figured out a workaround: # sudo apt remove iio-sensor-proxy --purge then reboot, from that point your screen is always upside down, you need to issue $ xrandr --output eDP-1 --rotate inverted
PS: if your PC is a tablet, what hapens if you rotate the screen manually in your hands?
|
|
|
Post by jayxskye on Apr 6, 2022 14:02:16 GMT
It's a 2 in 1 "tablet pc" Intel Z8350 USB mouse and touchpad does the same. No touch registers on screen. No rotation when manually rotating screen.
Yes I am not the only one looking for a solution. The workaround does not work. The display and mouse rotates/inverts together, which means the mouse and display remains inverted/opposite...
|
|