💾 Archived View for bbs.geminispace.org › s › Lagrange › 957 captured on 2024-12-17 at 11:49:09. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2024-05-10)
-=-=-=-=-=-=-
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.
2023-05-25 · 2 years ago
🕹️ skyjake [mod...] · 2023-05-25 at 03:59:
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 [OP] · 2023-05-25 at 04:37:
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 · 2023-05-25 at 08:00:
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 [OP] · 2023-05-25 at 11:29:
I built version with phone UI and it looks like this
— https://i.imgur.com/QkD1w4P.png
🕹️ skyjake [mod...] · 2023-05-25 at 14:41:
Is the keyboard always visible there or can it be dismissed?
♊️ shtirlic [OP] · 2023-05-25 at 21:53:
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 [mod...] · 2023-05-26 at 05:01:
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.