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


Groups > linux.debian.user > #247956

Re: customize Debian 11 evironment in lightdm (and in general?)

From Greg Wooledge <greg@wooledge.org>
Newsgroups linux.debian.user
Subject Re: customize Debian 11 evironment in lightdm (and in general?)
Date 2022-05-06 21:00 +0200
Message-ID <Ekblf-dGT2-7@gated-at.bofh.it> (permalink)
References <EjMZz-dr9W-3@gated-at.bofh.it> <Ek7hE-dEmQ-9@gated-at.bofh.it> <Ek7rj-dEq3-1@gated-at.bofh.it> <Ekb1T-dGL7-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, May 06, 2022 at 08:33:49PM +0200, Giovanni Biscuolo wrote:
> What's relevant is that lxsession does not have a proper XDG_DATA_DIRS

You might be misreading things.

> Sorry I made confusion: I'm not concerned about LXTerminal (or other
> terminals), it's just that I need a terminal to check my Xsession
> environment via CLI

Yeah, but you assumed that the environment you saw in your terminal
would be identical to the environment seen by whatever is building
this menu.  That may not be the case.

The first thing you need to do is figure out what process is actually
making that menu.  I doubt very much that it's "lxsession".

Once you figure that out, then you can see what environment that process
started with (from /proc) and then try to figure out how it got that way.
Plus whatever else you need to know.

Up above, you mentioned that "lxsession does not have a proper XDG_DATA_DIRS",
but that's not necessarily unexpected.

/proc only shows you what the *initial* environment is.  It's the environment
that was given to the process by its parent.  Processes can change their
own environment, with the intent of passing new variables/values down to
their children.  This is extremely common with shell scripts, for example.
Those changes to the running process's copy of the environment will not be
visible in /proc.

In the case of lxsession, you may be seeing the initial environment of
the session, *before* it dotted in your .profile stuff.  Possibly.  (I'm
still not 100% clear on the relationship between the X session launched by
the display manager, and this "lxsession".)

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


Thread

customize Debian 11 evironment in lightdm (and in general?) Giovanni Biscuolo <g@xelera.eu> - 2022-05-05 19:00 +0200
  Re: customize Debian 11 evironment in lightdm (and in general?) Greg Wooledge <greg@wooledge.org> - 2022-05-05 20:30 +0200
    Re: customize Debian 11 evironment in lightdm (and in general?) David <bouncingcats@gmail.com> - 2022-05-06 01:20 +0200
      Re: customize Debian 11 evironment in lightdm (and in general?) Greg Wooledge <greg@wooledge.org> - 2022-05-06 01:40 +0200
        Re: customize Debian 11 evironment in lightdm (and in general?) David <bouncingcats@gmail.com> - 2022-05-06 02:20 +0200
          Re: customize Debian 11 evironment in lightdm (and in general?) Greg Wooledge <greg@wooledge.org> - 2022-05-06 02:40 +0200
  Re: customize Debian 11 evironment in lightdm (and in general?) Giovanni Biscuolo <g@xelera.eu> - 2022-05-06 09:20 +0200
    Re: customize Debian 11 evironment in lightdm (and in general?) Greg Wooledge <greg@wooledge.org> - 2022-05-06 13:30 +0200
      Re: customize Debian 11 evironment in lightdm (and in general?) Giovanni Biscuolo <g@xelera.eu> - 2022-05-06 14:40 +0200
        Re: customize Debian 11 evironment in lightdm (and in general?) Greg Wooledge <greg@wooledge.org> - 2022-05-06 14:50 +0200
          Re: customize Debian 11 evironment in lightdm (and in general?) Giovanni Biscuolo <g@xelera.eu> - 2022-05-06 19:10 +0200
            Re: customize Debian 11 evironment in lightdm (and in general?) Tixy <tixy@yxit.co.uk> - 2022-05-06 19:50 +0200
  Re: customize Debian 11 evironment in lightdm (and in general?) Giovanni Biscuolo <g@xelera.eu> - 2022-05-06 09:20 +0200
  Re: customize Debian 11 evironment in lightdm (and in general?) David <bouncingcats@gmail.com> - 2022-05-06 16:40 +0200
    Re: customize Debian 11 evironment in lightdm (and in general?) Greg Wooledge <greg@wooledge.org> - 2022-05-06 16:50 +0200
      Re: customize Debian 11 evironment in lightdm (and in general?) Giovanni Biscuolo <g@xelera.eu> - 2022-05-06 20:40 +0200
        Re: customize Debian 11 evironment in lightdm (and in general?) Greg Wooledge <greg@wooledge.org> - 2022-05-06 21:00 +0200
    Re: customize Debian 11 evironment in lightdm (and in general?) Giovanni Biscuolo <g@xelera.eu> - 2022-05-06 19:20 +0200
      Re: customize Debian 11 evironment in lightdm (and in general?) Giovanni Biscuolo <g@xelera.eu> - 2022-05-06 21:00 +0200
      Re: customize Debian 11 evironment in lightdm (and in general?) David <bouncingcats@gmail.com> - 2022-05-07 02:30 +0200
        Re: customize Debian 11 evironment in lightdm (and in general?) Giovanni Biscuolo <g@xelera.eu> - 2022-05-07 11:40 +0200

csiph-web