How to run .profile, etc

Chris Green cl at isbd.net
Fri May 22 20:44:20 CEST 2020


On Fri, May 22, 2020 at 10:45:29AM -0700, Joe Riel wrote:
> On Fri, 22 May 2020 08:59:05 -0500
> Robby Workman <robby at rlworkman.net> wrote:
> 
> > On Thu, 21 May 2020 10:16:16 -0700
> > Joe Riel <joer at san.rr.com> wrote:
> > 
> > > When xfce4 starts (I use a graphical login), 
> > > how does one get it to run $HOME/.profile or something equivalent?  
> > 
> > 
> > Sounds like you want $HOME/.xprofile instead; xdm's Xsession 
> > uses it, but no idea if other login managers do...
> 
> I use xfce4 with lightdm.  The file $HOME/.xprofile never gets executed,
> so far as I can tell (added code to write to file).  
> 
> Do I need to reboot to execute it?  Or should logging out and 
> logging back in (graphical login) suffice?  It doesn't.
> 
The way that .xprofile works is probably much less well defined and
documented than the way that .profile gets run.  Do you really need
something that's *only* run for an X/GUI login?  If not then I'd
investigate why .profile doesn't provide what you want.

-- 
Chris Green


More information about the Xfce mailing list