Opera and exmh

You can use the Opera (http://www.opera.com) browser to view html mail including multipart/alternative messages that have a text/html part. There are two parts to the integration:

  1. Setting up the exmh Preferences
  2. A simple shell script that invokes Opera
  3. Set Opera to use exmh as your mail client

Setting up the exmh Preferences

In exmh click the Preferences button and then click the WWW preference button Set the following preference values

If the shell script opera-wrapper won't be available on the path give the full path to it in the "Netscape command" setting

A simple shell script that invokes Opera

Create a shell script named opera-wrapper. It must either be in a directory on your path or you must give the full path to it when using it(of course).

 #!/bin/sh
 /usr/bin/X11/opera -newwindow "$1" &
 exit

Set Opera to use exmh as your mail client

exmh is shipped with a file "comp.pl" (in the misc directory). Edit this file to your needs and enter in Opera in Preferences-->Applications-->Emailclient:

 path-to-your/comp.pl

that's it


Acknowledgments and Notes:


Updated on 12 Oct 2004, 02:56 GMT
Search - Recent Changes - Reference - Index - Go to Beedub's Wiki - Help