Thanks Ethan, I tried to put
> #! /bin/bash --login as the header to my ~/.xsessions file but this did not work. should this behave differently to the /etc/X11/Xsession global config? however the following > if [ -f /etc/environment ]; then > eval env "$(cat /etc/environment)" > fi worked in my ~/.xsession. thanks v much. tom