Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #224169
| From | Thomas Pircher <thp+debian@p5r.uk> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Systemd user environment variables not picked up for me |
| Date | 2020-06-29 12:10 +0200 |
| Message-ID | <AmYTD-3nX-1@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Hi, I'm experimenting with systemd environment variables. I have a file ~/.config/environment.d/50-default.conf where I set a few variables: > MOZ_ENABLE_WAYLAND=1 > GDK_BACKEND=wayland > TESTVAR=test123 However, these variables are not set in my environment when I log in. I have tried logging in in text mode and in the GUI (sddm -> swaywm in my case). I have tried to systemd daemon-reload and to reboot the machine, but without much success. The environment variables are not set for me. When I run /lib/systemd/user-environment-generators/30-systemd-environment-d-generator from a terminal, then I see the variables being printed on stdout, so I assume that both the file path and the syntax are correct. Something seems to prevent the file from being loaded when I log in. Bug https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=869144 suggests this was working at some point for someone else. Does someone know how I can debug this issue? Thanks, Thomas
Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread
Systemd user environment variables not picked up for me Thomas Pircher <thp+debian@p5r.uk> - 2020-06-29 12:10 +0200
Re: Systemd user environment variables not picked up for me Thomas Pircher <thp+debian@p5r.uk> - 2020-06-29 13:10 +0200
Re: Systemd user environment variables not picked up for me Greg Wooledge <wooledg@eeg.ccf.org> - 2020-06-29 15:40 +0200
Re: Systemd user environment variables not picked up for me Thomas Pircher <thp+debian@p5r.uk> - 2020-06-29 19:10 +0200
Re: Systemd user environment variables not picked up for me l0f4r0@tuta.io - 2020-06-29 17:40 +0200
Re: Systemd user environment variables not picked up for me Greg Wooledge <wooledg@eeg.ccf.org> - 2020-06-29 18:10 +0200
Re: Systemd user environment variables not picked up for me Thomas Pircher <thp+debian@p5r.uk> - 2020-06-29 19:10 +0200
Re: Systemd user environment variables not picked up for me Andrei POPESCU <andreimpopescu@gmail.com> - 2020-06-29 22:00 +0200
Re: Systemd user environment variables not picked up for me Greg Wooledge <wooledg@eeg.ccf.org> - 2020-06-29 22:20 +0200
Re: Systemd user environment variables not picked up for me l0f4r0@tuta.io - 2020-06-30 08:40 +0200
Re: Systemd user environment variables not picked up for me Greg Wooledge <wooledg@eeg.ccf.org> - 2020-06-30 14:30 +0200
csiph-web