Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing gala-daemon systemd service #1826

Closed
bobby285271 opened this issue Jan 13, 2024 · 1 comment · Fixed by #1844
Closed

Missing gala-daemon systemd service #1826

bobby285271 opened this issue Jan 13, 2024 · 1 comment · Fixed by #1844

Comments

@bobby285271
Copy link
Member

bobby285271 commented Jan 13, 2024

What Happened?

I am trying to drop --builtin from session-settings and gala-daemon no longer autostarts.

gala-daemon.desktop was set hidden under systemd:

X-GNOME-HiddenUnderSystemd=true

P.s.: elementary/session-settings#17 (comment) is now part of gnome-session 46.alpha. /cc NixOS/nixpkgs#140429

Steps to Reproduce

Drop --builtin, open switchboard, right click the titlebar (which is why gala-daemon was introduced: #179)

Expected Behavior

I imagine we add services and targets here and add it as a required components in session-settings like other GSD stuff

OS Version

NixOS

Software Version

Latest release (I have run all updates)

@Marukesu
Copy link
Contributor

For someone wanting to open a PR, here i have a [email protected] with:

[Unit]
Description=Gala Daemon
BindsTo[email protected]
After[email protected]

[Service]
Type=dbus
BusName=org.pantheon.gala.daemon
ExecStart=/usr/bin/gala-daemon
Slice=session.slice

and a override to [email protected] with:

[Unit]
Requires[email protected] # Could be a Wants, so gala doesn't fail to start without the daemon

This way there's no need to change the required components in the gnome-session units.

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 a pull request may close this issue.

2 participants