[Bug 59177] gnome-session ignores TMPDIR
sean finney
sean at stickybit.se
Wed Sep 6 13:22:14 UTC 2006
Public bug reported:
Binary package hint: gnome-session
if you put
export TMPDIR
TMPDIR=/home/sean/tmp
in ~/.gnomerc, or even just before the call to "exec" in
/etc/X11/Xsession.d/99xorg-common_start, TMPDIR will not be set for any applications launched by gnome-session.
as superficial as this might sound, it causes a nasty problem on my system if
a user sets TMPDIR in their .gnomerc/.bashrc/etc files. you get some gnome cruft
in /tmp, and other cruft in ~/tmp. while i'm not knowledgable enough to know the full ramifications of this, i do know for a fact that it causes evolution to crash if using the evolution-scalix plugin (it took me the better part of an afternoon to track this down). i'm not sure *why* it's crashing, but if i replace "evolution" with "env TMPDIR=/home/sean/tmp evolution" in the launcher button, the problem goes away.
through an afternoon's trial and error debugging, i've determined that
the culprit is indeed gnome-session. any other environment variable set
using the documented method (.gnomerc or 99xorg_common_start) is
preserved in programs executed by gnome-session, but TMPDIR mysteriously
disappears.
** Affects: gnome-session (Ubuntu)
Importance: Untriaged
Status: Unconfirmed
--
gnome-session ignores TMPDIR
https://launchpad.net/bugs/59177
More information about the desktop-bugs
mailing list