[Librem-5-dev] Maps software

Guido Günther agx at sigxcpu.org
Sat Oct 20 02:54:41 PDT 2018


Hi,
On Sat, Oct 20, 2018 at 12:17:52PM +0300, rinigus via Librem-5-dev wrote:
>    Thank you! OK, I'll start with the flatpak then, this should allow
>    relatively simple distribution for testing and feedback. 
>    Now more general question, mainly out of curiosity: how will L5
>    suspend/resume look like? Will it be managed somehow? When looking at
>    GNOME Inhibit(), some toplevel_xid is required. I presume there is
>    something similar for Wayland or would it be possible to work out some
>    solution that does not require any window ID? In particular, we may have
>    daemons that require something similar. 
>    Is Inhibit/Uninhibit also tracking whether the corresponding app crashed?
>    Rinigus

gnome-session tracks apps that register via the protocol and they can be
restarted (see e.g. the settings daemons in /etc/xdg/autostart). This
also works for user session "daemons". There's also DBus activation for
things that don't need to be running all the time.

Finally there's systemd system units for system daemons and user units
for user level daemons. We try to avoid the later for the moment to have
everything known to gnome-session. gnome-session will at some point
switch to systemd units (I hope that's the right link, the site is
currently unavailable):

    https://blogs.gnome.org/laney/2018/06/26/starting-sessions-with-systemd/

Cheers,
 -- Guido


More information about the Librem-5-dev mailing list