[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Detecting "default browser"?

Xavier Roche <roche@httrack.com> writes:

> Is there a clean way to detect the default (installed) browser on Debian?
> The idea would be to avoid if possible scripts like:
> for i in mozilla galeon konqueror ..; do 
>   if test -x "/usr/bin/$i"; then 
>     /usr/bin/$i $@
>     exit $?
>   fi
> done

This is exactly what sensible-browser(1) is for.


Reply to: