On Sat, Oct 26, 2024 at 12:08:31 +0100, Chris Green wrote: > Michael Kjörling <c9bc136c6...@ewoof.net> wrote: > > On 26 Oct 2024 10:13 +0100, from c...@isbd.net (Chris Green): > > > I have installed Debian 12 on my Lenovo Thinkpad T470. It all went > > > pretty smoothly but for some reason when I do a GUI login my .profile > > > doesn't get run. > > > > Is starting a GUI session (whether X11/Xorg or Wayland) even > > _supposed_ to execute ~/.profile (or ~/.bash_profile)? My > > understanding is that it is not. > > > Well on my previous XFCE installation on xubuntu it certainly did run > ~/.profile.
If you want that behavior, the simplest option would be to create a ~/.xsessionrc file containing: test -r ~/.profile && . ~/.profile Make sure there's a space after the "." command. ~/.xsessionrc (not to be confused with ~/.xsession) is a Debian-specific file that's read by the default Xsession regardless of which display manager (or startx) was used to login.