πŸ’Ύ Archived View for bbs.geminispace.org β€Ί s β€Ί Lagrange β€Ί 957 captured on 2023-07-22 at 16:58:45. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-07-10)

➑️ Next capture (2023-09-08)

🚧 View Differences

-=-=-=-=-=-=-

I got OnePlus 6 device, one of the devices that capable of running real linux. Now I have postmarketos with kde plasma mobile. Postmarketos is based on alpine and uses alpine aarch64 packages. I installed Lagrange and it’s definitely working just fine, except not optimized for 6.1 phone screen, any idea how I can get Lagrange mobile version on this device? Maybe there is a setting/switche to engage mobile interface UI? I am also using iOS Lagrange version, is it possible to build Lagrange Mobile version for Linux? I could help with testing and development(in some degree) of such version.

Posted in: s/Lagrange

β™ŠοΈ shtirlic

2023-05-25 Β· 8 weeks ago

7 Comments ↓

πŸš€ skyjake

There is a CMake build option (ENABLE_MOBILE_PHONE) that activates the mobile phone UI layout. However, I think there is a few hardcoded checks for iOS and Android to enable some touch-first interactions.

It shouldn't be terribly difficult to adjust things to run properly on a mobile Linux, assuming there are no problems with SDL. I have no suitable hardware devices but could at some point try an emulator to get it running. Haven't had the time yet...

I think @emilis was looking at this recently using a Librem 5.

β™ŠοΈ shtirlic

Sounds good, I will try to build Lagrange later today. Do you have any recommendations to cross-compile tools for aarch64 on x86? Also postmarketos has qemu target so you can just build and feel the linux mobile experience.πŸ˜‰

🐐 drh3xx

I've been messing with a combination of UI scaling value in Lagrange and forced scaling in compositor settings on PHOSH it's not perfect but it works much better. maybe I should try compiling Langrange from source too though.

β™ŠοΈ shtirlic

I built version with phone UI and it looks like this

β€” https://i.imgur.com/QkD1w4P.png

β€” /u/shtirlic/image/19.jpeg

πŸš€ skyjake

Is the keyboard always visible there or can it be dismissed?

β™ŠοΈ shtirlic

Keyboard can be dismissed, but always shows again even without input field focus. Touch is working weird, and you have to stick finger much longer to engage action.

πŸš€ skyjake

That sounds like some of the SDL input hints need to be changed. Would have to experiment on device/emulator to see what actually affects the behavior in practice.

2023-05-26 Β· 8 weeks ago