This is a static archive of the old Zorin Forum.

The information below may be outdated. Visit the new Zorin Forum here ›

If you have registered on the old forum, you will need to create an account on the new forum.

Upside down laptop monitor

Janlam

Tue Mar 19, 2019 2:44:21 am

Information about my setup:

Dual boot Windows 10 Pro / Zorin OS 12.4 64-bit Ultimate
HP Envy 17t Laptop
Processor: Intel® Core™ i7-8550U CPU @ 1.80GHz × 8
Graphics: GeForce MX150/PCIe/SSE2
Memory: 15.6 GiB

Often the screen is upside down when I boot the laptop. As soon as I plug in an HDMI plug for a secondary monitor, the screen turns right side up. How can I fix this issue, as I do not always have the secondary monitor with me?

Thank you for any advice to resolve this annoyance.
Jan Lam

Swarfendor437

Tue Mar 19, 2019 1:13:28 pm

Hi, install dconf-editor and follow the advice given here:

https://askubuntu.com/questions/874487/ ... ly-changes

To learn about installing dconf-editor, download the unoffical manual I wrote for Zorin 12. ;) :D

Look for the manual link under Announcements.

Janlam

Thu Mar 21, 2019 5:31:33 pm

Swarfendor437 wrote:Hi, install dconf-editor and follow the advice given here:

https://askubuntu.com/questions/874487/ ... ly-changes

To learn about installing dconf-editor, download the unoffical manual I wrote for Zorin 12. ;) :D

Look for the manual link under Announcements.

Thank you so much for the reply. I didn't have much time to try to fix it, but as I was having other very annoying issues with OS 12.4, like the software manager that kept closing down on me, I since installed the OS 15 beta, and it is already so much better. The screen issue still happened a couple of times, but immediately turned the correct way.
Thanks again! We'll see how it goes.
JL

zorinantwerp

Thu Mar 21, 2019 7:22:32 pm

Hi
known bug
can you try in Terminal (Ctrl+Alt+t)
Code:
gsettings set org.gnome.settings-daemon.plugins.orientation active false

reboot
please advise outcome
+++

Janlam

Fri Mar 22, 2019 2:22:45 am

zorinantwerp wrote:Hi
known bug
can you try in Terminal (Ctrl+Alt+t)
Code:
gsettings set org.gnome.settings-daemon.plugins.orientation active false

reboot
please advise outcome
+++

Thank you for your advice. I did as suggested. If the problem persists, I'll let you know.
Cheers.
JL

chrismanch

Fri Jul 05, 2019 6:54:47 pm

I too have the screen inverting problem. I tried entering the above command yesterday. Has been OK until just now when I was watching a YouTube video and the screen inverted again.
Google Chrome
Zorin OS 15 / Dual boot Win 10 pro
HP-Elitebook 9470m
Intel® Core™ i7-3667U CPU @ 2.00GHz × 4
Intel® Ivybridge Mobile

Swarfendor437

Thu Jul 11, 2019 5:16:49 pm

Have you tried following zorinantwerp's advice? ;)

chrismanch

Thu Jul 11, 2019 6:04:39 pm

I did and it still happens.

It seems to happen mostly when watching a video, has happened when watching a video on twitter, on VLC Media Player and while watching a video on Facebook. Occasionally happens when I am not at the PC.

Swarfendor437

Fri Jul 12, 2019 1:08:23 am

Hi I'll flag this thread to Team Zorin. ;)

chrismanch

Sat Nov 30, 2019 2:14:55 am

Suddenly this is back with a vengence. Hasn't happened for months then every time I watch a YouTube video the screen inverts.

Swarfendor437

Sat Nov 30, 2019 12:56:28 pm

So are you using Chrome? I have better results using Firefox. ;) :D

chrismanch

Sun Dec 01, 2019 3:22:23 pm

The problem went away for months and then suddenly, every time I watch a video on Twitter the screen inverts. Also happens on Facebook when watching videos. Have to reboot.

ZorinOS 15
HP Folio 9470m/7.7GB 64 bit
Chrome Version 78.0.3904.108 (Official Build)

Swarfendor437

Sun Dec 01, 2019 3:54:14 pm

Like I said, no issues in Firefox - can you please install Firefox and see if you get the same results? ;) :D

chrismanch

Thu Aug 06, 2020 3:51:01 pm

I don't think saying "use another application" is the answer. May as well say "switch to Windows".
I've been putting up with my screen inverting when I play video, but now it has gone inverted all the time.

$ xrandr -o normal

changes it back again, but only until reboot. The ZORIN logo comes up at reboot the right way round, then inverts and then the whole screen is inverted.

I liked Zorin but currently I am using Manjaro which doesn't have the problem.

Aravisian

Thu Aug 06, 2020 4:54:20 pm

chrismanch wrote:I don't think saying "use another application" is the answer. May as well say "switch to Windows".
I've been putting up with my screen inverting when I play video, but now it has gone inverted all the time.

$ xrandr -o normal

changes it back again, but only until reboot. The ZORIN logo comes up at reboot the right way round, then inverts and then the whole screen is inverted.

I liked Zorin but currently I am using Manjaro which doesn't have the problem.

Strangely, this may possibly be due to a feature Zorin has that Manjaro lacks. Some notebooks come with a Gyroscope that determines screen rotation much like an android phone. This can be activated by heavy GPU use, even if the notebook is held steady.
It comes with an accelerometer.
These fixes may help you:
https://askubuntu.com/questions/1030929 ... how-to-fix

Next: Graphics Drivers may need to be tweaked.

Since you solved the problem by switching Distros, you may not want to mess with it. But if the problem returns or you switch Distros again causing it to return, feel free to ask for some pointers.

chrismanch

Fri Aug 07, 2020 10:55:07 pm

Thanks for taking the time to try to help.

I looked at https://askubuntu.com/questions/1030929 ... how-to-fix and my laptop does apparently have a gyroscope, apparently just to protect the hard drive in case it is dropped. However I have replaced the hard drive with an SSD so that is no longer needed. Laptop is used on a table, not on a lap, so quite steady.

I did have the setting to turn off rotation. I clicked to turn it off (turns into a padlock) and rebooted. Screen still inverts midway through bootup at ZorinOS logo (ZorinOS logo inverts before the login screen comes up).

Turned screen rotate on again, issued xrandr -o normal to turn the screen back the right way up, turned screen rotate off (padlock), rebooted, screen still inverts half-way through boot.

Added blacklist hp_accel to blacklist.conf and rebooted. Now the screen rotate icon disappears (as I would expect) but the screen STILL rotates half-way through boot up.

Aravisian

Sat Aug 08, 2020 6:53:51 am

Have you tried entering the following into terminal:
Code:
gsettings set org.gnome.settings-daemon.plugins.orientation active false

chrismanch

Sun Aug 09, 2020 12:02:05 am

Aravisian wrote:Have you tried entering the following into terminal:
Code:
gsettings set org.gnome.settings-daemon.plugins.orientation active false


I just did that, it didn't produce any output. Then rebooted and the screen inverted again.

The seems to invert while the ZORIN bootup logo is showing, just before the mouse pointer appears.

At first it would invert about once a week, seemingly at random. Then it started inverting EVERY time I played any video, and now it is inverted permanently.

Aravisian

Sun Aug 09, 2020 5:17:29 am

chrismanch wrote:
Aravisian wrote:Have you tried entering the following into terminal:
Code:
gsettings set org.gnome.settings-daemon.plugins.orientation active false


I just did that, it didn't produce any output. Then rebooted and the screen inverted again.

The seems to invert while the ZORIN bootup logo is showing, just before the mouse pointer appears.

At first it would invert about once a week, seemingly at random. Then it started inverting EVERY time I played any video, and now it is inverted permanently.

That has got to be frustrating. It sounds like a glitch compounded over time.

Searching the web, I found some had success with the following: removing the iio sensor proxy (this is driver for the acceleromter mentioned earlier. https://developer.gnome.org/iio-sensor-proxy/
As Zorin 15 offers the day/night theming, this may be the culprit.)
Code:
sudo apt remove iio-sensor-proxy

Then change the 'orientation' setting to "landscape" and reboot.

Another said they typed in their app menu or activities overview search box 'lock orientation' and clicked on the output to solve.

I do not know if you have tried these already.

chrismanch

Sun Aug 09, 2020 7:21:15 pm

OK, what I did -

sudo apt remove iio-sensor-proxy This uninstalled the driver as expected.

Then I xrandr -o normal to correct the orientation.

Then I searched activities overview for 'lock orientation' but all it found was a game.

Rebooted, still inverts during boot!

I had a utility to turn on Turbo Boost, and I remembered what you said about high CPU use causing this problem. As the utility turned on Turbo Boost when playing video I thought that may be related so I tried turning off turbo boost, and then uninstalled the utility. Rebooted and it still inverts during boot.

At least I am getting good at using a mouse inverted!

Swarfendor437

Sun Aug 09, 2020 8:12:11 pm

Hey, if you are getting proficient at an upside down mouse you might be chosen for the Mars mission! ;) :D

Aravisian

Sun Aug 09, 2020 9:34:03 pm

chrismanch wrote:OK, what I did -

sudo apt remove iio-sensor-proxy This uninstalled the driver as expected.

Then I xrandr -o normal to correct the orientation.

Then I searched activities overview for 'lock orientation' but all it found was a game.

Rebooted, still inverts during boot!

I had a utility to turn on Turbo Boost, and I remembered what you said about high CPU use causing this problem. As the utility turned on Turbo Boost when playing video I thought that may be related so I tried turning off turbo boost, and then uninstalled the utility. Rebooted and it still inverts during boot.

At least I am getting good at using a mouse inverted!

Does it happen when using the LiveCD?

chrismanch

Tue Aug 11, 2020 12:37:53 am

I haven't tried the live CD. This laptop doesn't actually have a CD drive. (I know I could use a USB stick).

I think it is something to do with Gnome addons. I was experimenting with turning them off last night and the screen inverted, then the laptop crashed and rebooted. I haven't had chance to do more experimentation yet.

Aravisian

Tue Aug 11, 2020 1:07:30 am

chrismanch wrote:I haven't tried the live CD. This laptop doesn't actually have a CD drive. (I know I could use a USB stick).

I think it is something to do with Gnome addons. I was experimenting with turning them off last night and the screen inverted, then the laptop crashed and rebooted. I haven't had chance to do more experimentation yet.

Zorin 15 Lite does not use the Gnome Extensions. Might be worth testing that out.

chrismanch

Tue Aug 11, 2020 2:10:24 pm

I am using ZorinOS Ultimate and don't want to lose that.

I went into Gnome Tweaks and turned off all the extensions using the slider at the top. The screen immediately inverted. I changed it back with xrandr -o normal and rebooted. Still inverts during boot!

Aravisian

Tue Aug 11, 2020 4:10:46 pm

In terminal, can you run
Code:
locate iio-sensor-proxy

and paste the output here?

chrismanch

Tue Aug 11, 2020 9:00:00 pm

$ locate iio-sensor-proxy
/home/timeshift/snapshots/2020-01-13_01-00-02/localhost/lib/systemd/system/iio-sensor-proxy.service
/home/timeshift/snapshots/2020-01-13_01-00-02/localhost/lib/udev/rules.d/80-iio-sensor-proxy.rules
/home/timeshift/snapshots/2020-01-13_01-00-02/localhost/usr/lib/x86_64-linux-gnu/qt5/plugins/sensors/libqtsensors_iio-sensor-proxy.so
/home/timeshift/snapshots/2020-01-13_01-00-02/localhost/usr/sbin/iio-sensor-proxy
/home/timeshift/snapshots/2020-01-13_01-00-02/localhost/usr/share/doc/iio-sensor-proxy
/home/timeshift/snapshots/2020-01-13_01-00-02/localhost/usr/share/doc/iio-sensor-proxy/changelog.Debian.gz
/home/timeshift/snapshots/2020-01-13_01-00-02/localhost/usr/share/doc/iio-sensor-proxy/copyright
/home/timeshift/snapshots/2020-01-13_01-00-02/localhost/usr/share/gtk-doc/html/iio-sensor-proxy
/home/timeshift/snapshots/2020-01-13_01-00-02/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/gdbus-net.hadess.SensorProxy.Compass.html
/home/timeshift/snapshots/2020-01-13_01-00-02/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/gdbus-net.hadess.SensorProxy.html
/home/timeshift/snapshots/2020-01-13_01-00-02/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/home.png
/home/timeshift/snapshots/2020-01-13_01-00-02/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/iio-sensor-proxy.devhelp2
/home/timeshift/snapshots/2020-01-13_01-00-02/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/index.html
/home/timeshift/snapshots/2020-01-13_01-00-02/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/ix01.html
/home/timeshift/snapshots/2020-01-13_01-00-02/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/left-insensitive.png
/home/timeshift/snapshots/2020-01-13_01-00-02/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/left.png
/home/timeshift/snapshots/2020-01-13_01-00-02/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/license.html
/home/timeshift/snapshots/2020-01-13_01-00-02/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/ref-dbus.html
/home/timeshift/snapshots/2020-01-13_01-00-02/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/right-insensitive.png
/home/timeshift/snapshots/2020-01-13_01-00-02/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/right.png
/home/timeshift/snapshots/2020-01-13_01-00-02/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/style.css
/home/timeshift/snapshots/2020-01-13_01-00-02/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/up-insensitive.png
/home/timeshift/snapshots/2020-01-13_01-00-02/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/up.png
/home/timeshift/snapshots/2020-01-13_01-00-02/localhost/var/lib/dpkg/info/iio-sensor-proxy.conffiles
/home/timeshift/snapshots/2020-01-13_01-00-02/localhost/var/lib/dpkg/info/iio-sensor-proxy.list
/home/timeshift/snapshots/2020-01-13_01-00-02/localhost/var/lib/dpkg/info/iio-sensor-proxy.md5sums
/home/timeshift/snapshots/2020-01-13_01-00-02/localhost/var/lib/dpkg/info/iio-sensor-proxy.postinst
/home/timeshift/snapshots/2020-01-13_01-00-02/localhost/var/lib/dpkg/info/iio-sensor-proxy.postrm
/home/timeshift/snapshots/2020-01-13_01-00-02/localhost/var/lib/dpkg/info/iio-sensor-proxy.prerm
/home/timeshift/snapshots/2020-01-13_01-00-02/localhost/var/lib/flatpak/runtime/org.kde.Platform/x86_64/5.13/12f0bb3c2d986ecc95d6cd1e6b47e9bd4cf23a5aac69068c776b25cbb0741963/files/lib/plugins/sensors/libqtsensors_iio-sensor-proxy.so
/home/timeshift/snapshots/2020-01-13_01-00-02/localhost/var/tmp/systemd-private-0146cfc4f3ef4b5b991ee545d4f7bc6b-iio-sensor-proxy.service-2jTZhO
/home/timeshift/snapshots/2020-01-14_01-00-01/localhost/lib/systemd/system/iio-sensor-proxy.service
/home/timeshift/snapshots/2020-01-14_01-00-01/localhost/lib/udev/rules.d/80-iio-sensor-proxy.rules
/home/timeshift/snapshots/2020-01-14_01-00-01/localhost/usr/lib/x86_64-linux-gnu/qt5/plugins/sensors/libqtsensors_iio-sensor-proxy.so
/home/timeshift/snapshots/2020-01-14_01-00-01/localhost/usr/sbin/iio-sensor-proxy
/home/timeshift/snapshots/2020-01-14_01-00-01/localhost/usr/share/doc/iio-sensor-proxy
/home/timeshift/snapshots/2020-01-14_01-00-01/localhost/usr/share/doc/iio-sensor-proxy/changelog.Debian.gz
/home/timeshift/snapshots/2020-01-14_01-00-01/localhost/usr/share/doc/iio-sensor-proxy/copyright
/home/timeshift/snapshots/2020-01-14_01-00-01/localhost/usr/share/gtk-doc/html/iio-sensor-proxy
/home/timeshift/snapshots/2020-01-14_01-00-01/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/gdbus-net.hadess.SensorProxy.Compass.html
/home/timeshift/snapshots/2020-01-14_01-00-01/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/gdbus-net.hadess.SensorProxy.html
/home/timeshift/snapshots/2020-01-14_01-00-01/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/home.png
/home/timeshift/snapshots/2020-01-14_01-00-01/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/iio-sensor-proxy.devhelp2
/home/timeshift/snapshots/2020-01-14_01-00-01/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/index.html
/home/timeshift/snapshots/2020-01-14_01-00-01/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/ix01.html
/home/timeshift/snapshots/2020-01-14_01-00-01/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/left-insensitive.png
/home/timeshift/snapshots/2020-01-14_01-00-01/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/left.png
/home/timeshift/snapshots/2020-01-14_01-00-01/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/license.html
/home/timeshift/snapshots/2020-01-14_01-00-01/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/ref-dbus.html
/home/timeshift/snapshots/2020-01-14_01-00-01/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/right-insensitive.png
/home/timeshift/snapshots/2020-01-14_01-00-01/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/right.png
/home/timeshift/snapshots/2020-01-14_01-00-01/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/style.css
/home/timeshift/snapshots/2020-01-14_01-00-01/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/up-insensitive.png
/home/timeshift/snapshots/2020-01-14_01-00-01/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/up.png
/home/timeshift/snapshots/2020-01-14_01-00-01/localhost/var/lib/dpkg/info/iio-sensor-proxy.conffiles
/home/timeshift/snapshots/2020-01-14_01-00-01/localhost/var/lib/dpkg/info/iio-sensor-proxy.list
/home/timeshift/snapshots/2020-01-14_01-00-01/localhost/var/lib/dpkg/info/iio-sensor-proxy.md5sums
/home/timeshift/snapshots/2020-01-14_01-00-01/localhost/var/lib/dpkg/info/iio-sensor-proxy.postinst
/home/timeshift/snapshots/2020-01-14_01-00-01/localhost/var/lib/dpkg/info/iio-sensor-proxy.postrm
/home/timeshift/snapshots/2020-01-14_01-00-01/localhost/var/lib/dpkg/info/iio-sensor-proxy.prerm
/home/timeshift/snapshots/2020-01-14_01-00-01/localhost/var/lib/flatpak/runtime/org.kde.Platform/x86_64/5.13/12f0bb3c2d986ecc95d6cd1e6b47e9bd4cf23a5aac69068c776b25cbb0741963/files/lib/plugins/sensors/libqtsensors_iio-sensor-proxy.so
/home/timeshift/snapshots/2020-01-14_01-00-01/localhost/var/tmp/systemd-private-00e059f0475842e6ba735dfbbe21245e-iio-sensor-proxy.service-a0qpdm
/home/timeshift/snapshots/2020-01-15_01-00-02/localhost/lib/systemd/system/iio-sensor-proxy.service
/home/timeshift/snapshots/2020-01-15_01-00-02/localhost/lib/udev/rules.d/80-iio-sensor-proxy.rules
/home/timeshift/snapshots/2020-01-15_01-00-02/localhost/usr/lib/x86_64-linux-gnu/qt5/plugins/sensors/libqtsensors_iio-sensor-proxy.so
/home/timeshift/snapshots/2020-01-15_01-00-02/localhost/usr/sbin/iio-sensor-proxy
/home/timeshift/snapshots/2020-01-15_01-00-02/localhost/usr/share/doc/iio-sensor-proxy
/home/timeshift/snapshots/2020-01-15_01-00-02/localhost/usr/share/doc/iio-sensor-proxy/changelog.Debian.gz
/home/timeshift/snapshots/2020-01-15_01-00-02/localhost/usr/share/doc/iio-sensor-proxy/copyright
/home/timeshift/snapshots/2020-01-15_01-00-02/localhost/usr/share/gtk-doc/html/iio-sensor-proxy
/home/timeshift/snapshots/2020-01-15_01-00-02/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/gdbus-net.hadess.SensorProxy.Compass.html
/home/timeshift/snapshots/2020-01-15_01-00-02/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/gdbus-net.hadess.SensorProxy.html
/home/timeshift/snapshots/2020-01-15_01-00-02/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/home.png
/home/timeshift/snapshots/2020-01-15_01-00-02/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/iio-sensor-proxy.devhelp2
/home/timeshift/snapshots/2020-01-15_01-00-02/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/index.html
/home/timeshift/snapshots/2020-01-15_01-00-02/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/ix01.html
/home/timeshift/snapshots/2020-01-15_01-00-02/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/left-insensitive.png
/home/timeshift/snapshots/2020-01-15_01-00-02/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/left.png
/home/timeshift/snapshots/2020-01-15_01-00-02/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/license.html
/home/timeshift/snapshots/2020-01-15_01-00-02/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/ref-dbus.html
/home/timeshift/snapshots/2020-01-15_01-00-02/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/right-insensitive.png
/home/timeshift/snapshots/2020-01-15_01-00-02/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/right.png
/home/timeshift/snapshots/2020-01-15_01-00-02/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/style.css
/home/timeshift/snapshots/2020-01-15_01-00-02/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/up-insensitive.png
/home/timeshift/snapshots/2020-01-15_01-00-02/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/up.png
/home/timeshift/snapshots/2020-01-15_01-00-02/localhost/var/lib/dpkg/info/iio-sensor-proxy.conffiles
/home/timeshift/snapshots/2020-01-15_01-00-02/localhost/var/lib/dpkg/info/iio-sensor-proxy.list
/home/timeshift/snapshots/2020-01-15_01-00-02/localhost/var/lib/dpkg/info/iio-sensor-proxy.md5sums
/home/timeshift/snapshots/2020-01-15_01-00-02/localhost/var/lib/dpkg/info/iio-sensor-proxy.postinst
/home/timeshift/snapshots/2020-01-15_01-00-02/localhost/var/lib/dpkg/info/iio-sensor-proxy.postrm
/home/timeshift/snapshots/2020-01-15_01-00-02/localhost/var/lib/dpkg/info/iio-sensor-proxy.prerm
/home/timeshift/snapshots/2020-01-15_01-00-02/localhost/var/lib/flatpak/runtime/org.kde.Platform/x86_64/5.13/12f0bb3c2d986ecc95d6cd1e6b47e9bd4cf23a5aac69068c776b25cbb0741963/files/lib/plugins/sensors/libqtsensors_iio-sensor-proxy.so
/home/timeshift/snapshots/2020-01-15_01-00-02/localhost/var/tmp/systemd-private-71522b92c8ee4e30a234321f7c1f4e54-iio-sensor-proxy.service-OKddKk
/home/timeshift/snapshots/2020-01-16_02-00-01/localhost/lib/systemd/system/iio-sensor-proxy.service
/home/timeshift/snapshots/2020-01-16_02-00-01/localhost/lib/udev/rules.d/80-iio-sensor-proxy.rules
/home/timeshift/snapshots/2020-01-16_02-00-01/localhost/usr/lib/x86_64-linux-gnu/qt5/plugins/sensors/libqtsensors_iio-sensor-proxy.so
/home/timeshift/snapshots/2020-01-16_02-00-01/localhost/usr/sbin/iio-sensor-proxy
/home/timeshift/snapshots/2020-01-16_02-00-01/localhost/usr/share/doc/iio-sensor-proxy
/home/timeshift/snapshots/2020-01-16_02-00-01/localhost/usr/share/doc/iio-sensor-proxy/changelog.Debian.gz
/home/timeshift/snapshots/2020-01-16_02-00-01/localhost/usr/share/doc/iio-sensor-proxy/copyright
/home/timeshift/snapshots/2020-01-16_02-00-01/localhost/usr/share/gtk-doc/html/iio-sensor-proxy
/home/timeshift/snapshots/2020-01-16_02-00-01/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/gdbus-net.hadess.SensorProxy.Compass.html
/home/timeshift/snapshots/2020-01-16_02-00-01/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/gdbus-net.hadess.SensorProxy.html
/home/timeshift/snapshots/2020-01-16_02-00-01/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/home.png
/home/timeshift/snapshots/2020-01-16_02-00-01/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/iio-sensor-proxy.devhelp2
/home/timeshift/snapshots/2020-01-16_02-00-01/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/index.html
/home/timeshift/snapshots/2020-01-16_02-00-01/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/ix01.html
/home/timeshift/snapshots/2020-01-16_02-00-01/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/left-insensitive.png
/home/timeshift/snapshots/2020-01-16_02-00-01/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/left.png
/home/timeshift/snapshots/2020-01-16_02-00-01/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/license.html
/home/timeshift/snapshots/2020-01-16_02-00-01/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/ref-dbus.html
/home/timeshift/snapshots/2020-01-16_02-00-01/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/right-insensitive.png
/home/timeshift/snapshots/2020-01-16_02-00-01/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/right.png
/home/timeshift/snapshots/2020-01-16_02-00-01/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/style.css
/home/timeshift/snapshots/2020-01-16_02-00-01/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/up-insensitive.png
/home/timeshift/snapshots/2020-01-16_02-00-01/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/up.png
/home/timeshift/snapshots/2020-01-16_02-00-01/localhost/var/lib/dpkg/info/iio-sensor-proxy.conffiles
/home/timeshift/snapshots/2020-01-16_02-00-01/localhost/var/lib/dpkg/info/iio-sensor-proxy.list
/home/timeshift/snapshots/2020-01-16_02-00-01/localhost/var/lib/dpkg/info/iio-sensor-proxy.md5sums
/home/timeshift/snapshots/2020-01-16_02-00-01/localhost/var/lib/dpkg/info/iio-sensor-proxy.postinst
/home/timeshift/snapshots/2020-01-16_02-00-01/localhost/var/lib/dpkg/info/iio-sensor-proxy.postrm
/home/timeshift/snapshots/2020-01-16_02-00-01/localhost/var/lib/dpkg/info/iio-sensor-proxy.prerm
/home/timeshift/snapshots/2020-01-16_02-00-01/localhost/var/lib/flatpak/runtime/org.kde.Platform/x86_64/5.13/12f0bb3c2d986ecc95d6cd1e6b47e9bd4cf23a5aac69068c776b25cbb0741963/files/lib/plugins/sensors/libqtsensors_iio-sensor-proxy.so
/home/timeshift/snapshots/2020-01-16_02-00-01/localhost/var/tmp/systemd-private-a43411119ffd45e1b73e6c2a66c53f5a-iio-sensor-proxy.service-FauNmC
/home/timeshift/snapshots/2020-07-24_01-00-02/localhost/lib/systemd/system/iio-sensor-proxy.service
/home/timeshift/snapshots/2020-07-24_01-00-02/localhost/lib/udev/rules.d/80-iio-sensor-proxy.rules
/home/timeshift/snapshots/2020-07-24_01-00-02/localhost/usr/lib/x86_64-linux-gnu/qt5/plugins/sensors/libqtsensors_iio-sensor-proxy.so
/home/timeshift/snapshots/2020-07-24_01-00-02/localhost/usr/sbin/iio-sensor-proxy
/home/timeshift/snapshots/2020-07-24_01-00-02/localhost/usr/share/doc/iio-sensor-proxy
/home/timeshift/snapshots/2020-07-24_01-00-02/localhost/usr/share/doc/iio-sensor-proxy/changelog.Debian.gz
/home/timeshift/snapshots/2020-07-24_01-00-02/localhost/usr/share/doc/iio-sensor-proxy/copyright
/home/timeshift/snapshots/2020-07-24_01-00-02/localhost/usr/share/gtk-doc/html/iio-sensor-proxy
/home/timeshift/snapshots/2020-07-24_01-00-02/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/gdbus-net.hadess.SensorProxy.Compass.html
/home/timeshift/snapshots/2020-07-24_01-00-02/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/gdbus-net.hadess.SensorProxy.html
/home/timeshift/snapshots/2020-07-24_01-00-02/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/home.png
/home/timeshift/snapshots/2020-07-24_01-00-02/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/iio-sensor-proxy.devhelp2
/home/timeshift/snapshots/2020-07-24_01-00-02/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/index.html
/home/timeshift/snapshots/2020-07-24_01-00-02/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/ix01.html
/home/timeshift/snapshots/2020-07-24_01-00-02/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/left-insensitive.png
/home/timeshift/snapshots/2020-07-24_01-00-02/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/left.png
/home/timeshift/snapshots/2020-07-24_01-00-02/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/license.html
/home/timeshift/snapshots/2020-07-24_01-00-02/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/ref-dbus.html
/home/timeshift/snapshots/2020-07-24_01-00-02/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/right-insensitive.png
/home/timeshift/snapshots/2020-07-24_01-00-02/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/right.png
/home/timeshift/snapshots/2020-07-24_01-00-02/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/style.css
/home/timeshift/snapshots/2020-07-24_01-00-02/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/up-insensitive.png
/home/timeshift/snapshots/2020-07-24_01-00-02/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/up.png
/home/timeshift/snapshots/2020-07-24_01-00-02/localhost/var/lib/dpkg/info/iio-sensor-proxy.conffiles
/home/timeshift/snapshots/2020-07-24_01-00-02/localhost/var/lib/dpkg/info/iio-sensor-proxy.list
/home/timeshift/snapshots/2020-07-24_01-00-02/localhost/var/lib/dpkg/info/iio-sensor-proxy.md5sums
/home/timeshift/snapshots/2020-07-24_01-00-02/localhost/var/lib/dpkg/info/iio-sensor-proxy.postinst
/home/timeshift/snapshots/2020-07-24_01-00-02/localhost/var/lib/dpkg/info/iio-sensor-proxy.postrm
/home/timeshift/snapshots/2020-07-24_01-00-02/localhost/var/lib/dpkg/info/iio-sensor-proxy.prerm
/home/timeshift/snapshots/2020-07-24_01-00-02/localhost/var/lib/flatpak/app/com.xnview.XnViewMP/x86_64/stable/9fe6e2073ab1997f8d5c165da86dde732313494539fd28bb92f491413dabcac2/files/XnView/lib/sensors/libqtsensors_iio-sensor-proxy.so
/home/timeshift/snapshots/2020-07-24_01-00-02/localhost/var/lib/flatpak/runtime/org.kde.Platform/x86_64/5.13/37f7d5df4060d796437bc2a07ae274643a91cd1968a4aaaa6bfdab8dc5189d1c/files/lib/plugins/sensors/libqtsensors_iio-sensor-proxy.so
/home/timeshift/snapshots/2020-07-24_01-00-02/localhost/var/lib/flatpak/runtime/org.kde.Platform/x86_64/5.14/d523efb2b75a384bc054d8925327e205cdc31dedd5b026821218969c8e9ef7ad/files/lib/plugins/sensors/libqtsensors_iio-sensor-proxy.so
/home/timeshift/snapshots/2020-07-24_01-00-02/localhost/var/tmp/systemd-private-9f3b3656d66c469db03be887c74db603-iio-sensor-proxy.service-FhLij7
/home/timeshift/snapshots/2020-07-31_15-00-56/localhost/lib/systemd/system/iio-sensor-proxy.service
/home/timeshift/snapshots/2020-07-31_15-00-56/localhost/lib/udev/rules.d/80-iio-sensor-proxy.rules
/home/timeshift/snapshots/2020-07-31_15-00-56/localhost/usr/lib/x86_64-linux-gnu/qt5/plugins/sensors/libqtsensors_iio-sensor-proxy.so
/home/timeshift/snapshots/2020-07-31_15-00-56/localhost/usr/sbin/iio-sensor-proxy
/home/timeshift/snapshots/2020-07-31_15-00-56/localhost/usr/share/doc/iio-sensor-proxy
/home/timeshift/snapshots/2020-07-31_15-00-56/localhost/usr/share/doc/iio-sensor-proxy/changelog.Debian.gz
/home/timeshift/snapshots/2020-07-31_15-00-56/localhost/usr/share/doc/iio-sensor-proxy/copyright
/home/timeshift/snapshots/2020-07-31_15-00-56/localhost/usr/share/gtk-doc/html/iio-sensor-proxy
/home/timeshift/snapshots/2020-07-31_15-00-56/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/gdbus-net.hadess.SensorProxy.Compass.html
/home/timeshift/snapshots/2020-07-31_15-00-56/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/gdbus-net.hadess.SensorProxy.html
/home/timeshift/snapshots/2020-07-31_15-00-56/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/home.png
/home/timeshift/snapshots/2020-07-31_15-00-56/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/iio-sensor-proxy.devhelp2
/home/timeshift/snapshots/2020-07-31_15-00-56/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/index.html
/home/timeshift/snapshots/2020-07-31_15-00-56/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/ix01.html
/home/timeshift/snapshots/2020-07-31_15-00-56/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/left-insensitive.png
/home/timeshift/snapshots/2020-07-31_15-00-56/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/left.png
/home/timeshift/snapshots/2020-07-31_15-00-56/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/license.html
/home/timeshift/snapshots/2020-07-31_15-00-56/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/ref-dbus.html
/home/timeshift/snapshots/2020-07-31_15-00-56/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/right-insensitive.png
/home/timeshift/snapshots/2020-07-31_15-00-56/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/right.png
/home/timeshift/snapshots/2020-07-31_15-00-56/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/style.css
/home/timeshift/snapshots/2020-07-31_15-00-56/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/up-insensitive.png
/home/timeshift/snapshots/2020-07-31_15-00-56/localhost/usr/share/gtk-doc/html/iio-sensor-proxy/up.png
/home/timeshift/snapshots/2020-07-31_15-00-56/localhost/var/lib/dpkg/info/iio-sensor-proxy.conffiles
/home/timeshift/snapshots/2020-07-31_15-00-56/localhost/var/lib/dpkg/info/iio-sensor-proxy.list
/home/timeshift/snapshots/2020-07-31_15-00-56/localhost/var/lib/dpkg/info/iio-sensor-proxy.md5sums
/home/timeshift/snapshots/2020-07-31_15-00-56/localhost/var/lib/dpkg/info/iio-sensor-proxy.postinst
/home/timeshift/snapshots/2020-07-31_15-00-56/localhost/var/lib/dpkg/info/iio-sensor-proxy.postrm
/home/timeshift/snapshots/2020-07-31_15-00-56/localhost/var/lib/dpkg/info/iio-sensor-proxy.prerm
/home/timeshift/snapshots/2020-07-31_15-00-56/localhost/var/lib/flatpak/app/com.xnview.XnViewMP/x86_64/stable/9fe6e2073ab1997f8d5c165da86dde732313494539fd28bb92f491413dabcac2/files/XnView/lib/sensors/libqtsensors_iio-sensor-proxy.so
/home/timeshift/snapshots/2020-07-31_15-00-56/localhost/var/lib/flatpak/runtime/org.kde.Platform/x86_64/5.13/37f7d5df4060d796437bc2a07ae274643a91cd1968a4aaaa6bfdab8dc5189d1c/files/lib/plugins/sensors/libqtsensors_iio-sensor-proxy.so
/home/timeshift/snapshots/2020-07-31_15-00-56/localhost/var/lib/flatpak/runtime/org.kde.Platform/x86_64/5.14/d523efb2b75a384bc054d8925327e205cdc31dedd5b026821218969c8e9ef7ad/files/lib/plugins/sensors/libqtsensors_iio-sensor-proxy.so
/home/timeshift/snapshots/2020-07-31_15-00-56/localhost/var/tmp/systemd-private-8391b17f0c1c4231812d54fa149e294a-iio-sensor-proxy.service-R4nmmT
/snap/kde-frameworks-5/27/usr/lib/x86_64-linux-gnu/qt5/plugins/sensors/libqtsensors_iio-sensor-proxy.so
/snap/kde-frameworks-5-core18/32/usr/lib/x86_64-linux-gnu/qt5/plugins/sensors/libqtsensors_iio-sensor-proxy.so
/snap/qt551/29/usr/lib/x86_64-linux-gnu/qt5/plugins/sensors/libqtsensors_iio-sensor-proxy.so
/snap/qt551/30/usr/lib/x86_64-linux-gnu/qt5/plugins/sensors/libqtsensors_iio-sensor-proxy.so
/usr/lib/x86_64-linux-gnu/qt5/plugins/sensors/libqtsensors_iio-sensor-proxy.so
/var/lib/dpkg/info/iio-sensor-proxy.list
/var/lib/dpkg/info/iio-sensor-proxy.postrm
/var/lib/flatpak/app/com.xnview.XnViewMP/x86_64/stable/9fe6e2073ab1997f8d5c165da86dde732313494539fd28bb92f491413dabcac2/files/XnView/lib/sensors/libqtsensors_iio-sensor-proxy.so
/var/lib/flatpak/runtime/org.kde.Platform/x86_64/5.13/37f7d5df4060d796437bc2a07ae274643a91cd1968a4aaaa6bfdab8dc5189d1c/files/lib/plugins/sensors/libqtsensors_iio-sensor-proxy.so
/var/lib/flatpak/runtime/org.kde.Platform/x86_64/5.14/d523efb2b75a384bc054d8925327e205cdc31dedd5b026821218969c8e9ef7ad/files/lib/plugins/sensors/libqtsensors_iio-sensor-proxy.so

Aravisian

Tue Aug 11, 2020 9:07:19 pm

It looks like you have iio-sensors-proxy included by Snap installations.
Have you tried removing iio-sensors-proxy using the snap removal?

If you get it working, you will want to re-run timeshift to get rid of it containing the file we are trying to get rid of now:P

EDIT: I should point out that I spent about two hours searching hard for a resolution earlier before posting about Locate command.
The iio-sensors-proxy really does seem to be the Most Viable cause. I could be wrong...

chrismanch

Tue Aug 11, 2020 10:43:19 pm

I do appreciate your efforts and time.

I am not sure how to do that. I did some googling which suggested I could list and remove snaps, but iio-sensor-proxy isn't a snap?

$ sudo snap list | grep iio-sensor-proxy gives no output.

While googling I found -
This https://elementaryos.stackexchange.com/ ... -hp-840-g1
suggested I do this sudo systemctl mask iio-sensor-proxy.service to mask any output from iio-sensor-proxy, but the screen still inverts during boot.

Also monitor-sensor just says "Waiting for iio-sensor-proxy to appear"

Aravisian

Tue Aug 11, 2020 11:17:26 pm

chrismanch wrote:I do appreciate your efforts and time.

I am not sure how to do that. I did some googling which suggested I could list and remove snaps, but iio-sensor-proxy isn't a snap?

$ sudo snap list | grep iio-sensor-proxy gives no output.

While googling I found -
This https://elementaryos.stackexchange.com/ ... -hp-840-g1
suggested I do this sudo systemctl mask iio-sensor-proxy.service to mask any output from iio-sensor-proxy, but the screen still inverts during boot.

Also monitor-sensor just says "Waiting for iio-sensor-proxy to appear"

I am sorry, I am an idiot. I did not RTFQ.
The post above that shows your output shows an .so or Shared Object file.
That sensor is also used for the Light/Dark theme, that brightens or darkens your theme automatically according to the Time of Day; Which is an extension and feature included in Zorin 15 Core Desktop.
If you could, please run in terminal:
Code:
locate iio-sensor-proxy.rules

On my machine, it shows as in /lib/udev/rules.d/80-iio-sensor-proxy.rules
It probably is the same for you. You can open that in terminal with "sudo nano" or by opening your file manager with elevated privileges using pkexec
But either way, you need to root access that file in order to edit it.
You will see the following:
Code:
SUBSYSTEM=="hwmon", TEST=="light", ENV{IIO_SENSOR_PROXY_TYPE}="hwmon-als"
SUBSYSTEM=="iio", TEST=="in_accel_x_raw", TEST=="in_accel_y_raw", TEST=="in_accel_z_raw", ENV{IIO_SENSOR_PROXY_TYPE}="iio-poll-accel"
SUBSYSTEM=="iio", TEST=="scan_elements/in_accel_x_en", TEST=="scan_elements/in_accel_y_en", TEST=="scan_elements/in_accel_z_en", ENV{IIO_SENSOR_PROXY_TYPE}="iio-buffer-accel"
SUBSYSTEM=="iio", TEST=="scan_elements/in_rot_from_north_magnetic_tilt_comp_en", ENV{IIO_SENSOR_PROXY_TYPE}="iio-buffer-compass"
SUBSYSTEM=="iio", TEST=="in_illuminance_input", ENV{IIO_SENSOR_PROXY_TYPE}="iio-poll-als"
SUBSYSTEM=="iio", TEST=="scan_elements/in_intensity_both_en", ENV{IIO_SENSOR_PROXY_TYPE}="iio-buffer-als"
SUBSYSTEM=="input", ENV{ID_INPUT_ACCELEROMETER}=="1", ENV{IIO_SENSOR_PROXY_TYPE}="input-accel"

comment that out with a hashtag so it look s like:
Code:
SUBSYSTEM=="hwmon", TEST=="light", ENV{IIO_SENSOR_PROXY_TYPE}="hwmon-als"
SUBSYSTEM=="iio", TEST=="in_accel_x_raw", TEST=="in_accel_y_raw", TEST=="in_accel_z_raw", ENV{IIO_SENSOR_PROXY_TYPE}="iio-poll-accel"
SUBSYSTEM=="iio", TEST=="scan_elements/in_accel_x_en", TEST=="scan_elements/in_accel_y_en", TEST=="scan_elements/in_accel_z_en", ENV{IIO_SENSOR_PROXY_TYPE}="iio-buffer-accel"
SUBSYSTEM=="iio", TEST=="scan_elements/in_rot_from_north_magnetic_tilt_comp_en", ENV{IIO_SENSOR_PROXY_TYPE}="iio-buffer-compass"
SUBSYSTEM=="iio", TEST=="in_illuminance_input", ENV{IIO_SENSOR_PROXY_TYPE}="iio-poll-als"
SUBSYSTEM=="iio", TEST=="scan_elements/in_intensity_both_en", ENV{IIO_SENSOR_PROXY_TYPE}="iio-buffer-als"
#SUBSYSTEM=="input", ENV{ID_INPUT_ACCELEROMETER}=="1", ENV{IIO_SENSOR_PROXY_TYPE}="input-accel"

And please let us know the result....

chrismanch

Tue Aug 11, 2020 11:37:07 pm

Code:
$ locate iio-sensor-proxy.rules
/home/timeshift/snapshots/2020-01-13_01-00-02/localhost/lib/udev/rules.d/80-iio-sensor-proxy.rules
/home/timeshift/snapshots/2020-01-14_01-00-01/localhost/lib/udev/rules.d/80-iio-sensor-proxy.rules
/home/timeshift/snapshots/2020-01-15_01-00-02/localhost/lib/udev/rules.d/80-iio-sensor-proxy.rules
/home/timeshift/snapshots/2020-01-16_02-00-01/localhost/lib/udev/rules.d/80-iio-sensor-proxy.rules
/home/timeshift/snapshots/2020-07-24_01-00-02/localhost/lib/udev/rules.d/80-iio-sensor-proxy.rules
/home/timeshift/snapshots/2020-07-31_15-00-56/localhost/lib/udev/rules.d/80-iio-sensor-proxy.rules
/lib/udev/rules.d/80-iio-sensor-proxy.rules


My file now looks like this -
Code:
$ cat 80-iio-sensor-proxy.rules
# iio-sensor-proxy
# IIO sensor to D-Bus proxy

ACTION=="remove", GOTO="iio_sensor_proxy_end"

# Set the sensor type for all the types we recognise
SUBSYSTEM=="hwmon", TEST=="light", ENV{IIO_SENSOR_PROXY_TYPE}="hwmon-als"
SUBSYSTEM=="iio", TEST=="in_accel_x_raw", TEST=="in_accel_y_raw", TEST=="in_accel_z_raw", ENV{IIO_SENSOR_PROXY_TYPE}="iio-poll-accel"
SUBSYSTEM=="iio", TEST=="scan_elements/in_accel_x_en", TEST=="scan_elements/in_accel_y_en", TEST=="scan_elements/in_accel_z_en", ENV{IIO_SENSOR_PROXY_TYPE}="iio-buffer-accel"
SUBSYSTEM=="iio", TEST=="scan_elements/in_rot_from_north_magnetic_tilt_comp_en", ENV{IIO_SENSOR_PROXY_TYPE}="iio-buffer-compass"
SUBSYSTEM=="iio", TEST=="in_illuminance_input", ENV{IIO_SENSOR_PROXY_TYPE}="iio-poll-als"
SUBSYSTEM=="iio", TEST=="scan_elements/in_intensity_both_en", ENV{IIO_SENSOR_PROXY_TYPE}="iio-buffer-als"
#SUBSYSTEM=="input", ENV{ID_INPUT_ACCELEROMETER}=="1", ENV{IIO_SENSOR_PROXY_TYPE}="input-accel"

ENV{IIO_SENSOR_PROXY_TYPE}=="", GOTO="iio_sensor_proxy_end"

# We got here because we have a sensor type, which means we need the service
TAG+="systemd", ENV{SYSTEMD_WANTS}+="iio-sensor-proxy.service"

LABEL="iio_sensor_proxy_end"


I'll be back after I reboot!

chrismanch

Tue Aug 11, 2020 11:44:16 pm

It still inverts when the ZORIN logo is on the screen during boot. Also I checked the file after reboot and the hash is still there!

Aravisian

Tue Aug 11, 2020 11:46:02 pm

chrismanch wrote:It still inverts when the ZORIN logo is on the screen during boot. Also I checked the file after reboot and the hash is still there!

I am going to give a try at sending a message to azorin and see if he can look this over. I am at a total loss.
I suspect zorin-auto-theme may be involved, but you cannot just remove it as it is integrated with Zorin appearance.
Ok... Well you could remove it all and use Gnome-Tweaks, instead... It's an option...

EDIT: Sent a message to the administrator azorin. Please allow time for a response.

In the meantime, I will keep crawling the web and see if I can find anything new.

chrismanch

Wed Aug 12, 2020 12:07:57 am

Thankyou.

In case it gives you some clues, or you spot something I am doing wrong.

In Tweaks there is nothing in Startup Applications.
In the Startup Applications Preferences app I have unticked Caffeine, Caffeine Indicator, dde-file-manager auto, dde-file-manager dbus service, Startup Sounds, Variety (wallpaper changer), Zoiper5 (VoiP). In fact everything but SSH Key Agent

In Tweaks I also turned off Appearance>Animations, Extensions>CPU power manager (always on mains), Native Windows Placement, Openweather, Window List, Zorin App Grid, Zorin Screen Keyboard Button, Zorin Taskbar

Aravisian

Wed Aug 12, 2020 12:43:48 am

chrismanch wrote:Thankyou.

In case it gives you some clues, or you spot something I am doing wrong.

In Tweaks there is nothing in Startup Applications.
In the Startup Applications Preferences app I have unticked Caffeine, Caffeine Indicator, dde-file-manager auto, dde-file-manager dbus service, Startup Sounds, Variety (wallpaper changer), Zoiper5 (VoiP). In fact everything but SSH Key Agent

In Tweaks I also turned off Appearance>Animations, Extensions>CPU power manager (always on mains), Native Windows Placement, Openweather, Window List, Zorin App Grid, Zorin Screen Keyboard Button, Zorin Taskbar

What about zorin auto theme?

chrismanch

Wed Aug 12, 2020 10:42:21 am

I go into Zorin Appearance>Theme and none of the background options are highlighted. I think it is set to light though as there is a white background to the box and no timer options. I've not used the day/night option.

I click on light and all the options settings go blank so I've set them all to Zorin-95

Today someone sent me a short video in Telegram, and the screen inverted when I played it.

Swarfendor437

Wed Aug 12, 2020 11:08:03 am

Sorry if this possible solution was posted earlier - I'm in humid meltdown after the storms lastnight!

https://www.programsbuzz.com/article/sc ... em-restart

chrismanch

Wed Aug 12, 2020 11:39:50 am

My normal routine is now boot, type in password on inverted screen, CTRL-ALT-T, Up Arrow to recall last xrandr -o normal command, carry on using.

I think we already tried the other things, but I'll give them another go.

chrismanch

Wed Aug 12, 2020 11:43:22 am

$ sudo systemctl stop iio-sensor-proxy.service
[sudo] password for chris:

$ sudo systemctl disable iio-sensor-proxy.service
Unit /etc/systemd/system/iio-sensor-proxy.service is masked, ignoring.

$ sudo apt-get remove iio-sensor-proxy
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libllvm9 libllvm9:i386
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED
iio-sensor-proxy
0 to upgrade, 0 to newly install, 1 to remove and 0 not to upgrade.
After this operation, 193 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 445776 files and directories currently installed.)
Removing iio-sensor-proxy (2.4-2) ...

chrismanch

Wed Aug 12, 2020 11:54:28 am

Rebooted, still inverts during boot!

Aravisian

Wed Aug 12, 2020 12:22:39 pm

chrismanch wrote:$ sudo systemctl stop iio-sensor-proxy.service
[sudo] password for chris:

$ sudo systemctl disable iio-sensor-proxy.service
Unit /etc/systemd/system/iio-sensor-proxy.service is masked, ignoring.

$ sudo apt-get remove iio-sensor-proxy
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libllvm9 libllvm9:i386
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED
iio-sensor-proxy
0 to upgrade, 0 to newly install, 1 to remove and 0 not to upgrade.
After this operation, 193 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 445776 files and directories currently installed.)
Removing iio-sensor-proxy (2.4-2) ...

Hold on... I am not trying to be difficult...

But we walked through removing iio-sensors-proxy early on. One of things I was doing more recently was seeing if it had not been removed or fully removed or flatpacked or snapped and so apt could not remove when you removed it before...
How could it show you today as having it and in the process of removing it?

chrismanch

Wed Aug 12, 2020 1:02:43 pm

We did sudo apt remove iio-sensor-proxy and it removed something!

But we didn't do $ sudo apt-get remove iio-sensor-proxy before

Aravisian

Wed Aug 12, 2020 1:13:47 pm

chrismanch wrote:We did sudo apt remove iio-sensor-proxy and it removed something!

But we didn't do $ sudo apt-get remove iio-sensor-proxy before

apt remove and apt-get remove would perform the same exact function.
Also, when you did a locate earlier, it essentially showed that iio-sensors-proxy was removed and only the residual files remained as well as the full files in timeshift.

I am confused as to how it could reappear and show as "about to be removed" above.

And if it was still there, that may explain a few things, as well. Because it was baffling it could be gone yet still having effect.

chrismanch

Wed Aug 12, 2020 1:45:33 pm

We definitely did sudo apt remove iio-sensor-proxy before as it is in my Terminal history, and I remember it removed something.

There was a Zorin update yesterday, maybe that added it back?

Also, although it was removed today, screen still inverts on reboot. Although I haven't had it invert while playing video since doing the apt-get remove.

Aravisian

Wed Aug 12, 2020 2:56:39 pm

chrismanch wrote:We definitely did sudo apt remove iio-sensor-proxy before as it is in my Terminal history, and I remember it removed something.

There was a Zorin update yesterday, maybe that added it back?

Also, although it was removed today, screen still inverts on reboot. Although I haven't had it invert while playing video since doing the apt-get remove.

I do not really know if the update would have restored a removed package. Maybe?

We know that so far, you don't have many extensions enabled at startup.
We know that you tried the Orientation Lock.

By chance, what is your screen resolution?

chrismanch

Wed Aug 12, 2020 3:21:02 pm

1366 x 768

Swarfendor437

Thu Aug 13, 2020 12:10:47 am

Perhaps using the purge command would have been better as purge would remove everything associated with the sensors.

Aravisian

Thu Aug 13, 2020 12:32:22 am

Swarfendor437 wrote:Perhaps using the purge command would have been better as purge would remove everything associated with the sensors.

yes,
Code:
sudo apt-get remove --purge iio-sensor-proxy

Or Synaptic with the "Remove Completely" option...

chrismanch

Thu Aug 13, 2020 10:37:23 am

Still inverts during boot!

I can't find any setting for screen rotation. We haven't set it somewhere to be inverted by default have we?

Aravisian

Thu Aug 13, 2020 10:40:44 am

chrismanch wrote:Still inverts during boot!

I can't find any setting for screen rotation. We haven't set it somewhere to be inverted by default have we?

Oh, I do not think so... Nor do I suspect that you did anything to cause it, either.
There is supposed to be a setting...
https://askubuntu.com/questions/1035209 ... -18-04-lts
but if you are not finding it on your system, then a gnome extension may be responsible.

chrismanch

Thu Aug 13, 2020 10:47:56 am

Sorry I thought I had posted the results of running sudo apt-get remove --purge iio-sensor-proxy

It did remove something, asking me if I wanted to continue. Ran it again just to be sure.

I did have that rotation setting until we disabled iio-sensor-proxy a few days ago.

I've been using Zorin for the last few days. Previously any time I played a video on any format it would invert the screen, plus it would seemingly randomly invert. Now it boots up inverted but after I change it back with xrandr -o normal it stays un-inverted, even when playing video.

$ sudo apt-get remove --purge iio-sensor-proxy
[sudo] password for chris:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'iio-sensor-proxy' is not installed, so not removed
The following packages were automatically installed and are no longer required:
libllvm9 libllvm9:i386
Use 'sudo apt autoremove' to remove them.
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.

Aravisian

Thu Aug 13, 2020 12:47:47 pm

chrismanch wrote:I've been using Zorin for the last few days. Previously any time I played a video on any format it would invert the screen, plus it would seemingly randomly invert. Now it boots up inverted but after I change it back with xrandr -o normal it stays un-inverted, even when playing video.

Well, that is progress, at least.

Swarfendor437

Thu Aug 13, 2020 2:03:51 pm

See if creating a script for xrandr at startup would help to prevent manual command after boot:

https://askubuntu.com/questions/637911/ ... -in-ubuntu

chrismanch

Thu Aug 13, 2020 9:04:23 pm

That works!

Swarfendor437

Fri Aug 14, 2020 3:26:16 pm

The script? ;) :D

chrismanch

Sat Aug 15, 2020 12:52:51 am

Sort of, There is a 15 second delay in the script. FIrst time I tried it the screen reverted back to normal just after I typed in my password. However the second time I wasn't quick enough entering the password and it didn't revert. It's not a pleasing solution but it does work.

Aravisian

Sat Aug 15, 2020 1:11:36 am

chrismanch wrote:Sort of, There is a 15 second delay in the script. FIrst time I tried it the screen reverted back to normal just after I typed in my password. However the second time I wasn't quick enough entering the password and it didn't revert. It's not a pleasing solution but it does work.

I expected it would increase your boot time, but that it tries to revert was unexpected. I was thinking Swarfs suggestion was pretty genius and kicking myself for not thinking of it.
lol

I think we can consider this topic "not solved but not unsolved, either."
Will keep trying to find a better fix.

chrismanch

Sat Aug 15, 2020 1:33:28 am

OK, you are not going to believe this!

I looked in Settings>Displays>Built-in Display>Orientation and it was definitely set to Landscape.

So I thought, maybe if I set it to Landscape (Flipped) and delete the xrandr script it will reset the inverted screen.

So I deleted the script and tried that. Still inverted. But now the screen was inverted, which matched the Orientation setting.

So I changed it back to Landscape and rebooted. AND IT DIDN'T INVERT!

Could it be that it was so simple, that the displayed setting was showing "Landscape" but some flag somewhere was set to "flipped", and just cycling that setting put it right again?

I've rebooted twice, and played a youtube video without it inverting.

Aravisian

Sat Aug 15, 2020 1:35:12 am

chrismanch wrote:OK, you are not going to believe this!

I looked in Settings>Displays>Built-in Display>Orientation and it was definitely set to Landscape.

So I thought, maybe if I set it to Landscape (Flipped) and delete the xrandr script it will reset the inverted screen.

So I deleted the script and tried that. Still inverted. But now the screen was inverted, which matched the Orientation setting.

So I changed it back to Landscape and rebooted. AND IT DIDN'T INVERT!

Could it be that it was so simple, that the displayed setting was showing "Landscape" but some flag somewhere was set to "flipped", and just cycling that setting put it right again?

I've rebooted twice, and played a youtube video without it inverting.

The simplest solutions... Great find, though.

Please monitor that and keep us posted if it changes but... I Can Believe it. <EDIT: Pun not intended...

All things in life are like a toilet; sometimes you just gotta jiggle the handle.

Swarfendor437

Sat Aug 15, 2020 12:55:29 pm

Aravisian wrote:All things in life are like a toilet; sometimes you just gotta jiggle the handle.


Have you secretly visited our house in the night?! :lol:

Aravisian

Sat Aug 15, 2020 1:59:02 pm

Swarfendor437 wrote:
Aravisian wrote:All things in life are like a toilet; sometimes you just gotta jiggle the handle.


Have you secretly visited our house in the night?! :lol:

I deny everything and so does your wife. :|

Swarfendor437

Sat Aug 15, 2020 6:18:29 pm

:lol: :lol: :lol: :lol: :lol:

chrismanch

Mon Aug 17, 2020 1:07:30 am

Just to confirm, no issues with inverted screens since!

Aravisian

Mon Aug 17, 2020 1:25:45 am

chrismanch wrote:Just to confirm, no issues with inverted screens since!

When I saw that you posted again, I admit I got a little worried. All that for such a simple solution. Man...
Well, we tried.
I am just glad it is working.

chrismanch

Mon Aug 17, 2020 2:22:43 pm

I hate those long threads when you never know whether the result was good long term or not because they just stop, so I just checked back in to say it was still OK.

I appreciate all the help and I may not have found the solution without it, every day is a learning opportunity :)

Swarfendor437

Mon Aug 17, 2020 9:38:28 pm

... and proof of the concepts of:

1. "You are never too old to learn!" and

2. "You learn something new every day!"

:D