regolith-linux / regolith-desktop

Meta package for the Regolith Desktop Environment
1.48k stars 31 forks source link

PATH overwritten in sway #958

Closed busaster closed 2 months ago

busaster commented 7 months ago

Ubuntu 22.04.3 LTS Regolith with wayland and sway with bash as shell When I open a terminal and echo my PATH variabile it is not as I set in my .profile. Other variables declared in .profile instead are ok and set. Executing systemctl --user show-environment | grep PATH shows me the right PATH I expect. Which can be the cause of this behaviour ? Thanks

Installation Details

SoumyaRanjanPatnaik commented 2 months ago

The sway session uses environment.d to set environment variables. Setting them in .profile doesn't work. Try adding your path in .config/environment.d/environment.conf