I've been asked how to set a variable after gdm has done login.
not an option, as it's only run by shells, but we want the variable to be set
in every X application that is started.
The answer is:
~/.profilefor text and graphical sessions
~/.xprofilefor graphical sessions only
~/.Xsession: at least in
gnome-session, they do not work.
* On IRC, I've been told that
~/.xsessionrc should be used since xorg 1:7.3+9