greetd-wlgreet-session doesn't source .bash_profile

  • Open
  • quality assurance status badge
Details
2 participants
  • Josselin Poiret
  • ytc
Owner
unassigned
Submitted by
ytc
Severity
normal
Y
(address . bug-guix@gnu.org)
87bkhfwdsg.fsf@std.iyte.edu.tr
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.
J
J
Josselin Poiret wrote on 17 Jun 2023 17:55
875y7m5biw.fsf@jpoiret.xyz
Hi,

"ytc" via Bug reports for GNU Guix <bug-guix@gnu.org> writes:

Toggle quote (10 lines)
> 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.


Best,
--
Josselin Poiret
-----BEGIN PGP SIGNATURE-----

iQHEBAEBCgAuFiEEOSSM2EHGPMM23K8vUF5AuRYXGooFAmSN12cQHGRldkBqcG9p
cmV0Lnh5egAKCRBQXkC5Fhcaij+CDACkHjWFxgQx0ZaHPYLh7tnYUzhk7Z0CuQ7T
8jvEOoczxWoitspgvm/zgUOoksX78qnkUtqC+hAr01bOuwrVitBXXLGFzY6dZgP9
jI/pi6Ayx1pKyDH0EFCrkczfOVTp9ja8Kau7YmGhHt0QfAGqfDSyROqIgq5SftYH
VxxXjCvtDjT3IY3+hQIYD3P/ja7rsW0szIl4eYnvk56O59WAD0d8p8HM0SHBZPlO
3oWQMu1CjasgqgEPzj5vaDsQTW2TapQIEGjR68MjTxh3/Qq+9WVgS5QuljOV+uzV
lqTkVKHjw5IoEvz9HUgCZP8UH2Ain5r1x6esdomTOynFPCHEv2LLAQjKj3nFSBDS
1Ogph6ieonXCD6l5EKDUcmo6umI7ZwCKdhyXOslT7de6Y+hgEodiQ6aZlGsYku0b
8aZYq/ui6FhIuFFHk89+PSt/cU/NfIOMOkD65lY4ugAsq+/SQRTgD1EToaZKgcRm
QDj3e6Ny5CzxB6b7Fzsp24hTyPyLrw8=
=p05l
-----END PGP SIGNATURE-----

?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 64112@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 64112
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch