class Launchy::Detect::NixDesktopEnvironment::Gnome
Public Class Methods
Source
# File lib/launchy/detect/nix_desktop_environment.rb, line 49 def self.browser ::Launchy::Argv.new( 'gnome-open' ) end
Source
# File lib/launchy/detect/nix_desktop_environment.rb, line 44 def self.is_current_desktop_environment? ENV['GNOME_DESKTOP_SESSION_ID'] && Launchy::Application.find_executable( 'gnome-open' ) end