On Sun, Sep 19, 2021 at 4:48 PM Ed Greshko 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 b
> On 19 Sep 2021, at 14:48, Ed Greshko 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?
> On 19 Sep 2021, at 14:48, Ed Greshko 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?
Am So., 19. Sept. 2021 um 15:48 Uhr schrieb Ed Greshko :
>
> 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?
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?
Am So., 19. Sept. 2021 um 11:53 Uhr schrieb Mantas Mikulėnas
:
On Su
A useful command in this context is
systemctl --user show-environment
Am So., 19. Sept. 2021 um 11:53 Uhr schrieb Mantas Mikulėnas
:
>
> On Sun, Sep 19, 2021 at 4:05 AM Ed Greshko wrote:
>>
>> Not a everyday systemd service writer
>>
>> I've written a user service file to start an app on log
On 19/09/2021 17:53, Mantas Mikulėnas wrote:
On Sun, Sep 19, 2021 at 4:05 AM Ed Greshko wrote:
Not a everyday systemd service writer
I've written a user service file to start an app on login. It works well
for Xorg with Environment=DISPLAY=:0.
But I've found that under Waylan
On Sun, Sep 19, 2021 at 4:05 AM Ed Greshko wrote:
> Not a everyday systemd service writer
>
> I've written a user service file to start an app on login. It works well
> for Xorg with Environment=DISPLAY=:0.
>
> But I've found that under Wayland the DISPLAY=:1 after a logout of Xorg
> and log
On 19/09/2021 14:52, Michael Biebl wrote:
You don't hard-code it, you just use it?
OK, yes, it is just used.
In your case, since you have a user service which appears bound to the
lifetime of a graphical (X/Wayland) session, I guess
graphical-session.target is what you want.
See man systemd.s