add information to the environment of Xsession to assist setting XDG basedirs
Submitted by William Jon McCann
Link to original bug (#674900)
Description
It might be useful to add some information to the environment of Xsession to assist setting XDG basedirs. Especially where they indicate an API or contract for the user experience.
Perhaps we can use X- keywords in the session desktop file for this.
Maybe:
- The desktop file id
- The OS environment id (org.gnome)
- OS environment version (3.6)
There may be some overlap here with the OnlyShowIn type flags that the session reads.
http://standards.freedesktop.org/menu-spec/menu-spec-1.0.html#onlyshowin-registry