zlacker

[parent] [thread] 2 comments
1. etbe+(OP)[view] [source] 2022-03-23 02:43:05
All programs on the Librem5 appear to be in Debian packages and most of them seem to be identical to the ones in Debian. The document you cited has procedures for getting packages in PureOS independently of Debian, but it seems that most of it will be stock Debian. For my development it seems easier to just upload to Debian and wait for the next Debian release for it to be officially part of PureOS, I'll setup my own apt repository for the things I do and publish the URL for anyone who's interested.

As for apps being suspended, most apps are suspended when there's nothing to do. If a graphical application is minimised so it doesn't have to redraw the screen then it should either be doing nothing or occasionally polling a server if that's it's design.

Web browsers are an interesting corner case as web sites often have JavaScript that wants to run all the time and there's some trade-off between doing what the web site wants and saving CPU/energy. But that's probably not going to be an OS issue for PureOS but an Epiphany browser issue.

replies(1): >>tored+xf1
2. tored+xf1[view] [source] 2022-03-23 14:53:44
>>etbe+(OP)
Don't you need hooks on the application level so the app can handle the lifecycle to avoid polling?

https://developer.apple.com/documentation/uikit/app_and_envi...

https://developer.android.com/guide/components/activities/ac...

I'm not an app expert nor an expert on GNOME development either, but I got a bit sceptical when I read their app example code, python with GNOME, neither is famous for being snappy.

replies(1): >>etbe+lq6
◧◩
3. etbe+lq6[view] [source] [discussion] 2022-03-25 05:33:42
>>tored+xf1
That sort of thing seems like a good idea. There are X programs (and presumably Wayland programs) that do similar things (like web browsers stopping things when switching to a different tab or minimising the window). But we could probably do better with different interfaces.

For the moment the Librem 5 seems to be using apps designed to work on PC desktops but at lower resolutions.

[go to top]