Thanks Chris for those details.
AppIndicatorIcon::WriteUnityTempImageOnWorkerThread() calls base::CreateNewTempDirectory(), which calls GetTempDir() (in https://cs.chromium.org/chromium/src/base/files/file_util_posix.cc), which honours the TMPDIR environment variable.
So we need a way for chromium to share icons with the host's libappindicator. I'm pretty sure this has already been solved for other snaps, but I don't know how.
Thanks Chris for those details.
AppIndicatorIco n::WriteUnityTe mpImageOnWorker Thread( ) calls base::CreateNew TempDirectory( ), which calls GetTempDir() (in https:/ /cs.chromium. org/chromium/ src/base/ files/file_ util_posix. cc), which honours the TMPDIR environment variable.
So we need a way for chromium to share icons with the host's libappindicator. I'm pretty sure this has already been solved for other snaps, but I don't know how.