Mailinglist Archive: opensuse-bugs (4692 mails)

< Previous Next >
[Bug 591714] xdg-open/xdg-email and no default browser "generic"
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Fri, 2 Apr 2010 14:44:53 +0000
  • Message-id: <20100402144453.AB66D245467@xxxxxxxxxxxxxxxxxxxxxx>
http://bugzilla.novell.com/show_bug.cgi?id=591714

http://bugzilla.novell.com/show_bug.cgi?id=591714#c10


andrea florio <andrea@xxxxxxxxxxxx> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
InfoProvider| |llunak@xxxxxxxxxx

--- Comment #10 from andrea florio <andrea@xxxxxxxxxxxx> 2010-04-02 14:44:52
UTC ---
i think i found the real problem...

actually this is the code...

if [ x"$DE" = x"" ]; then
# if BROWSER variable is not set, check some well known browsers instead
if [ x"$BROWSER" = x"" ]; then
BROWSER=firefox:mozilla:netscape
fi
DE=generic
fi

case "$DE" in
kde)
open_kde "$url"
;;

gnome)
open_gnome "$url"
;;

xfce)
open_xfce "$url"
;;

lxde)
open_generic "$url"
;;

generic)
open_generic "$url"
;;

*)
exit_failure_operation_impossible "no method available for opening '$url'"
;;
esac


so the problem is... "lxde" and "generic" are the $DE value..

that means

if [ x"$DE" = x"" ]; then

is FALSE, so the check for the browser will not be done...

should we just move from

if [ x"$DE" = x"" ]; then
# if BROWSER variable is not set, check some well known browsers instead
if [ x"$BROWSER" = x"" ]; then
BROWSER=firefox:mozilla:netscape
fi
DE=generic
fi

to

if [ x"$DE" = x"" ]; then
DE=generic
fi
# if BROWSER variable is not set, check some well known browsers instead
if [ x"$BROWSER" = x"" ]; then
BROWSER=firefox:mozilla:netscape
fi

--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >