Class Launchy::Detect::NixDesktopEnvironment
In: lib/launchy/detect/nix_desktop_environment.rb
Parent: Object

Detect the current desktop environment for *nix machines Currently this is Linux centric. The detection is based upon the detection used by xdg-open from portland.freedesktop.org/wiki/XdgUtils

Methods

Classes and Modules

Class Launchy::Detect::NixDesktopEnvironment::Gnome
Class Launchy::Detect::NixDesktopEnvironment::Kde
Class Launchy::Detect::NixDesktopEnvironment::NotFoundError
Class Launchy::Detect::NixDesktopEnvironment::Xfce

Public Class methods

Detect the current *nix desktop environment

If the current dekstop environment be detected, the return NixDekstopEnvironment::Unknown

[Validate]