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

2022-05-07 Thread Giovanni Biscuolo
Hi David, David writes: [...] > If your ~/.profile and your ~/.xsessionrc are as you showed us in > your first message (quoted below), then they do not set any > value for XDG_DATA_DIRS. Sorry I was not clear on the first message, I already clarified this in other messages in this thread [...

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

2022-05-06 Thread David
On Sat, 7 May 2022 at 03:16, Giovanni Biscuolo wrote: > > Hi, you wrote a lot of other stuff that I have trimmed, but from > > what I have quoted above it seems that your complaint is that > > when you use a login shell you get a XDG_DATA_DIRS value > > you want, and when you login via lightdm yo

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

2022-05-06 Thread Giovanni Biscuolo
Hello David and Greg, Giovanni Biscuolo writes: [...] >> On Fri, 6 May 2022 at 02:55, Giovanni Biscuolo wrote: > > [...] > >>> The problem is that the lightdm (and LXDE) XDG_DATA_DIRS is missing >>> "/home/patrizia/.guix-profile/share" and this is the reason why >>> applications installed with

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

2022-05-06 Thread Greg Wooledge
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 chec

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

2022-05-06 Thread Giovanni Biscuolo
Hello Greg, Greg Wooledge writes: > On Sat, May 07, 2022 at 12:36:59AM +1000, David wrote: [...] > There's been a whole discussion about the environment variable being > set right or wrong in a *terminal*, but is that really relevant? What's relevant is that lxsession does not have a proper X

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

2022-05-06 Thread Tixy
On Fri, 2022-05-06 at 19:07 +0200, Giovanni Biscuolo wrote: [...] > environment of lxsession: > > --8<---cut here---start->8--- > > g@renaissance:~$ sudo sh -c "tr '\0' '\n' < /proc/16876/environ | grep XDG" > [XDG_DATA_DIRS=/usr/local/share/:/usr/share/:/usr/s

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

2022-05-06 Thread Giovanni Biscuolo
Hello David, thank you for your help David writes: > On Fri, 6 May 2022 at 02:55, Giovanni Biscuolo wrote: [...] >> The problem is that the lightdm (and LXDE) XDG_DATA_DIRS is missing >> "/home/patrizia/.guix-profile/share" and this is the reason why >> applications installed with Guix are n

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

2022-05-06 Thread Giovanni Biscuolo
Hello Greg, Greg Wooledge writes: > On Fri, May 06, 2022 at 02:30:59PM +0200, Giovanni Biscuolo wrote: [...] >> No , because in my ~/.xsessionrc (and only there) I have this variable: >> >> export XSESSION_WAS_HERE="Yes" >> >> and if I check that variable via "env | grep HERE" in an LXTermin

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

2022-05-06 Thread Greg Wooledge
On Sat, May 07, 2022 at 12:36:59AM +1000, David wrote: > On Fri, 6 May 2022 at 02:55, Giovanni Biscuolo wrote: > > > I'm trying to customize my user environment when using the lightdm > > display manager (then the LXDE desktop environment) > > > > I need to customize some variables so I can see G

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

2022-05-06 Thread David
On Fri, 6 May 2022 at 02:55, Giovanni Biscuolo wrote: > I'm trying to customize my user environment when using the lightdm > display manager (then the LXDE desktop environment) > > I need to customize some variables so I can see Guix installed > applications in my desktop menu, in particular I ne

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

2022-05-06 Thread Greg Wooledge
On Fri, May 06, 2022 at 02:30:59PM +0200, Giovanni Biscuolo wrote: > On my laptop, inside LXTerminal: > > systemd---gdm3---gdm-session-wor---gdm-x-session---lxsession---lxpanel---lxterminal---bash---pstree Aha. It's a (grand)child of lxsession, just as with David's. > I'm sorry I was not clear

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

2022-05-06 Thread Giovanni Biscuolo
Hello Greg and David, as I said, please leave me in Cc: as I'm not subscribed Greg Wooledge writes: > On Fri, May 06, 2022 at 09:14:20AM +0200, Giovanni Biscuolo wrote: >> Sorry I did not mention I'm not subscribed to the mailing list, > > OK. > >> Actually I'm not configuring it in any way, th

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

2022-05-06 Thread Greg Wooledge
On Fri, May 06, 2022 at 09:14:20AM +0200, Giovanni Biscuolo wrote: > Sorry I did not mention I'm not subscribed to the mailing list, OK. > Actually I'm not configuring it in any way, the systemd user environment > ("systemdctl > --user show-environment") I get is the result of the default Debian

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

2022-05-06 Thread Giovanni Biscuolo
Hi Greg, thank you very much for your quick reply! Sorry I did not mention I'm not subscribed to the mailing list, I had to "manually" copy the text from https://lists.debian.org/debian-user/2022/05/msg00154.html here I also did not mention that there is a related thread on guix-bugs mailing lis

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

2022-05-06 Thread Giovanni Biscuolo
Hi Greg, thank you very much for your quick reply! Sorry I did not mention I'm not subscribed to the mailing list, I had to "manually" copy the text from https://lists.debian.org/debian-user/2022/05/msg00154.html here I also did not mention that there is a related thread on guix-bugs mailing lis

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

2022-05-05 Thread Greg Wooledge
On Fri, May 06, 2022 at 10:17:01AM +1000, David wrote: > I'm not using the Debian default. I use ~/bin/_my_export to set umask, > and it works. I don't have time to experiment with that for this thread. Yeah, totally understandable. I hate logging out and back in. Way too many of my things are s

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

2022-05-05 Thread David
On Fri, 6 May 2022 at 09:34, Greg Wooledge wrote: > On Fri, May 06, 2022 at 09:16:09AM +1000, David wrote: Hi, thanks for your comments. > > So it appears that . ~/.profile runs when Xsession starts, > > but ~/.bashrc is not run until I manually open a terminal > > in LXDE, which appears in the

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

2022-05-05 Thread Greg Wooledge
On Fri, May 06, 2022 at 09:16:09AM +1000, David wrote: > So it appears that . ~/.profile runs when Xsession starts, > but ~/.bashrc is not run until I manually open a terminal > in LXDE, which appears in the above as x-terminal-emul. Your .profile should be written to dot in ~/.bashrc if it's bein

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

2022-05-05 Thread David
On Fri, 6 May 2022 at 04:24, Greg Wooledge wrote: > On Thu, May 05, 2022 at 06:48:49PM +0200, Giovanni Biscuolo wrote: > > I'm trying to customize my user environment when using the lightdm > > display manager (then the LXDE desktop environment) Hello TLDR: try defining the variables you need i

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

2022-05-05 Thread Greg Wooledge
On Thu, May 05, 2022 at 06:48:49PM +0200, Giovanni Biscuolo wrote: > I'm trying to customize my user environment when using the lightdm > display manager (then the LXDE desktop environment) OK. > This is my ~/.profile: > > --8<---cut here---start->8--- > > ##

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

2022-05-05 Thread Giovanni Biscuolo
Hello, I'm trying to customize my user environment when using the lightdm display manager (then the LXDE desktop environment) I need to customize some variables so I can see Guix installed applications in my desktop menu, in particular I need to customize XDG_DATA_DIRS and XDG_CONFIG_DIRS I set