I set a custom $PATH in ~/.bashrc with PATH=$HOME/.bin:$PATH. When I launch the geany from the terminal it is able to find my custom build tools that are located in $HOME/.bin. When I launch Geany with an XFCE launcher, it doesn't pick up the custom path and my custom build tools do not work. Is it possible to set a custom path such that the launcher will pick it up? I would prefer not to have to create a custom .desktop file.
While Is there a ".bashrc" equivalent file read by all shells? would provide an answer if I knew what shell, and how that shell is started, is used when I use a shortcut to start a program. Presumably, it is not an interactive bash shell or else .bashrc would be sourced.
PATHin~/.xinitrc. But that assumes you're using adisplay managerthat executesxinitrc. Most XFCE users use GDM (Gnome Display Manager) which does not care aboutxinitrc– grochmal May 30 '16 at 03:29.bashrcis used only by interactive bash shells. There are several alternatives - http://unix.stackexchange.com/a/3085/90751 is the most thorough answer I can find. – JigglyNaga May 30 '16 at 07:56