diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-02-19 09:50:09 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-02-19 09:54:46 +0100 |
commit | 36290e0b97ba032cbd71723f2255917924eadc05 (patch) | |
tree | 8521d0dc0f3d73817526299f7a186ae6b8f3ad6b /src | |
parent | 9f11f565556410f9484db9e4991f6c04eeafffc7 (diff) | |
download | systemd-36290e0b97ba032cbd71723f2255917924eadc05.tar.gz |
xdg-autostart-generator: ignore DBusActivatable=true
See https://wiki.gnome.org/HowDoI/DBusApplicationLaunching and
https://wiki.gnome.org/Initiatives/GnomeGoals/DBusActivatable for a description
of this key:
> Instead of the typical UNIX-style fork()/exec() approach to process creation,
> launching an application is done by sending a D-Bus message to the well-known
> name of that application, causing a D-Bus activation.
>
> Starting processes with D-Bus activation ensures that each application gets
> started in its own pristine environment, as a direct descendent of the
> session -- not in the environment of whatever its parent happened to be. This
> is important for ensuring the app ends up in the correct cgroup, for example.
So this motivation is not important for us: we launch stuff ourselves better.
This fixes warnings during boot:
systemd-xdg-autostart-generator[2274]: /etc/xdg/autostart/org.freedesktop.problems.applet.desktop:92: Unknown key name 'DBusActivatable' in section 'Desktop Entry', ignoring.
Diffstat (limited to 'src')
-rw-r--r-- | src/xdg-autostart-generator/xdg-autostart-service.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xdg-autostart-generator/xdg-autostart-service.c b/src/xdg-autostart-generator/xdg-autostart-service.c index ffc09fa931..1528432f43 100644 --- a/src/xdg-autostart-generator/xdg-autostart-service.c +++ b/src/xdg-autostart-generator/xdg-autostart-service.c @@ -336,6 +336,7 @@ XdgAutostartService *xdg_autostart_service_parse_desktop(const char *path) { /* Common entries that we do not use currently. */ { "Desktop Entry", "Categories", NULL, 0, NULL}, { "Desktop Entry", "Comment", NULL, 0, NULL}, + { "Desktop Entry", "DBusActivatable", NULL, 0, NULL}, { "Desktop Entry", "Encoding", NULL, 0, NULL}, { "Desktop Entry", "GenericName", NULL, 0, NULL}, { "Desktop Entry", "Icon", NULL, 0, NULL}, |