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

Re: Detecting "default browser"?



On Wed, 2003-03-19 at 23:04, Xavier Roche wrote:
> Hi,
> 
> 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

You may also want to look into urlview, it seems to do what you are
doing above.

-- 
The more I use other operating systems, the more I like Debian GNU/Linux
http://www.debian.org      http://www.gnu.org      http://www.linux.org

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: