Re: [systemd-devel] how to use per-user systemd --user services / how to replace /etc/xdg/autostart/app.desktop?

2016-06-24 Thread Martin Pitt
Mantas Mikulėnas [2016-06-16 16:03 +0300]: > So I would create a separate graphical.target and manually `systemctl > start` it via .xprofile or such. (Don't forget, also, that graphical > programs usually need $DISPLAY, and this is only imported to the --user > manager /after/ default.target has

Re: [systemd-devel] how to use per-user systemd --user services / how to replace /etc/xdg/autostart/app.desktop?

2016-06-20 Thread Simon McVittie
On 16/06/16 14:10, Zbigniew Jędrzejewski-Szmek wrote: > On Thu, Jun 16, 2016 at 12:32:24PM +, Patrick Schleizer wrote: >> Using Debian jessie (stable) with systemd package version 215-17+deb8u4. > > I'd suggest looking at existing user units present in > Debian, converting some more packages

Re: [systemd-devel] how to use per-user systemd --user services / how to replace /etc/xdg/autostart/app.desktop?

2016-06-16 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Jun 16, 2016 at 12:32:24PM +, Patrick Schleizer wrote: > Hi! > > I would like to replace some /etc/xdg/autostart/app.desktop files with > systemd --user services. I believe these are better because then systemd > keywords such as 'After=' etc. can be used. > > Is this a use case

Re: [systemd-devel] how to use per-user systemd --user services / how to replace /etc/xdg/autostart/app.desktop?

2016-06-16 Thread Mantas Mikulėnas
On Thu, Jun 16, 2016 at 3:32 PM, Patrick Schleizer < patrick-mailingli...@whonix.org> wrote: > Hi! > > I would like to replace some /etc/xdg/autostart/app.desktop files with > systemd --user services. I believe these are better because then systemd > keywords such as 'After=' etc. can be used. >

[systemd-devel] how to use per-user systemd --user services / how to replace /etc/xdg/autostart/app.desktop?

2016-06-16 Thread Patrick Schleizer
Hi! I would like to replace some /etc/xdg/autostart/app.desktop files with systemd --user services. I believe these are better because then systemd keywords such as 'After=' etc. can be used. Is this a use case systemd can be used for? Once the user logs in, the systemd --user service should