Some APIs for XDG desktop. Getting started Get Desktop Environment Get current desktop environment type. DesktopEnvironment env = Xdg.desktopEnvironment; // other // cinnamon // deepin // gnom // kde3 // kde4 // kde5 // kde6 // pantheon // ukui // unity // xfce // lxqt