leonerd,
@leonerd@fosstodon.org avatar

I have a .profile that sets up PATH and some other environment variables. It applies fine when I start a new ssh login. But it doesn't appear to take effect for my X session, so window manager etc.. can't see the extra PATH entries.

What's the solution here? How do I ensure X desktop (XFCE in my case) actually sees it?

RogerBW,
@RogerBW@emacs.ch avatar

@leonerd Call me brutalist but my .xsession has a line source ~/.bash_profile in it for this very reason.

leonerd,
@leonerd@fosstodon.org avatar

@RogerBW Yeah I could do that, but then if I do nothing else then X just exits back to login screen. So I additionally have to exec xfce4-session at the end, which feels a bit ugly, but perhaps that's OK.

RogerBW,
@RogerBW@emacs.ch avatar

@leonerd Yeah, the last line in the .xsession invokes my preferred window manager When I started using X, that was the way one did it..

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • DreamBathrooms
  • everett
  • osvaldo12
  • magazineikmin
  • thenastyranch
  • rosin
  • normalnudes
  • Youngstown
  • Durango
  • slotface
  • ngwrru68w68
  • kavyap
  • mdbf
  • InstantRegret
  • JUstTest
  • ethstaker
  • GTA5RPClips
  • tacticalgear
  • Leos
  • anitta
  • modclub
  • khanakhh
  • cubers
  • cisconetworking
  • provamag3
  • megavids
  • tester
  • lostlight
  • All magazines