Does anyone know of a reliable way to get the formfactor of a device (i.e. check if the device is a handset) in an app? Ideally in a way that works with flatpak sandboxing 🙂

There's some cross apps that I feel could run a lot better on LinuxMobile if a check for this could be added somehow (these apps seem to want to differentiate between a phone vs. a desktop when the window size is small)

#LinuxMobile #postmarketOS #flatpak

Follow

@radmorecameron hostnamectl chassis

You still have to deal with e.g. mobile phone connected to a screen, keyboard and mouse though.

Sign in to participate in the conversation
Librem Social

Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy.

Stay safe. Please abide by our code of conduct.

(Source code)

image/svg+xml Librem Chat image/svg+xml