You are not logged in.
Deb 10 but still Helium rather than Lithium.
.profile contains
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi
# set PATH so it includes user's .local/bin if it exists
if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH"
fi
Adding $HOME/bin works but not $HOME/.local/bin.
Me confused.
/Martin
Last edited by Martin (2020-03-23 07:44:08)
"Problems worthy of attack
prove their worth by hitting back."
Piet Hein
Offline
.profile
[...]
Adding $HOME/bin works but not $HOME/.local/bin.
Yes, its funny. But using .bashrc with
PATH="$PATH:$HOME/bin:$HOME/.local/bin"
works...
Last edited by rbh (2020-03-22 23:37:02)
// Regards rbh
Please read before requesting help: "Guide to getting help", "Introduction to the Bunsenlabs Lithium Desktop" and other help topics under "Help & Resources" on the BunsenLabs menu
Offline
...
Me confused./Martin
So have a look at what .profile has to say...
#
# NOTE this file is not sourced by lightdm when logging in to X sessions.
# Use .xsessionrc for graphical sessions.
So edit .xsessionrc, NOT .profile, if you are using lightdm for login.
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
Martin wrote:.profile
[...]
Adding $HOME/bin works but not $HOME/.local/bin.Yes, its funny. But using .bashrc with
PATH="$PATH:$HOME/bin:$HOME/.local/bin"
works...
Usually you want $PATH last, though, so the local directories take precedence.
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline
Just an FYI: if OP is using tmux (a login shell), you better have the same paths in ~/.profile as you have in ~/.xsessionrc or else the terminal in tmux will show different or miss out various paths while echo $PATH.
"Blind faith to authority is the greatest enemy of truth."
Offline
Martin wrote:...
Me confused./Martin
So have a look at what .profile has to say...
# # NOTE this file is not sourced by lightdm when logging in to X sessions. # Use .xsessionrc for graphical sessions.
So edit .xsessionrc, NOT .profile, if you are using lightdm for login.
Aha, now things start to make sense.
/Martin
"Problems worthy of attack
prove their worth by hitting back."
Piet Hein
Offline