[Pkg-xfce-devel] Bug#752129: Bug#752129: lightdm: Shell profile startup files not sourced on login
corsac at debian.org
Sun Jun 22 21:07:15 UTC 2014
On dim., 2014-06-22 at 16:59 -0400, Daniel Richard G. wrote:
> On Sun, 2014 Jun 22 10:34+0200, Yves-Alexis Perez wrote:
> > Well, if you abuse the offered interface, then you have to deal with
> > the fallouts yourself.
> This is bog-standard *nix usage. Do you seriously believe that everyone
> who starts agent programs in their ~/.profile is "abusing" the
> interface? (What, in your view, would be the proper way?)
Look at /etc/X11/Xsession.d/ scripts, from where all those agents are
> > There's a perfectly working solution which I already gave you. If you
> > don't want to use it, then there's not much we can do.
> ~/.xsessionrc is not a "perfectly working solution" for two reasons:
> 1. As Julien Cristau explained in bug #752192 (message #10), X-session
> setup is not the right place to run login initializations, because
> there are cases where an X session can be started without it
> representing a login (e.g. startx, Xnest). I believe the reasoning
> behind his point that the display manager should do the
> initializations is that only then is the X session necessarily
> equivalent to a login session.
It looks to me that you're imagining you're fixing an issue for a whole
lot of people. That's not the case actually. And for your own
configuration, then do whatever you feel on your boxes.
> You could make the argument that ~/.xprofile is the proper place, and
> that might even be a reasonable solution *if* that file were
> supported and we also added an /etc/skel/.xprofile that sources
> /etc/profile et al.
> 2. ~/.xsessionrc does not exist by default. The user has to create this
> file, and before that, has to know to create this file. But login
> initializations are supposed to happen *by default*. It is not, and
> has never been an "opt-in" thing as you seem content to leave it.
Well, .xsessionrc support is here for user convenience. If you have
specific stuff which should be working by default and are not, then the
relevant package can surely put stuff in /etc/X11/Xsession.d.
> The only reason you've given for your position is that /etc/profile et
> al. are technically shell configuration files,
Actually, they are *bash* (and derivatives) config files for *login*
> Feel free to articulate a better argument for your position,
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 473 bytes
Desc: This is a digitally signed message part
More information about the Pkg-xfce-devel