sway session does not source /etc/profile or ~/.profile
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sway (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
/usr/share/
There was an extensive discussion on this subject for gnome wayland sessions [1] resolved by (amongst other things) adding logic to /usr/bin/
For my own personal use, I have created a /usr/bin/
#!/bin/sh
. /etc/profile
test -r ~/.profile && . ~/.profile
exec sway
Ubuntu 20.04.2 LTS
sway 1.4-2
[1] https:/
[2] https:/
On my install, I have /usr/bin/sh -> bash