On 19/09/2021 13.11, Ed Greshko wrote:
OK......
I think I see the problem now. I don't need Environment=. But the issue is that, I assumed, "plasma-core.target" would be
reached only after a user logged in to plasma.
I was wrong and the user's service is run earlier when the login screen appears.
I need to find a way such that the service only runs when a user logs on to the plasma GUI.
I think you want to use autostart files rather than systemd
service units. Autostart files are intended to do this and allow
you to specify upon which phase of KDE startup they should be
executed.
-- Rudd-O https://rudd-o.com/
Attachment:
OpenPGP_signature
Description: OpenPGP digital signature