On 15/01/2008, Brice Goglin <[EMAIL PROTECTED]> wrote: > Michal Suchanek wrote: > > On 15/01/2008, Brice Goglin <[EMAIL PROTECTED]> wrote: > > > >> Isn't $HOME/.xsessionrc exactly what you want > > > > No, I would have to set up everything in there then. Even if it worked > > (the script was just sourced), it is not documented anywhere. > > > > It's documented in man xsession since x11-common 1:7.3+10 (where the > feature was added).
I was probably looking at the man page in an older version of the package then, sorry. > > > And I do not see why I have to correct the xsession scripts on every > > machine. They should do the right thing, that's why they are packaged > > and customized for Debian, right? > > > > What do you call the "right thing"? Do you want us to load your .bashrc > from Xsession? That's the config for your bash, not for X sessions, > that's why it's not loaded here. It's the config for my shell. I (or rather the maintainer of bash or base-files in this case) put that stuff into .bash_profile to be executed when I log in. That's why I would like it executed when I log in. If my shell was tcsh I would like the tcsh setup scripts executed when I log in. > > Apart from the .xsessionrc file that just got added, there is just no > config file that is loaded for all X sessions automatically. That's it. > If you want some environment variables for all X clients, they have to > go in .xsessionrc, not in what you call the "login shell" config. I do not want this to be a variable for my X clients. I want it to be a variable for my login sessions, graphical or not. I cannot put it into .bashrc because it would probably not get executed for the X session anyway, and my path would probably grow insanely in every make script as nested shells are executed. Even the bash man page advises against that. Thanks Michal -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

