I have added a similar functionality recently to be able to install more than 
one GNOME (or other) session with gdm:
- UNE is using that
- gnome-stracciatella is currently converted to it

The idea is simply to take the .desktop file name exported by GDM and add it to 
the xdg path with something like /etc/xdg/xdg-<session filename>.
For instance, I currently have: XDG_CONFIG_DIRS=/etc/xdg/xdg-gnome:/etc/xdg
If I boot on my une session, I'll have: 
XDG_CONFIG_DIRS=/etc/xdg/xdg-une:/etc/xdg

The script keep user's xdg path if he tweaked it. It is at
/etc/X11/Xsession.d/60xdg_path-on-session and is shipped on the gdm
package.

The drawback of that solution is that you'll have to move your conffiles
to the new path /etc/xdg/xdg-<session filename>/autostart (for autostart
desktop files)

-- 
xfconf dbus service doesn't know about XDG user variables
https://bugs.launchpad.net/bugs/327926
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to