Skip to content

Add systemd units#1256

Merged
danirabbit merged 3 commits intomasterfrom
systemd-units
Sep 29, 2021
Merged

Add systemd units#1256
danirabbit merged 3 commits intomasterfrom
systemd-units

Conversation

@davidmhewitt
Copy link
Copy Markdown
Member

@davidmhewitt davidmhewitt commented Sep 19, 2021

Adds support for launching gala via the new systemd support in gnome-session. This has no effect on the current way of doing things as we're still using the --builtin flag on our session in session settings, but it prepares us for the future.

I've made this an option in meson so that distributions without systemd can use the old XDG autostarts way of launching gala in the future if they wish.

This can be tested in conjunction with #1255 and elementary/session-settings#55. If you remove the --builtin flag from /usr/share/xsessions/pantheon.desktop, gnome-session will launch Pantheon using the systemd units instead of the XDG autostarts.

Copy link
Copy Markdown
Member

@JoseExposito JoseExposito left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Once again, it looks good to me, but my experience with systemd is limited (and traumatic :P)

I'd appreciate another review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants