Launchy::Detect::NixDesktopEnvironment::Xfce

Public Class Methods

browser() click to toggle source
# File lib/launchy/detect/nix_desktop_environment.rb, line 58
def self.browser
  'exo-open'
end
is_current_desktop_environment?() click to toggle source
# File lib/launchy/detect/nix_desktop_environment.rb, line 50
def self.is_current_desktop_environment?
  if Launchy::Application.find_executable( 'xprop' ) then
    %[ xprop -root _DT_SAVE_MODE].include?("xfce")
  else
    false
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.