Ok, I know there are lots of ways to add to PATH. Each one has good reasons why you would choose a specific method vs another.
However, what I don't know is in the case of a program opened from the desktop (by double clicking its icon), how does one add to the PATH in this scenario?
By right-clicking and going to properties I can change the command run by double clicking. Could i potentially use && to tag on a command here? Surely there's a better, more global way of doing it?
Not sure if it makes a difference, but I'm using 18.04.
Suggestions much appreciated.
~/.profile
. It's sourced by the display manager and altersPATH
for the whole session.