[systemd-devel] Xorg or Wayland Environment

Manuel Amador (Rudd-O) rudd-o at rudd-o.com
Tue Oct 19 09:02:41 UTC 2021


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/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20211019/4e646a9f/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20211019/4e646a9f/attachment.sig>


More information about the systemd-devel mailing list