[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Unreliable systemd user service



On 21/06/19 8:33 PM, Jonathan Dowland wrote:
> On Fri, Jun 21, 2019 at 06:50:14PM +1200, Aidan Gauland wrote:
>> Someone else suggested running xautolock from my .xsessionrc script so
>> that it is always run after X is running, and that seems to work.  I
>> wanted to run this via systemd because that's easier to restart after
>> making tweaks than something run as part of a startup script,
>
> What about starting the service *via systemd* in your .xsessionrc?
> something like "systemctl start xautolock".
I had thought of that, but it feels even messier to use both .xsessionrc
and systemd together.  Why is there no "the graphical session is ready"
systemd target?


Reply to: