-
Notifications
You must be signed in to change notification settings - Fork 6
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
Provide systemd user service #3
Comments
I'm seeing interesting failures when started via systemd. Investigating.
|
Still a little buggy. See #3 for details.
The I think what we currently do (putting the .desktop file into the xdg autostart folder) is better. |
@rfjakob I started using I'm also thinking to add a systemd service in my setup, for one simple reason: if |
is it possible to use ExecCond to check DISPLAY variable?
it works on my box... |
Technically yes, in practice you want to use the standard Here's the service file I would recommend (latest link):
I didn't add
|
Tagged v1.1 now. Reopening, graphical-session.target looks pretty good. |
Cool! I just realized we can try to improve even further and in addition to I'll get back to you as soon as I make it work 🙂 |
D-BUS activation doesn't seem to work for me, probably for the similar reason this project exists in the first place, a user-level systemd service can only be started by a session bus, not system one. So what I posted above is the best proposal I have. |
|
For packaging this, it would be useful to have a systemd user service that users can enable. I think? we can make this bus activated like in https://www.freedesktop.org/software/systemd/man/systemd.service.html#id-1.10.6.
The text was updated successfully, but these errors were encountered: