Web lists-archives.com

Re: terminal with right-click = paste?

On 2019-04-11 08:19:13 -0400, Greg Wooledge wrote:
> On Thu, Apr 11, 2019 at 01:28:18AM -0400, Lee wrote:
> > so another package I need to install..
> > 
> > .. which breaks the login process for me :(
> > 
> > $ echo xinput > ~/.xsession
> If you use a .xsession file, you have to go all in.  Your ~/.xsession
> file will completely replace the system default X11 session.

No, it just replaces the session manager or window manager
(see /etc/X11/Xsession.d/50x11-common_determine-startup).
But /etc/X11/Xsession runs as normal.

In short, /etc/X11/Xsession defines USERXSESSION=$HOME/.xsession
which is used by /etc/X11/Xsession.d/50x11-common_determine-startup
to set the STARTUP variable, and this variable is used at the end
of the X session init, in /etc/X11/Xsession.d/99x11-common_start,
which does: exec $STARTUP

If you want to replace the system default X11 session, do this
with a .xinitrc script. By default, it is /etc/X11/xinit/xinitrc,
which does: . /etc/X11/Xsession

Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)