diff --git a/lib/launchy/applications/browser.rb b/lib/launchy/applications/browser.rb
index <HASH>..<HASH> 100644
--- a/lib/launchy/applications/browser.rb
+++ b/lib/launchy/applications/browser.rb
@@ -20,7 +20,7 @@ class Launchy::Application
     end
 
     def nix_app_list
-      nix_de = Launchy::Detect::NixDekstopEnvironment.browser
+      nix_de = Launchy::Detect::NixDesktopEnvironment.detect
       app_list = %w[ xdg-open ]
       app_list << nix_de.browser
       app_list << nix_de.fallback_browsers
diff --git a/lib/launchy/detect/runner.rb b/lib/launchy/detect/runner.rb
index <HASH>..<HASH> 100644
--- a/lib/launchy/detect/runner.rb
+++ b/lib/launchy/detect/runner.rb
@@ -29,7 +29,7 @@ module Launchy::Detect
     def shell_commands( cmd, args )
       cmdline = [ cmd.shellsplit ]
       cmdline << args.collect{ |a| a.to_s.shellescape }
-      return commanddline_normalize( cmdline )
+      return commandline_normalize( cmdline )
     end
 
     def commandline_normalize( cmdline )
Fix browser opening in *nix; fixes gh-<I>, gh-<I>