Launchy::Detect::NixDesktopEnvironment::Xfce

Public Class Methods

browser() click to toggle source
    # File lib/launchy/detect/nix_desktop_environment.rb, line 58
58:       def self.browser
59:         'exo-open'
60:       end
is_current_desktop_environment?() click to toggle source
    # File lib/launchy/detect/nix_desktop_environment.rb, line 50
50:       def self.is_current_desktop_environment?
51:         if Launchy::Application.find_executable( 'xprop' ) then
52:           %[ xprop -root _DT_SAVE_MODE | grep ' = \"xfce\"$' ].strip.size > 0
53:         else
54:           false
55:         end
56:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.