Re: "systemd-path systemd-search-user-unit" does not match reality

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 26 Jul 2024 at 12:50, Vladimir Panteleev
<git@xxxxxxxxxxxxxxxxxxxxx> wrote:
> cat > ~/.config/systemd/user.conf <<EOF
> [Manager]
> ManagerEnvironment="XDG_DATA_DIRS=%h/.nix-profile/share"
> EOF

Amendment - the above may break stuff (e.g. nautilus, eog), a better value is:

ManagerEnvironment="XDG_DATA_DIRS=%h/.nix-profile/share:/usr/local/share:/usr/share"

It looks like these variables are also inherited by some child processes.



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux