You need to export the variable to the environment of gnome-session, which does not read .bashrc. Try setting it within /etc/X11/Xsession.d instead.
-- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-session in Ubuntu. https://bugs.launchpad.net/bugs/771896 Title: No way to save current session To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-release-notes/+bug/771896/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs