On Mon, Jul 16, 2001 at 08:00:16AM -0700, Greg Wiley wrote: > On Friday, July 13, 2001 1:54 PM, [EMAIL PROTECTED] wrote: > > If you use xdm, the trick is [...] > > Since programs in your x session are usually descendants of ~/.xsession, > > they will automatically be run with the right environment settings. > > Right, just make sure your bash-specific com- > mands (like alias defs) are in .bashrc so they > will be run at term start. > > > Since I am not a gdm/kdm user, I cannot tell how it works there, but the > > idea shoudl be the same, I guess. > > The problem with ~/.xsession for kdm is that > you lose the session selection capability of > the login app. I ended up creating a new > mechanism that sources a local user init file > before running the main Xsession. > > There might be a better way that doesn't > require modifying /etc/X11/kdm/Xsession > and I'd be happy to hear it.
Submit a bug with your improvement. That way, it'll be the last time anyone had to modify /etc/X11/kdm/Xsession for this reason. Perhaps a .ksession file? Again, I'm not into the k* or g* thing. Cheers, Joost