You are not logged in.
I spent awhile trying to figure out why my path wasn't including ~/bin or any of the other paths on the system except "/usr/local/bin:/usr/bin".
Eventually I narrowed it down to my Hyprland session being the culprit because when I would log into the TTY all the system paths would be present.
I included "env = PATH,$PATH:~/bin" in my Hyprland config which did fix my initial issue but I don't want to have to manually specify all the other paths like this.
How do I get my path to be the same as my user in both the TTY and Hyprland and more importantly why are they different?
I would've assumed the environment variables would be the same since I'm using bash in both.
I'm using autologin through agetty and a systemd user service that automatically starts Hyprland upon user login.
[SOLUTION]
Disabled my user systemd service for auto-starting Hyprland and added "hyprland > /dev/null" to my bash_profile.
User systemd services don't use certain environment variables and source them elsewhere.
https://wiki.archlinux.org/title/Enviro … _variables
Last edited by n0yau (2025-09-02 21:13:36)
Offline
as said in issue 6501 hyprland doesnt do anything to your path nor should it
link/check your hyprland config to see if you put anything that would change your path, also, link/check your login shell to see if you exported anything that would change that
I Have Linux Perl Can i Download Gnome???
Offline
I'm using autologin through agetty and a systemd user service that automatically starts Hyprland upon user login.
So no bash involved.
How exactly do you otherwise include ~/bin in your $PATH
https://wiki.archlinux.org/title/Environment_variables
Offline