I was finally able to link the Evolution e-mail URLs to run Mozilla upon
clicking.  Firstly, I made (or more appropriately, copied) a script
named "mozilla-invoke", and put it in /usr/bin:


------------- [start script] ---------
#!/bin/bash
# mozilla-invoke script

MOZ_PATH=/usr/local/mozilla     # YMMV
if $MOZ_PATH/mozilla -remote "openurl($1, new-window)"; then
:
else
  $MOZ_PATH/mozilla "$1"
fi

------------- [end script] -----------

(script courtesy of Mr. Paolo Alexis Falcone)


Then I configured the GNOME URL handler.  Turns out that configuring the
default protocol handler isn't enough;  I also modified the http and
https protocol handlers too.  Each reads: mozilla-invoke "%s".

I now have a new quest at hand:  be able to open different file formats
(zip, doc, pdf, etc.) instantly from Evolution, and also from any
program (say, a web browser getting a pdf file).

Thanks to all who helped :)

-- 
Joon Guillen


================================
So computers are tools of the Devil? thought Newt.  He had no problem
believing it.  Computers had to be the tools of _somebody_, and he knew
for certain that it definitely wasn't him.

from "Good Omens", Neil Gaiman & Terry Pratchett

_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to