GNU bug report logs -
#64112
greetd-wlgreet-session doesn't source .bash_profile
Previous Next
Reported by: "ytc" <yusufcikisir <at> std.iyte.edu.tr>
Date: Fri, 16 Jun 2023 16:53:02 UTC
Severity: normal
Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Hi,
"ytc" via Bug reports for GNU Guix <bug-guix <at> gnu.org> writes:
> Hello everyone.
>
> I've noticed that when I started a Wayland session with a
> greetd-terminal whose default-session-command is
> greetd-wlgreet-sway-session or greetd-wlgreet-session, enviromental
> variables set in .bash_profile doesn't seem to be set.
>
> I don't know if this is a bug or feature but it doesn't seem right to
> me. I would be glad if you handle it.
greetd sources ~/.profile and /etc/profile [1], even though it is not
documented. You should probably use that instead of the bash-specific
.bash_profile which is *only* meant for bash login shells.
[1] https://git.sr.ht/~kennylevinsen/greetd/tree/3608fc9494e3b98c673292f9e2a7589cc6686d38/item/greetd/src/session/worker.rs#L202
Best,
--
Josselin Poiret
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 105 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.