Invert it, if you want executables in your $HOME/bin directory to take precedence over system versions. Most of the times one doesn't need this and this could cause troubles if you are unaware of this behaviour. But it can be useful to install multiple versions of an application for example. It needs to look like this then if you decide so:mimosa wrote:Code: Select all
PATH=$PATH:$HOME/bin
Code: Select all
PATH="$HOME/bin:$PATH"
IMPORTANT! Be sure to relogin for the change to take fully effect. There are other temporary workarounds (no full effect) which I won't detail here.
Menu launchers go into ~/.local/share/applications in that case.mimosa wrote:Alternatively, as Shador says, you can do all this on a per-user basis, in which case root isn't needed and the files should belong to the user. Create ~/bin and save the wrapper script (or symlink) there, pointing it wherever you're keeping the application within your ~.