* To get the Mozilla binary to work (e.g., /usr/lib/mozilla-1.7.10/mozilla-bin) without the /usr/bin/mozilla wrapper script, add the libs to LD_LIBRARY_PATH by either adding the paths to these libs explicitly (in /etc/ld.so.conf) or by simply creating a conf file (e.g., "mozilla-1.7.10-1.4.1.centos4.conf") in /etc/ld.so.conf.d/ specifying the path to mozilla libs (remember to issue the "ldconfig" command as usual): [meme@someplace ~]# cat /etc/ld.so.conf.d/mozilla-1.7.10-1.4.1.centos4.conf /usr/lib/mozilla-1.7.10 /usr/lib/mozilla-1.7.10/plugins * To get "mailto:XXX" hyperrefs to be handled by the Mozilla mail program while browsing within Firefox (and also to get it to work in general, regardless of whether a Mozilla session is currently active or not), a couple of things need to be modified: - Under KDE, issue the "gnome-default-applications-properties" command (one can navigate to this under Gnome) and set the "Custom Mail Reader" "Command:" field to the following (within the "Mail Reader" tab): /usr/bin/mozilla -compose %s - Apply the mozilla.patch to the default "/usr/bin/mozilla" wrapper script. The content of this patch follows: | someplace:Mozilla[1]# cat mozilla.patch | --- mozilla.DEFAULT 2005-07-22 05:23:37.000000000 -0700 | +++ mozilla.CAM 2005-08-31 15:25:01.487632000 -0700 | @@ -96,10 +96,10 @@ | | function open_compose() { | if [ "${ALREADY_RUNNING}" -eq "1" ]; then | - exec $MOZ_CLIENT_PROGRAM 'xfeDoCommand(composeMessage)' \ | + exec $MOZ_CLIENT_PROGRAM "mailto($*)" \ | 2>/dev/null >/dev/null | else | - exec $MOZ_PROGRAM $* | + exec $MOZ_PROGRAM -compose "to=$*" | fi | } | | @@ -138,7 +138,10 @@ | open_mail ${1+"$@"} | ;; | -compose) | - open_compose ${1+"$@"} | + STRIP1=${@//"-compose"/} | + STRIP2=$(echo ${STRIP1//"to="/}) | + STRIP3=$(echo ${STRIP2//mailto\:/}) | + open_compose ${STRIP3} | ;; | -*) ;; | *) USE_EXIST=1 ;;