Web lists-archives.com

Re: issues with stretch, issue 2 from many




On Fri, Nov 30, 2018 at 04:20:15PM +0100, Ionel Mugurel Ciobîcă wrote:
> @ Brian, here is my formal .xsession (currently .xsessionrc) file:

I assume you meant "former".

> ==========================cut here========================
> #!/bin/bash
> xsetbg background1.png
> rclock -fg white -bg black -fn
> "-misc-fixed-medium-r-normal--20-200-75-75-c-100-iso8859-16" -geometry
> 98x95+1817+23 &
> eval `ssh-agent -s`
> xrdb -m .Xresources
> xrdb -m .Xdefaults
> xmodmap .xmodmap
> ssh-add -c
> setroot -solid steelblue1
> xsetbg background2.png
> ( sleep 2 ; /home/mugurel/bin/*ncepe ) &
> fvwm2
> ==========================cut here========================

An .xsessionrc file should NOT invoke the window manager or session
manager.  .xsessionrc is read *in addition* to (before) the code that
runs your chosen, or the default, session or window manager.

An .xsession file SHOULD invoke a window manager or session manager,
because it completely replaces the system-wide stuff.  But only if
you use a "Debian X session".  Not if you use a GNOME session, or anything
else.  In those cases, your .xsession file may be completely ignored.