Detect installed desktop sessions

Fill the GUI metadata with the detected info.