10

I just did a clean installation of Ubuntu 18.04.1 on a tablet which was previously running Ubuntu 17.10. Back then just after the installation the screen was rotated, but I was able to get it to work (I think it was running on Wayland).

Now with 18.04.1 the situation is similar: when Ubuntu first boots the login screen is upside-down, but that's not a problem. This time, after login, the screen is correctly oriented but the mouse cursor is upside down and mouse movements are inverted with respect to both axes. The problem is that when I try to click on something the click is registered on the position on the other side of the screen (symmetrically with respect to the center).

It almost seems like the screen (desktop, application, etc.) is correctly displayed, with also the mouse positioned correctly and moving as it should, but then the mouse cursor which is shown to the user is inverted, like if the screen had been inverted just before drawing the cursor.

I already tried the answers I could find, but none worked for me. Anyone have an idea of what's going on?

Thanks

Zanna
  • 72,312

4 Answers4

11

I tried following these instructions, but that didn't work. Then what I did was simply open Terminal using Ctrl+Alt+T and invert the screen using

xrandr --output eDP-1 --rotated inverted

Then running

sudo apt-get update
sudo apt-get upgrade

After rebooting, everything went back to normal.

To prevent GNOME from communicating with the sensor hardware I ran the command

sudo apt-get remove iio-sensor-proxy

This solved everything for me.

Zanna
  • 72,312
khalid
  • 226
5

You can just run

sudo apt remove iio-sensor-proxy

and reboot then. Everything would come back to normal.

1

In my case, the screen and the cursor went upside down after Upgrading to the new 19.04 version.

I just ran the command :

sudo apt remove iio-sensor-proxy

Then I reboot and everything is back to normal.

Kevin Bowen
  • 20,055
  • 57
  • 82
  • 84
SerDio
  • 11
  • 1
0

I never found an exact solution to this strange problem and I always had to restart the system to fix the problem.

But I realized that by plugging and unplugging the mouse connection (In my case it is a USB cable) problem is solved.

Amir
  • 281