public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Jishnu Kaiwar <jishnukaiwar@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] $PATH under GNOME/Wayland
Date: Tue, 19 Nov 2024 11:06:37 +0530	[thread overview]
Message-ID: <87cyiryeca.fsf@gmail.com> (raw)
In-Reply-To: <871pz7yki4.fsf@gmail.com> (Alexis's message of "Tue, 19 Nov 2024 14:23:31 +1100")

Alexis <flexibeast@gmail.com> writes:
> In any case, the pam_env(8) man page says that user environment files
> are not only deprecated, but:
>
>> will be removed completely at some point in the future.

Okay this explains it :)


> Well, one factor: are you using a display manager, like GDM? Or are
> you starting your GNOME session from the console?


> (i might not be able to offer any help, as i use OpenRC, not systemd,
> and don't use a display manager - over time i've found them to be more
> trouble than they're worth for my use-case. i start my Wayland
> sessions - previously Sway, currently Wayfire - from the console, and
> i set the environment for my login session, including PATH, in
> ~/.zprofile, Zsh's equivalent of ~/.bash_profile.)

I am starting GNOME by having the gdm systemd service enbaled. Thanks
for sharing your setup though.

I suspect that since PATH is the only variable I tested that is set
elsewhere, the reason that it in particular is not being set may have to
do with order of operations. I later tried to set EDITOR this way but
systemctl --user show-environment after a daemon-reload gave me that
EDITOR was the default /bin/nano.

Best,
Jishnu


      reply	other threads:[~2024-11-19  5:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-18 19:24 [gentoo-user] $PATH under GNOME/Wayland Jishnu Kaiwar
2024-11-19  3:23 ` Alexis
2024-11-19  5:36   ` Jishnu Kaiwar [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87cyiryeca.fsf@gmail.com \
    --to=jishnukaiwar@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox