anchor.diff:      halt(1);
   find_browser([Name|Rest], Type, Location) ->
       case erica_util:find_executable(Name) of
  -    false ->
  -        find_browser(Rest, Type, Location);
  -    {ok, Path} ->
  -        case Type of
  -        unix ->
  -            unix_browser_cmd(Name, Path, Location);
  -        _ ->
  -            generic_browser_cmd(Path, Location)
  -        end
  +	false ->
  +	    find_browser(Rest, Type, Location);
  +	{ok, Path} ->
  +	    case Type of
  +		unix ->
  +		    unix_browser_cmd(Name, Path, Location);
  +		_ ->
  +		    generic_browser_cmd(Path, Location)
  +	    end;
  +	Local ->
  +	    case Type of
  +		unix ->
  +		    catch unix_browser_cmd(Name, Local, Location);
  +		_ ->
  +		    generic_browser_cmd(Local, Location)
  +	    end
       end.
   
   unix_browser_cmd("mozilla-firefox", Path, Location) ->
       mozilla_browser_cmd(Path, Location);
  -unix_browser_cmd("irefox", Path, Location) ->
  +unix_browser_cmd("firefox", Path, Location) ->
       mozilla_browser_cmd(Path, Location);
   unix_browser_cmd("mozilla-firebird", Path, Location) ->
       mozilla_browser_cmd(Path, Location);
  
positive.code: galeon_browser_cmd(Path, Location) ->
      Cmd = Path ++ "-w " ++ Location,
      erica_util:sh(Cmd, erica_util:os_env()).
  
  
  
  
negative.code: 
  launch_x11_unix_browser(Env, Location) ->
      case proplists:get_value("GNOME_DESKTOP_SESSION_ID", Env) of
          undefined ->
              case proplists:get_value("GNOME_DESKTOP_SESSION_ID", Env) of
                  undefined ->
                      find_browser(?UNIX_BROWSERS, unix, Location);
                  _ ->
                      case erica_util:find_executable(kfmclient) of
                          {ok, Path} ->
                              Cmd = Path ++ " openUrl " ++ Location,
                              erica_util:sh(Cmd, erica_util:os_env());
                          false ->
                              find_browser(?UNIX_BROWSERS, unix, Location)
                      end
              end;
          _ ->
              case erica_util:find_executable("gnome-open") of
                  {ok, Path} ->
                      generic_browser_cmd(Path, Location);
                  false ->
                      find_browser(?UNIX_BROWSERS, unix, Location)
              end
      end.
  
  
  