this post was submitted on 03 Sep 2023
31 points (100.0% liked)

Linux

47334 readers
663 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I recently got a pinetab2, and I booted it into ubuntu-touch, running lomiri. But the screen orientation is the wrong way (portrait). I am not interested in autorotate, so how would I force the screen orientation of a mir-based desktop to landscape? If you need more info to help me, just ask for it.

edit:
Yesterday while writing this I didn't have much time, so I forgot to mention the accual problem...
The problem I'm having is that the autorotation sensor always reports portait mode, even when in landscape. It does report a change. I know this because it switches to desktop mode when I rotate with the keyboard plugged in.
edit while writing previous edit:
Now it does not even go to desktop mode anymore... So I guess it is now stuck even more.

My solution was either disabling the rotation sensor's driver to make lomiri default to the set rotation in /etc/ubuntu-touch-session.d/flo.conf, or fixing the driver so it reports orientation correctly.

edit 2: I currently solved this by editing /etc/deviceinfo/devices/pinetab2.yaml and removing all supported rotations except InvertedLandscape. This means it can't autorotate at all, but I wasn't interested in autorotate in the first place. If someone knows how to fix the driver and make autorotate work correctly, please let me know.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 1 year ago (1 children)

Ah. Ubuntu touch has the driver included, you just need to activate it. It is still the buggy driver, but it is a driver.

I am liking the experience a lot, for me it works fine, exept for the screen being rotated. I would suggest getting one.

I will have to say bluetooth also does not work yet, and kde (the default with danctnix) does not work really wel with a touchscreen.

[–] [email protected] 2 points 1 year ago (1 children)

Thanks!

How are you with the CLI? Are you using Wayland, and have you tried X? X may give you better options for managing your geometries. Have you tried xrandr to manage the rotation? Have you tried arandr, the GUI version?

If you can get it rotated the way you like, there are a couple of packages that can persist and restore your layout, but autorandr is probably where you might start.

[–] [email protected] 0 points 1 year ago (1 children)

I almost live in my terminal...

But can you run lomiri on X? Mir is like wayland, where the shell and the wm are bound to the display server, and they work on that specific display server right? If it would be possible to run lomiri on X, I an trying that immediatly!

[–] [email protected] 1 points 1 year ago (1 children)

Gosh, I thought Mir was abandoned. I doubt that Lomiri runs on X, based on the brief look I gave it. Well, good luck, and if you figure it out, don't hesitate to provide a postfix here!

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

Yea, so I updated the post with my current solution. Also, I moved away from ubuntu touch, because of lomiri not supporting X apps like libreoffice. Therefore I do not recommend ubuntu touch... But I am going to try postmarketos+kde plasma mobile. I will update if that works better.