You are not logged in.
I run pacman -Syu today, after done, i found all code in my $HOME/.profile not sourced by GNOME + Wayland + GDM.
i have to add `source ~/.profile` manually in my ~/.bashrc to make my start up script work.
so, this is intention, right?
Thank you.
Offline
Yes, ~/.profile is generally unlikely to be sourced by graphical logins. There's https://wiki.archlinux.org/title/Enviro … nvironment or https://wiki.archlinux.org/title/Enviro … ng_pam_env
Offline
Thanks
How to fix that?
Anyway, `source ~/.profile` in .bashrc is not equivalent graphical logins, because some PATH setting in ~/.profile is gone, e.g. i add a desktop file which run one shell script, but, it can't find it anymore because $PATH is not include it when desktop file is initalize.
Offline
I posted links to other places that ARE being sourced, you need to adjust PATH settings there if you want them to be valid for other parts of your session.
Offline