Red Hat Bugzilla – Bug 75102
hardcode gnome-libs to htmlview
Last modified: 2007-04-18 12:47:09 EDT
evolution opens mozilla when I click hyperlinks in it instead of my favourite
When I change my preferred browser with the
"gnome-default-applications-properties" program, the file ~/.gnome/Gnome is
not updated. The section [URL Handlers] still contains the entry
default-show=gnome-moz-remote --newwin "%s"
which is what evolution uses for hyperlinks clicked in emails and in the summary.
I found no other tool that edited this file.
Why isn't the default browser in the file "htmlview" instead of gnome-moz-remote?
It seems that "gnome-default-applications-properties" only puts the browser
choice in the file
Is evolution supposed to use this file instead of ~/.gnome/Gnome ?
Evolution isn't quite caught up to the newer GNOME control panel.
Didn't someone make htmlview read a config setting?
If so we could just hardwire the GNOME 1.4 stuff to htmlview and then
it would track GNOME 2.
Yes, twaugh made htmlview look at the gconf setting
OK, moving to gnome-libs; we'll ignore the .gnome config file, and hardwire
htmlview for GNOME 1 apps.
*** Bug 80128 has been marked as a duplicate of this bug. ***
Bug 80128 points out that we need to handle mailto: as well, is it total crack
to make htmlview do that? Or does it already?
The Preferred Applications control panel doesn't seem to have a choice
for email, though. We could add one pretty quickly I suppose.
It doesn't, currently. It could easily be added if you like. As to whether or
not it's total crack, I'm not sure. ;-)
The htmlview magic is just this at the moment:
if [ "x`/sbin/pidof gnome-session`" != "x" ]; then
- X11BROWSERS="$X11BROWSERS_GENERIC $X11BROWSERS_GNOME $X11BROWSERS_KDE"
+ GCONF=$(gconftool-2 -g /desktop/gnome/url-handlers/unknown/command \
+ 2>/dev/null | sed -e 's/%s//')
+ X11BROWSERS="$GCONF $X11BROWSERS_GENERIC $X11BROWSERS_GNOME
TERMS="$CONSOLE $TERMS_GENERIC $TERMS_GNOME $TERMS_KDE"
X11BROWSERS="$X11BROWSERS_GENERIC $X11BROWSERS_KDE $X11BROWSERS_GNOME"
TERMS="$CONSOLE $TERMS_GENERIC $TERMS_KDE $TERMS_GNOME"
It isn't particularly robust or anything. Hope %s is at the end, etc.
*** Bug 71327 has been marked as a duplicate of this bug. ***
*** Bug 74669 has been marked as a duplicate of this bug. ***
*** Bug 76201 has been marked as a duplicate of this bug. ***
Clicking links in GNOME 1.4 apps such as evolution should now always run
Fix confirmed with gnome-libs-18.104.22.168.90-31.