Parent

Launchy::Detect::NixDesktopEnvironment

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

Public Class Methods

detect() click to toggle source

Detect the current *nix desktop environment

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

    # File lib/launchy/detect/nix_desktop_environment.rb, line 15
15:     def self.detect
16:       found = find_child( :is_current_desktop_environment? )
17:       Launchy.log("Current Desktop environment not found. #{Launchy.bug_report_message}") unless found
18:       return found
19:     end
fallback_browsers() click to toggle source
    # File lib/launchy/detect/nix_desktop_environment.rb, line 21
21:     def self.fallback_browsers
22:       ] firefox seamonkey opera mozilla netscape galeon ]
23:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.