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


Groups > linux.debian.user > #213073

Re: Bash isn't reading ~/.profile file when login from GNOME

From Greg Wooledge <wooledg@eeg.ccf.org>
Newsgroups linux.debian.user
Subject Re: Bash isn't reading ~/.profile file when login from GNOME
Date 2019-08-21 17:10 +0200
Message-ID <yxApj-1Da-1@gated-at.bofh.it> (permalink)
References <yxdj3-3Fh-1@gated-at.bofh.it> <yxdsJ-3Iv-1@gated-at.bofh.it> <yxoRc-2wo-1@gated-at.bofh.it> <yxyGS-uY-21@gated-at.bofh.it> <yxA5Y-1fX-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Aug 21, 2019 at 10:43:18AM -0400, Greg Wooledge wrote:
> wooledg:~$ ls -l /etc/environment.d
> total 8
> -rw-r--r-- 1 root root 20 Aug 21 10:18 11-foo.conf
> -rw-r--r-- 1 root root 19 Feb  9  2019 90qt-a11y.conf
> wooledg:~$ cat /etc/environment.d/90qt-a11y.conf
> QT_ACCESSIBILITY=1
> wooledg:~$ cat /etc/environment.d/11-foo.conf
> FOO=$HOME/thissucks
> 
> Seriously, what does it TAKE?  Why does QT's work but not mine?

... because they're not actually doing it that way.

wooledg:~$ grep -rF QT_ACCESS /etc 2>/dev/null
/etc/X11/Xsession.d/90qt-a11y:QT_ACCESSIBILITY=1
/etc/X11/Xsession.d/90qt-a11y:export QT_ACCESSIBILITY
/etc/X11/Xsession.d/90qt-a11y:        dbus-update-activation-environment --verbose --systemd QT_ACCESSIBILITY
/etc/environment.d/90qt-a11y.conf:QT_ACCESSIBILITY=1

They spammed this variable in multiple places, hoping that at least
one of them would work.  Which... it did.  Just not the one I thought.


Also, I did some more Google searching and came across
<https://github.com/systemd/systemd/issues/7641>.  Which seems to be
saying "sorry, this isn't going to work, we didn't intend for these
environment variables to be used in user login environments".

So just what the hell are they FOR, then?

Another morning wasted on bullshit that does not work and is not ever
going to work and is not even going to be DOCUMENTED as not working.
I guess they enjoy watching us bash our heads against their brick walls
over and over.

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


Thread

Bash isn't reading ~/.profile file when login from GNOME Vipul <finn02@disroot.org> - 2019-08-20 16:30 +0200
  Re: Bash isn't reading ~/.profile file when login from GNOME Greg Wooledge <wooledg@eeg.ccf.org> - 2019-08-20 16:40 +0200
    Re: Bash isn't reading ~/.profile file when login from GNOME Reco <recoverym4n@enotuniq.net> - 2019-08-20 16:50 +0200
    Re: Bash isn't reading ~/.profile file when login from GNOME Andrei POPESCU <andreimpopescu@gmail.com> - 2019-08-20 22:30 +0200
      Re: Bash isn't reading ~/.profile file when login from GNOME Greg Wooledge <wooledg@eeg.ccf.org> - 2019-08-20 22:50 +0200
        Re: Bash isn't reading ~/.profile file when login from GNOME Andrei POPESCU <andreimpopescu@gmail.com> - 2019-08-22 23:10 +0200
          Re: Bash isn't reading ~/.profile file when login from GNOME Greg Wooledge <wooledg@eeg.ccf.org> - 2019-08-22 23:20 +0200
            Re: Bash isn't reading ~/.profile file when login from GNOME Andrei POPESCU <andreimpopescu@gmail.com> - 2019-08-23 15:00 +0200
      Re: Bash isn't reading ~/.profile file when login from GNOME Vipul <finn02@disroot.org> - 2019-08-21 05:10 +0200
    Re: Bash isn't reading ~/.profile file when login from GNOME Vipul <finn02@disroot.org> - 2019-08-21 04:50 +0200
      Re: Bash isn't reading ~/.profile file when login from GNOME Greg Wooledge <wooledg@eeg.ccf.org> - 2019-08-21 15:20 +0200
        Re: Bash isn't reading ~/.profile file when login from GNOME Greg Wooledge <wooledg@eeg.ccf.org> - 2019-08-21 16:50 +0200
          Re: Bash isn't reading ~/.profile file when login from GNOME Greg Wooledge <wooledg@eeg.ccf.org> - 2019-08-21 17:10 +0200
        Re: Bash isn't reading ~/.profile file when login from GNOME Vipul <finn02@disroot.org> - 2019-08-22 21:10 +0200
          Re: Bash isn't reading ~/.profile file when login from GNOME Greg Wooledge <wooledg@eeg.ccf.org> - 2019-08-22 21:30 +0200

csiph-web