I don't think there is any specification of XDG_CURRENT_DESKTOP in the sense you ask for. I have learnt to not rely on the elements in the list coming in a particular order. For most flavors there is only one element, and Unity can serve as another example to make the point:
Unity:Unity7:ubuntu
But I made use of your oneliner to decide if autostart should be used.
I don't think there is any specification of XDG_CURRENT_DESKTOP in the sense you ask for. I have learnt to not rely on the elements in the list coming in a particular order. For most flavors there is only one element, and Unity can serve as another example to make the point:
Unity:Unity7:ubuntu
But I made use of your oneliner to decide if autostart should be used.