[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Developer setups for user D-Bus service files?
From: David Edmundson <david () davidedmundson ! co ! uk>
Date: 2022-01-12 10:49:26
Message-ID: CAGeFrHCbsMUhiQhbq-=Y6kgiDfU9fVonRFhEBMnY+1rvdps2UA () mail ! gmail ! com
[Download RAW message or body]
> This triggered yet another idea with me, and I came across
> https://www.freedesktop.org/software/systemd/man/environment.d.html
> upon which I tried to add a file
> /home/mydevuser/.config/environment.d/60-test.conf
> with the content
> --- 8< ---
> XDG_DATA_DIRS=/home/mydevuser/my/share::${XDG_DATA_DIRS:-/usr/local/share/:/
> usr/share/}
> --- 8< ---
> logged into a new session et voilĂ , the session D-Bus now sees my D-Bus
> service files and starts the services as expected.
>
The equivalent for non-systemd people is to setup `pam_env` with user
env turned on to do the same thing at roughly the same time.
The drawback is you're always affecting that user, it's not on a per
login basis, which works for you, but not everyone.
David
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic