fixed: improved desktop environment detection.