You are not logged in.
Hello guys,
lately i got the Problem that some Applications like for example "blueman-applet" does not work correctly if i don't update the DISPLAY variable manually by 'dbus-update-activation-environment DISPLAY'
I'm using openbox standalone, using xinit without an Display-Manager.
For a short time i tried dmlight Displaymanager and noticed, that the problem with the DISPLAY variable didn't occur. But i decided to go back to xinit without Displaymanager.
So the question is, what is the correct way of setting the Environment Variables?
Last edited by Asbestbrezel (2022-06-14 11:33:21)
Offline
You have to source the files in /etc/X11/xinit/xinitrc.d/, or more specifically /etc/X11/xinit/xinitrc.d/50-systemd-user.sh, which sets DISPLAY & XAUTHORITY.
Jin, Jîyan, Azadî
Offline
I'm using … xinit
Please post your xinitrc and see the last link below.
Offline
I must have overseen this note in the xinit wiki-entry
"Note: At the very least, ensure that the last if block in /etc/X11/xinit/xinitrc is present in your ~/.xinitrc file to ensure that the scripts in /etc/X11/xinit/xinitrc.d are sourced."
This block was missing in my .xinitrc.
So, that solved the problem. Thanks guys!
Offline