On Sun, Sep 19, 2021 at 4:48 PM Ed Greshko <ed.gres...@greshko.com> wrote:
> On 19/09/2021 21:39, Michael Biebl wrote: > > A useful command in this context is > > systemctl --user show-environment > > > OK, that was helpful. But leads to another question. > > How to run the service only if KDE_FULL_SESSION=true? > To be sure, do you mean "if" or "when"? You could check using [Unit] ConditionEnvironment=, sure, but if the actual problem is that the unit is started too early, this won't help -- it won't actually get delayed "until KDE_FULL_SESSION becomes true", it just won't be run at all. You said that the service runs at the login screen -- I'm not sure how this can happen if your service is installed into plasma-core.target.wants/ (and *not* in default.target.wants nor basic.target.wants)... -- Mantas Mikulėnas