I get the feeling that its related to a device where you expect turning the device upside down, will cause the display itself to be redrawn upside down, which to me is more a function of software much lower in the stack (ie. closer to kernel than the GUI/desktop).
ie. I’d expect the same behavior in Xubuntu 22.04 LTS, Kubuntu 22.04 LTS & Ubuntu 22.04 LTS (ie. GNOME)? I’d not install, just test them live, and if there too as I believe, the issue relates to either the 5.15 kernel stack currently available to 22.04, or something else related to Ubuntu stack (esp. if it works as you wish on another non-Ubuntu system using 5.15 kernel).
But note I don’t really understand what you’re asking, thus could be far from your issue, plus I have (I think) one device that does what I’m trying to describe, but I avoid using it preferring my older desktops (with larger screens, real keyboards).
They’re describing “tent mode”. Some laptops with touchscreens can be converted to tablets by folding the screen over so that the back of the screen lays on the bottom of the laptop, resulting in the screen and the keyboard being on opposite sides of the laptop chassis. (This Chromebook picture on Amazon sums it up fairly well.) These laptops can (at least usually AFAIK) be folded so that the screen’s back isn’t quite touching the bottom of the laptop, and the resulting configuration can be stood on a table such that it resembles a tent or the letter A. This results in the screen being upside-down, requiring it to be rotated 180 degrees for it to look normal. So you’re right about something needing to trigger the screen to rotate, probably as a result of a gravity sensor or the like.
Could you post the make and model of your laptop (something like “Dell Inspiron 7000” is what I’m talking about)? That may aid in fixing or at least diagnosing the problem.
@ArrayBolt3
I installed Ubuntu Mainline Kernel Installer.
Then I opened Ubuntu Mainline Kernel Installer. There I marked the latest kernel version, namely 5.19.0. Then I installed it. Then I restarted the computer. But during the boot there was this text on the screen:
error: bad shim signature.
error: you need to load the kernel first.
Same issue for 5.18.15.
So, because I could not run a new kernel version, I could not test the tent-mode.
@humpty
This worked for me:
Preferences > LXQt Settings > Monitor Settings > Advanced > Rotation > Inverted
The touch does not work correctly because it is inverted. But at least the view is turned to 180 degree, and mouse and keyboard are working correctly.
Thank you for your help.
Now to the auto-rotation:
I tried to follow the description of INSTALLER.txt but I failed at UDEV RULES when creating groups. I reported two bugs:
Maybe you have a solution for the last reported bug?
Thank you for an answer in advance.