On my Acer Spin 1 tablet mode is not recognized/honored by KDE (Fedora 40, Plasma 6.1, as well as openSUSE Leap 15.6, Plasma 5.27).
Screen rotation in KDE works (also monitor-sensor reporting changes in screen orientation).
What I want is to enable rotation only when the display is flipped around.
But setting Orientation to “Automatic” > “Only when in tablet mode”, (under Display Configuration) does not work, i.e. no screen rotation happening at all after flipping (though keyboard and mouse seem to be properly disabled).
Same applies to the setting Touch Mode to “Automatically enable as needed”.
Is there any way to troubleshoot this? I guess that it might be kernel related.
Thing is that orientation is reported correctly (via iio-sensor-proxy), but not that the device has switched into tablet mode when flipping the lid around.
I want Plasma to ignore orientation when not in tablet mode, as well as having a normal title bar size.
When flipping the lid, it should obey orientation and use the thicker title bar for touch gestures.
That’s why I set:
Display and Monitor > Display Configuration: Orientation
(•) Automatic
Only when in tablet mode
and
Workspace Behavior > General Behavior: Touch Mode
(•) Automatically enable as needed
The sensor in my lip was acting a little buggy. Thankfully, I found a script that lets you toggle tablet mode manually. Just search a-script-to-toggle-tablet-mode-or-touch-mode-on-plasma in the forum.
I only had to change KDE_VERSION in the script to 5 in my case.