To add some problems (found by Didier) about my proposed approach:
- clutter /etc/X11/Xsession.d with two mores files (maybe not so grave)
- difficult to enable selectively (our files would be sourced unconditionally, even on gnome sessions) without checking GDMSESSION (which is already done by 60xdg_path-on-session, so duplicate work here...)
The biggest drawback is that xdg dirs will change from /etc/xdg/{xu,myth}buntu to /etc/xdg/xdg-{xu,myth}buntu, so we'll have to do lots of conffiles' moves in {pre,post}inst...
I've no strong opinion on that. TBH, Didier's idea looks cleaner (but that's just me :p).
To add some problems (found by Didier) about my proposed approach: on-session, so duplicate work here...)
- clutter /etc/X11/Xsession.d with two mores files (maybe not so grave)
- difficult to enable selectively (our files would be sourced unconditionally, even on gnome sessions) without checking GDMSESSION (which is already done by 60xdg_path-
The biggest drawback is that xdg dirs will change from /etc/xdg/ {xu,myth} buntu to /etc/xdg/ xdg-{xu, myth}buntu, so we'll have to do lots of conffiles' moves in {pre,post}inst...
I've no strong opinion on that. TBH, Didier's idea looks cleaner (but that's just me :p).
Mario, what do you think?