[ubuntu-dev] Set DISPLAY environment variable to :98#168
Conversation
There was a problem hiding this comment.
Thanks for this contribution! 👍
Quick question: What is this supposed to achieve? I don't think this would transpire into user's Bash environments (need to edit ~/.bashrc for that). Are you fixing some graphical RUN command in another Dockerfile?
Also, please note that we already attempt to set DISPLAY=:98 via /etc/environment 4 lines above, but it doesn't seem to work for Bash sessions on Janitor. Maybe we need to stop using /etc/environment and move everything into the user's ~/.bashrc?
Follow-up thought: We're heavily customizing ~/.bashrc to make Janitor work on Bash, but this doesn't work for ZSH, Fish, etc. Maybe we should move all Janitor-related ~/.bashrc customization into a dedicated ~/.janitorrc file, and source that file in ~/.bashrc, ~/.zshrc, ~/.fishrc etc?
|
Understandable! Sorry about this frustrating caveat. Please export the |
No description provided.