[gnome-session.wiki] Update Session Saving Notes
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-session.wiki] Update Session Saving Notes
- Date: Mon, 17 Jan 2022 17:39:34 +0000 (UTC)
commit 483fb38bb00a051f41ab9e5822dc813274f38613
Author: Ray Strode <halfline gmail com>
Date: Mon Jan 17 17:39:34 2022 +0000
Update Session Saving Notes
Session-Saving-Notes.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/Session-Saving-Notes.md b/Session-Saving-Notes.md
index ef9c144..8b437e9 100644
--- a/Session-Saving-Notes.md
+++ b/Session-Saving-Notes.md
@@ -7,8 +7,8 @@ Broadly speaking, there are two main parts to application session handling: Ensu
## Application Starting
- 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, but [it may not be worth the effort]
(https://gitlab.gnome.org/GNOME/gnome-session/-/merge_requests/13#note_496268)
+ - 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, 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]