[gnome-session.wiki] Update Session Saving Brain Dump
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-session.wiki] Update Session Saving Brain Dump
- Date: Mon, 17 Jan 2022 17:37:48 +0000 (UTC)
commit 8f9ac25ee9aada5ca337b8f48cda6aa835bd7cf5
Author: Ray Strode <halfline gmail com>
Date: Mon Jan 17 17:37:48 2022 +0000
Update Session Saving Brain Dump
Session-Saving-Brain-Dump.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/Session-Saving-Brain-Dump.md b/Session-Saving-Brain-Dump.md
index c1e3dc8..ef9c144 100644
--- a/Session-Saving-Brain-Dump.md
+++ b/Session-Saving-Brain-Dump.md
@@ -8,7 +8,7 @@ Broadly speaking, there are two main parts to application session handling: Ensu
- When thinking about applications, we should consider flatpaks first, since, ideally, they would be the
main way a user runs applications.
- Flatpak'd applications can use the [autostart flag of the RequestBackground xdg-portal
API](https://flatpak.github.io/xdg-desktop-portal/#gdbus-method-org-freedesktop-portal-Background.RequestBackground)
to get automatically started at session login.
- Under the hood, this API just writes out an [autostart desktop file]
(https://specifications.freedesktop.org/autostart-spec/autostart-spec-latest.html) which is started by
gnome-session.
- - systemd has [support for loading autostart desktop files]
(https://github.com/systemd/systemd/pull/15226) now, too, but we aren't currently using it. There's [a
branch] (https://gitlab.gnome.org/GNOME/gnome-session/-/tree/benzea/systemd-condition-evaluator) that gets us
closer to using it, though.
+ - systemd has [support for loading autostart desktop files](https://github.com/systemd/systemd/pull/15226)
now, too, but we aren't currently using it. There's [a branch]
(https://gitlab.gnome.org/GNOME/gnome-session/-/tree/benzea/systemd-condition-evaluator) that gets us closer
to using it, but [it may not be worth the effort]
(https://gitlab.gnome.org/GNOME/gnome-session/-/merge_requests/13#note_496268)
- There's not yet a general API for requesting an application gets started when the starts. There's a
request for [adding one to GLib] (https://gitlab.gnome.org/GNOME/glib/-/issues/2445) though the API is yet
to be determined. We should figure that out and probably make it use the xdg-portal api transparently under
the hood for flatpaks.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]