[Bug 204858] Re: sensible-browser should also use xdg-open for KDE support

2009-04-02 Thread Chris Cheney
Well there is also the konqueror bug 353678. But even still then Xubuntu
wouldn't work correctly, ad nauseam. So this still needs to be fixed in
sensible-browser as well. Note that in the new Debian version of this
package it is split out into sensible-utils.

-- 
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 Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 204858] Re: sensible-browser should also use xdg-open for KDE support

2009-04-02 Thread Chris Cheney
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.

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs