Package: xdg-utils
Version: 1.0.2-5

$ xdg-open http://example.com/
Warning: unknown mime-type for "http://example.com/"; -- using "application/*"
Error: no such file "http://example.com/";

Looking at /usr/bin/xdg-open, since I am not using GNOME or KDE,
open_generic function is used. However,

! echo "$file" | egrep -q '^[a-zA-Z+\.\-]+:'

This is supposed to catch http: in $file, but $file is unset at this time.
So run-mailcap is used instead of sensible-browser. $file in the condition
must be changed to $1.

Seo Sanghyeon



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to