How to run .profile, etc

Joe Riel joer at
Fri May 22 19:45:29 CEST 2020

On Fri, 22 May 2020 08:59:05 -0500
Robby Workman <robby at> wrote:

> On Thu, 21 May 2020 10:16:16 -0700
> Joe Riel <joer at> 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.

Joe Riel

More information about the Xfce mailing list