I want to append the directory
/home/bart/bin to my
PATH. By my
PATH, I mean that it should be available whenever I login, whether it be via the terminal, Gnome, KDE or SSH, but not for other users. What's the recommended way of doing this?
Append your directory to PATH in /home/<user name>/.bashrc and source .bashrc from /home/<user name>/.profile using
This way your changes will be available to you only in both GNOME & KDE and also in bash.
Do not edit /etc/profile as it will make the changes for all users.
Adding the appropriate line in .bashrc in your home folder should be enough for terminal and ssh. However, i don't understand how your path will make a difference in Gnome(maybe it might in the run utility, but not sure about it).
Add the line