[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [i3]Not able to get the reboot/suspend script work.



> 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.


Reply to: