~vcs-imports/gnome-session/+git/gnome-session:wip/laney/systemd-user

Last commit made on 2018-11-06
Get this branch:
git clone -b wip/laney/systemd-user https://git.launchpad.net/~vcs-imports/gnome-session/+git/gnome-session

Branch merges

Branch information

Name:
wip/laney/systemd-user
Repository:
lp:~vcs-imports/gnome-session/+git/gnome-session

Recent commits

215e654... by Iain Lane <email address hidden>

Add systemd user units

The structure is like this:

  - gnome-session-wayland.target, gnome-session-x11.target: Top-level
    targets launched directly to start the regular GNOME (Shell) session
    for wayland or x11 respectively.
  - gnome-session@.service: Execute gnome-session-binary tself for the
    specified (template) session. Is active once
    org.gnome.SessionManager is claimed on the bus.
  - gnome-session-bus.target: Bound to gnome-session@.service - if
    something needs to start after any instance of gnome-session@
    starts, it can be After= this one. gnome-settings-daemon uses this.

We also split out gnome-wayland.desktop.in, as it is going to need to
launch gnome-session-wayland.target.

142592d... by Iain Lane <email address hidden>

Add a gnome-session-systemd binary to launch the session

This replaces the shell script, and is responsible for uploading the
environment as well as cleaning up if any previous sessions left units
in a failed state.

23e38aa... by Iain Lane <email address hidden>

Allow RequiredComponents to be skipped

We can have a softer transition: if we do this then the .session files
don't need modifying.

0e6b338... by Iain Lane <email address hidden>

Add GNOME_SESSION_AUTOSTART_DIR variable to set the autostart dirs

This is so that we can be started by systemd, yet still autostart things
from the right place if necessary - e.g. for the gdm session.

8ce6902... by Iain Lane <email address hidden>

When there are no required apps (under systemd), let Setenv work

Setenv is a mechanism that some clients - notably mutter - use to set
environment variables for the use of things that are started later. It's
useful because it forwards changes to the systemd activation
environment, which is what units use.

Normally it's only available in early startup, but if starting things is
actually being handled by systemd and not gnome-session, we'll be
RUNNING without the session actually being "up". We were denying
mutter's Setenv calls, which set DISPLAY and WAYLAND_DISPLAY, quite
important environment variables.

Let's try saying that if there are no required apps (the systemd
situation), you can call Setenv while we're already running too.

29bb29e... by Iain Lane

gsm-systemd: Find user's graphical session, not the current pid's session

If we're started by systemd --user, we won't be in the XDG session of
the user. The session will still exist, and we want to monitor when it
closes so that we know when to die ourselves.

5ced389... by Carmen Bianca BAKKER <email address hidden>

Update Esperanto translation

d5fd15d... by pan93412

Update Chinese (Taiwan) translation

7318637... by Марко М. Костић

Update Serbian translation

24607cd... by Ray Strode <email address hidden>

meson: bump to 3.30.1