unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#64112: greetd-wlgreet-session doesn't source .bash_profile
@ 2023-06-16 16:51 ytc via Bug reports for GNU Guix
  2023-06-17 15:55 ` Josselin Poiret via Bug reports for GNU Guix
  0 siblings, 1 reply; 2+ messages in thread
From: ytc via Bug reports for GNU Guix @ 2023-06-16 16:51 UTC (permalink / raw)
  To: 64112

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.

Thanks in advance.




^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#64112: greetd-wlgreet-session doesn't source .bash_profile
  2023-06-16 16:51 bug#64112: greetd-wlgreet-session doesn't source .bash_profile ytc via Bug reports for GNU Guix
@ 2023-06-17 15:55 ` Josselin Poiret via Bug reports for GNU Guix
  0 siblings, 0 replies; 2+ messages in thread
From: Josselin Poiret via Bug reports for GNU Guix @ 2023-06-17 15:55 UTC (permalink / raw)
  To: ytc, 64112

[-- Attachment #1: Type: text/plain, Size: 822 bytes --]

Hi,

"ytc" via Bug reports for GNU Guix <bug-guix@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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 682 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-06-17 15:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-16 16:51 bug#64112: greetd-wlgreet-session doesn't source .bash_profile ytc via Bug reports for GNU Guix
2023-06-17 15:55 ` Josselin Poiret via Bug reports for GNU Guix

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).