On Sun, 6 Nov 2016 13:21:19 +0100, Ralf Mardorf wrote: >When a user runs > sudo HOME=/root appname >the /root directory is used. >The home directory of "username" also is used when running > gksudo -u username app >so why isn't "echo $HOME" not equal to the used directory? The double negative is a typo ;).