When a convertible is standing like the letter A on the table, then the view is not turning around

You might try installing a mainline Linux kernel and see if that makes your system work right. I usually use the Mainline tool to do stuff like this, which you can install with these instructions: Mainline – Another Tool to Install Latest Kernel in Ubuntu / Linux Mint | UbuntuHandbook

@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.

Ah, sounds like Secure Boot is still on. Do you have any other operating systems on this computer?

On the used computer there is only Lubuntu 22.04. Should I try to disable Secure Boot in the BIOS?

Are you saying
Preferences > LXQt Settings > Monitor Settings > Advanced > Rotation > Inverted
…does not work ?

For auto-rotation, it’s tricky. (the touchpad or touchscreen needs to be rotated too).

@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.

1 Like

I have not tried it myself. But if it was me, I would not bother.
I would probably make do with two shortcut keys,

Preferences > LXQt Settings > Shortcut Keys > Add
Shift-F1
Command: xrandr -o normal
OK
Add
Shift-F2
Command: xrandr -o inverted
OK
Close

(i hope that’s self explanatory).

2 Likes

@humpty

So cool!!
Thank you for those shortcuts.

Do you have an idea how I could also change the touch to 180 degree, because at the moment it is just the view that is turning around?

I’ve not tried it but just looking at the link I gave, you might try

xsetwacom set touch rotate half
xsetwacom set touch rotate none

and put them with the other commands into scripts. Then call the scripts with the shortcut keys.

It did not work. I think that it does not work because I don’t use a Wacom. It is a medion convertible that I use. If I do in the terminal this (impluse: xsetwacom: commandline utility to query and modify wacom driver settings. | xorg-x11-drv-wacom Commands | Man Pages | ManKier)
xsetwacom list
then threre is nothing. So I think that xsetwacom can’t be the solution.

Do you have an other idea?

I don’t think it’s wacom compatible.

The touch’screen’ on the tablet I have does not work at all, so I can’t help much with that.

Some people have managed to rotate with libinput instead.
To get an idea if your touchscreen shows up for libinput, type

xinput list
On my device, I get a mouse and touch’pad’ but no touch’screen’.

This is the result of xinput list:

Thanks to Script to rotate the screen and touch devices on modern Linux desktops. Great for convertible laptops. · GitHub, I did this as command for a Shift+F3-shortcut to invert the touchpad:
xinput set-prop "Touchpad" "Coordinate Transformation Matrix" -1 0 1 0 -1 1 0 0 1

Bur it does not work.
Instead of “Touchpad” I tried also “pointer” and “HTIX5288:00 0911:5288 Touchpad”.
Bur it still does not work.

Any help?

1 Like

I know it works with ‘Mouse’.
Some people have had success with ‘Virtual core XTEST pointer’

(I wonder what is your id=9 ? 2808:5012 ?)
You can use the number instead of the text.

I tried also:

  • Mouse
  • HTIX5288:00 0911:5288 Mouse
  • Virtual core XTEST pointer
  • FTSC1000:00 2808:5012

Example for a command:
xinput set-prop ‘HTIX5288:00 0911:5288 Touchpad’ ‘Coordinate Transformation Matrix’ -1 0 1 0 -1 1 0 0 1

But it still doesn’t work.

Try using the number, and use double quotes;

xinput set-prop 11 "Coordinate Transformation Matrix" -1 0 1 0 -1 1 0 0 1

xinput set-prop 9 "Coordinate Transformation Matrix" -1 0 1 0 -1 1 0 0 1

Is it the touchpad you are trying to invert or the touchscreen ?

It is the touchscreen that I try to invert.

I googled around, it looks like id=9 (FTSC1000) that is the touchscreen.

Let’s have a look at
xinput list-props 9

This worked for me:

touchscreen inverted: Shift+F3: command:
xinput set-prop 9 'Coordinate Transformation Matrix' -1 0 1 0 -1 1 0 0 1

touchscreen normal: Shift+F4: command:
xinput set-prop 9 'Coordinate Transformation Matrix' 1 0 0 0 1 0 0 0 1

By the way: This is to turn it to 90 degree:
view left: Shift+F5: command: xrandr -o left
touchscreen left: Shift+F6:
xinput set-prop 9 'Coordinate Transformation Matrix' 0 -1 1 1 0 0 0 0 1
view right: Shift+F7: command: xrandr -o right
touchscreen right: Shift+F8:
xinput set-prop 9 'Coordinate Transformation Matrix' 0 1 0 -1 0 1 0 0 1

@humpty
Thank you so much for your help.

2 Likes

Could it be that an auto-rotation will be part of a linux-kernel one day, so one don’t need to press some shortcuts for the tent-mode?

This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.