Thanks for the suggestion. I tried it but it hasn't made any difference. (I know the new environment values were used because I can see them in the environment when running terminal in the gnome desktop). The messages in .xsession-errors are in a different order but seem to be the same.
I have attached the latest ~/.xsession-errors file.
Hi Alberts Muktupāvels,
Thanks for the suggestion. I tried it but it hasn't made any difference. (I know the new environment values were used because I can see them in the environment when running terminal in the gnome desktop). The messages in .xsession-errors are in a different order but seem to be the same.
I have attached the latest ~/.xsession-errors file.