GNU bug report logs - #64112
greetd-wlgreet-session doesn't source .bash_profile

Previous Next

Package: guix;

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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 64112 in the body.
You can then email your comments to 64112 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#64112; Package guix. (Fri, 16 Jun 2023 16:53:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "ytc" <yusufcikisir <at> std.iyte.edu.tr>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Fri, 16 Jun 2023 16:53:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "ytc" <yusufcikisir <at> std.iyte.edu.tr>
To: bug-guix <at> gnu.org
Subject: greetd-wlgreet-session doesn't source .bash_profile
Date: Fri, 16 Jun 2023 19:51:59 +0300
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.




Information forwarded to bug-guix <at> gnu.org:
bug#64112; Package guix. (Sat, 17 Jun 2023 15:56:01 GMT) Full text and rfc822 format available.

Message #8 received at 64112 <at> debbugs.gnu.org (full text, mbox):

From: Josselin Poiret <dev <at> jpoiret.xyz>
To: ytc <yusufcikisir <at> std.iyte.edu.tr>, 64112 <at> debbugs.gnu.org
Subject: Re: bug#64112: greetd-wlgreet-session doesn't source .bash_profile
Date: Sat, 17 Jun 2023 17:55:19 +0200
[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)]

bug closed, send any further explanations to 64112 <at> debbugs.gnu.org and "ytc" <yusufcikisir <at> std.iyte.edu.tr> Request was from Maxim Cournoyer <maxim.cournoyer <at> gmail.com> to control <at> debbugs.gnu.org. (Thu, 06 Feb 2025 13:35:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 07 Mar 2025 12:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 6 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.