Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #263817

Re: Modify user PATH in GNOME in Debian 12

From Greg Wooledge <greg@wooledge.org>
Newsgroups linux.debian.user
Subject Re: Modify user PATH in GNOME in Debian 12
Date 2023-11-25 05:00 +0100
Message-ID <HDRZL-83En-1@gated-at.bofh.it> (permalink)
References (2 earlier) <HDkhs-7zoK-7@gated-at.bofh.it> <HDlGx-7AAP-1@gated-at.bofh.it> <HDHH3-7V0F-7@gated-at.bofh.it> <HDI0p-7Vtw-7@gated-at.bofh.it> <HDRwJ-83nk-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sat, Nov 25, 2023 at 10:28:13AM +0700, Max Nikulin wrote:
> SDDM does read /etc/profile and ~/.profile when starting a user session:
> https://sources.debian.org/src/sddm/0.20.0-1/data/scripts/Xsession/

Interesting.  I wondered whether that might be a Debian patch, since I
couldn't see mention of it in the upstream SDDM changelog.  But it's
in the upstream repository as well, and it seems it's been there for a
rather long time:

https://github.com/sddm/sddm/blob/develop/data/scripts/Xsession

The cute little unquoted $0 is practically mandatory -- you can't release
a shell script without massively stupid quoting bugs, right?  Ah well,
I'm sure no operating system vendor would **EVER** make a directory
with a space in its name, so it should be **just fine**, right?? :-(

> (wayland-session is a sibling file). I do not like that a part of code is
> similar, but not identical to /etc/X11/Xsession from x11-common. Ideally
> there should be no code duplication.

Well, if the ultimate goal is to have everything work consistently, then
there's gonna be code duplication.  Of course, we're nowhere near that
goal.

> I expect that GDM contains similar code reading /etc/profile and ~/.profile.
> LightDM Ubuntu package (but not Debian one) has it.

Ubuntu makes a change of that nature?  That surprises me.  It seems
uncharacteristically nerdy for their mission goal of dumbing everything
down to a common denominator.  Could it be an upstream change instead,
with Ubuntu simply using a newer upstream version than Debian?

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Modify user PATH in GNOME in Debian 12 Bernhard Walle <bernhard.walle@posteo.eu> - 2023-11-23 11:10 +0100
  Re: Modify user PATH in GNOME in Debian 12 gene heskett <gheskett@shentel.net> - 2023-11-23 11:50 +0100
    Re: Modify user PATH in GNOME in Debian 12 Greg Wooledge <greg@wooledge.org> - 2023-11-23 15:20 +0100
      Re: Modify user PATH in GNOME in Debian 12 Max Nikulin <manikulin@gmail.com> - 2023-11-23 16:40 +0100
      Re: Modify user PATH in GNOME in Debian 12 gene heskett <gheskett@shentel.net> - 2023-11-23 21:10 +0100
  Re: Modify user PATH in GNOME in Debian 12 Greg Wooledge <greg@wooledge.org> - 2023-11-23 15:10 +0100
    Re: Modify user PATH in GNOME in Debian 12 Max Nikulin <manikulin@gmail.com> - 2023-11-23 17:00 +0100
      Re: Modify user PATH in GNOME in Debian 12 Greg Wooledge <greg@wooledge.org> - 2023-11-23 18:30 +0100
        Re: Modify user PATH in GNOME in Debian 12 Max Nikulin <manikulin@gmail.com> - 2023-11-24 18:00 +0100
          Re: Modify user PATH in GNOME in Debian 12 Greg Wooledge <greg@wooledge.org> - 2023-11-24 18:20 +0100
            Re: Modify user PATH in GNOME in Debian 12 Max Nikulin <manikulin@gmail.com> - 2023-11-25 04:30 +0100
              Re: Modify user PATH in GNOME in Debian 12 Greg Wooledge <greg@wooledge.org> - 2023-11-25 05:00 +0100
                Re: Modify user PATH in GNOME in Debian 12 Max Nikulin <manikulin@gmail.com> - 2023-11-25 10:50 +0100

csiph-web