[Bug 204858] Re: Openoffice.org needs to follow XDG to determine default browser

Chris Cheney ccheney at ubuntu.com
Thu Apr 2 16:24:27 UTC 2009


No the real problem appears to be that the Debian/Ubuntu standard
'sensible-browser', which is what OOo actually uses, does not use xdg-
open.

===

if test -n "$DISPLAY"; then
    if test -n "$GNOME_DESKTOP_SESSION_ID"; then
        if test -x /usr/bin/gnome-www-browser; then
            exec /usr/bin/gnome-www-browser "$URL"
        elif test -x /usr/bin/x-www-browser; then
            exec /usr/bin/x-www-browser "$URL"
        elif test -x /usr/bin/gnome-terminal && test -x /usr/bin/www-browser; then
            exec /usr/bin/gnome-terminal -e "/usr/bin/www-browser \"$URL\""
        fi
    fi
    if test -x /usr/bin/x-www-browser; then
        exec /usr/bin/x-www-browser "$URL"
    elif test -x /usr/bin/x-terminal-emulator && test -x /usr/bin/www-browser; then
        exec /usr/bin/x-terminal-emulator -e /usr/bin/www-browser "$URL"
    fi
elif test -x /usr/bin/www-browser; then
    exec /usr/bin/www-browser "$URL"
fi

** Package changed: openoffice.org (Ubuntu) => debianutils (Ubuntu)

** Changed in: debianutils (Ubuntu)
   Importance: Undecided => High

** Changed in: debianutils (Ubuntu)
       Status: Confirmed => New

** Summary changed:

- Openoffice.org needs to follow XDG to determine default browser
+ sensible-browser should also use xdg-open for KDE support

-- 
sensible-browser should also use xdg-open for KDE support
https://bugs.launchpad.net/bugs/204858
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kdebase in ubuntu.




More information about the kubuntu-bugs mailing list