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/
# File lib/launchy/detect/nix_desktop_environment.rb, line 25 def self.browsers [ browser, fallback_browsers ].flatten end
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 def self.detect found = find_child( :is_current_desktop_environment? ) Launchy.log("Current Desktop environment not found. #{Launchy.bug_report_message}") unless found return found end
Generated with the Darkfish Rdoc Generator 2.