Launchy::Detect::NixDesktopEnvironment::Gnome

Public Class Methods

browser() click to toggle source
# File lib/launchy/detect/nix_desktop_environment.rb, line 44
def self.browser
  'gnome-open'
end
is_current_desktop_environment?() click to toggle source
# File lib/launchy/detect/nix_desktop_environment.rb, line 40
def self.is_current_desktop_environment?
  ENV['GNOME_DESKTOP_SESSION_ID']
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.