Bug#505486: [openoffice.org-writer] oowriter can't open links in a document using external browser
Package: openoffice.org-writer
Version: 1:3.0.0-4
Severity: normal
Tags: patch
--- Please enter the report below this line. ---
Hi Renè,
I hope you will find this bug report useful even if it's referred to experimental branch, but it is about the upcoming 3.0 version of openoffice. Well, I have noticed that just in case you press hyperlinks contained in a document, openoffice complains about: Openoffice could not find a web browser on your syste. Please check your desktop preferences or install a web browser (e.g.: Mozilla), blah blah blah...
Obviously the browser is in its place, and BTW there are at least three browsers it can use (firefox, konqueror, epiphany). I have tried to check the default browsers in /etc/alternatives, purging packages, almost everything. Finally, googling around I have found in a mandriva forum (they are the best, trust me ;D) that the problem is related only to KDE and the script /usr/lib/openoffice/basis3.0/program/kde-open-url.
The original script gives this error in console:
/usr/lib/openoffice/program/../basis-link/program/kde-open-url: line 7: ` else'
So I have just copy/paste the script from the mandriva forum and it worked:
#!/bin/sh
# special handling for mailto: uris
if echo $1 | grep '^mailto:' > /dev/null; then
kmailservice "$1" &
else
firefox "$1" &
fi
exit 0
I hope this script doesn't rise other bugs...
--- System information. ---
Architecture: amd64
Kernel: Linux 2.6.27.4
Debian Release: lenny/sid
500 unstable www.debian-multimedia.org
500 unstable mirrors.ecology.uni-kiel.de
500 unstable mi.mirror.garr.it
500 unstable debian.fastweb.it
500 testing mi.mirror.garr.it
500 stable security.debian.org
500 stable mi.mirror.garr.it
1 experimental mi.mirror.garr.it
--- Package information. ---
Depends (Version) | Installed
===============================================-+-===================
openoffice.org-core (= 1:3.0.0-4) | 1:3.0.0-4
openoffice.org-base-core (= 1:3.0.0-4) | 1:3.0.0-4
libc6 (>= 2.7-1) | 2.7-16
libgcc1 (>= 1:4.1.1) | 1:4.3.2-1
libicu38 (>= 3.8-5) | 3.8.1-3
libstdc++6 (>= 4.2.1) | 4.3.2-1
libwpd8c2a | 0.8.14-1
libwps-0.1-1 | 0.1.2-1
ure (>= 1.4+OOo3.0.0~) | 1.4+OOo3.0.0-4
zlib1g (>= 1:1.1.4) | 1:1.2.3.3.dfsg-12
Reply to: