-
-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$PATH from .profile not available in X11 session since 3.2-beta4 on Ubuntu 22.04 #1042
Comments
@peterrus , thank you for providing the very detailed bug report.
I'm puzzled as to what might be creating this specific behavior on There is some code in the |
Interesting, thanks for your reply! Since I switched to 24.04 this is no longer a problem for me but maybe interesting to keep this issue as documentation for other users that run into this problem. By the way, I think this isn't a |
I'm seeing similar behavior, also on Regolith 3.2 on jammy. It's really odd. After logging in, I start a terminal. I can see all the environment variables set by my If I open a new tab in the same gnome terminal, suddenly |
Looking a bit further, I think I've managed to "fix" it. The solution was to delete Possibly there are side effects to this and I will end up with many regrets later, but for now I am happy. 😅 |
@chrisgavin that workaround solved it for me as well. I guess for now I'm renaming |
Describe the bug
This might be a complex one:
$PATH
changes made in.profile
are not reflected in eitheri3
orsway
sessions when running 3.2-beta4 on Ubuntu 22.04.Ubuntu ships by default with a
~/.profile
that adds~/.local/bin
to your path when that directory exists. By putting a log statement in.profile
I can verify that the file is indeed sourced at session startup but once I've opened a terminal (default Gnome terminal with bash) the$PATH
variable does not contain~/.local/bin
even thoughsystemctl --user show-environment | egrep ^PATH=
does show it (not sure if that is relevant, but something I noticed).I have done extensive testing on clean Ubuntu installs (test results below) to verify that this problem only occurs on Ubuntu 22.04 + Regolith 3.2-beta4 (I have not tested earlier beta's for this release).
apt
-updated.regolith-desktop regolith-session-flashback regolith-look-lascaille regolith-session-sway
.To Reproduce
mkdir -p ~/.local/bin && echo "working" > ~/.local/bin/testscript && chmod +x ~/.local/bin/testscript
testscript
in terminal (it is not found).Expected behavior
~/.profile
should be present in the graphical session (X11, but preferably also Sway/wayland as the Ubuntu Gnome Wayland session also works as expected). This worked fine on Regolith 3.1.Configuration file(s)
Clean install of regolith on a clean fully updated minimal install of Ubuntu 22.04 so no custom configuration.
Installation Details
Additional context
I have seen #958 but I am also seeing the behavior described above on the X11 session.
The text was updated successfully, but these errors were encountered: