> Solution No. 1: Source ~/.profile in ~/.xsessionrc. > Solution No. 2: Put 'export PATH=$HOME/bin:$PATH' in ~/.xsessionrc. > > The first solution gives a path including ~/bin. It also reloads an > already loaded file, which is a waste of time, and loads other things > which may or not be wanted. It achieves its ends with a scattergun > approach. It works but that is about all which can said of it. > > The second solution also gives a path including ~/bin but its technique > is surgical. It does exactly one thing and does it well. There are no > side effects and the outcome is completely predictable. > > What you choose is up to you.
I got you, just one last question, Should I modify my .profile? More precisely, should I remove the exporting of PATH in .profile? -- Regards, Anubhav Yadav Imperial College of Engineering and Research, Pune. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/CA+Jf9AFB3j8sCRBM=S73Et==tpnaeph9kydgztvnwmbufqa...@mail.gmail.com