[Bug 204858] Re: sensible-browser should also use xdg-open for KDE support
Chris Cheney
ccheney at ubuntu.com
Thu Apr 2 16:39:27 UTC 2009
The patch for this probably needs to either also patch xdg-open to not
have a fallback case or use the code that xdg-open uses to detect
Gnome/KDE/XFCE.
Then do something like
if test -n "$DISPLAY"; then
if test -n "$GNOME_DESKTOP_SESSION_ID"; then
xdg-open "$URL"
elif test -n KDEtest; then
xdg-open "$URL"
elif test -n XFCEtest; then
xdg-open "$URL"
endif
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
** Summary changed:
- sensible-browser should also use xdg-open for KDE support
+ sensible-browser should also use xdg-open for KDE / XFCE support
** Summary changed:
- sensible-browser should also use xdg-open for KDE / XFCE support
+ sensible-browser should use xdg-open for Gnome / KDE / XFCE support
--
sensible-browser should use xdg-open for Gnome / KDE / XFCE 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