Gio.DesktopAppInfo.set_desktop_env
function set_desktop_env(desktop_env: String): void { // Gjs wrapper for g_desktop_app_info_set_desktop_env() }
Sets the name of the desktop that the application is running in. This is used by Gio.AppInfo.prototype.should_show and Gio.DesktopAppInfo.prototype.get_show_in to evaluate the `OnlyShowIn` and `NotShowIn` desktop entry fields.
The [Desktop Menu specification](http://standards.freedesktop.org/menu-spec/latest/) recognizes the following: - GNOME - KDE - ROX - XFCE - LXDE - Unity - Old
Should be called only once; subsequent calls are ignored.
- desktop_env
a string specifying what desktop this is