Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • 1
    How do you start i3? From a display manager or via xinit (startx)? If the latter, you might need to exit i3, log out and start i3 again. If the former, then yes, the window manager is not launched from the shell and therefore does not have the same environment variables (cf. LightDM) Commented Feb 24, 2020 at 16:48
  • I use startx. Setting the environment variable before "exec i3" in .xinitrc actually works, so this is kind of a no-brainer. I wonder why I did not try it before. Thanks a lot! Commented Feb 25, 2020 at 12:52
  • @JohannesTitz it sounds like you've found an answer; would you please write it up as such? Thank you! Commented Feb 21, 2021 at 15:44