<<< Date Index >>>     <<< Thread Index >>>

Re: wich settings for using firefox with mutt ?



Elimar Riesebieter <riesebie@xxxxxxxx> wrote:
| On Sun, 03 Dec 2006 the mental interface of
| mess-mate told:
| 
| > Elimar Riesebieter <riesebie@xxxxxxxx> wrote:
| > | On Wed, 15 Nov 2006 the mental interface of
| > | mess-mate told:
| > | 
| > | > I've installed firefox in my $HOME dir.
| > | > But can(t use it with mutt:
| > | > my mailcap file looks like :
| > | > text/html; /home/mes-mate/firefox/firefox '%s'; description=HTML
| > | > Text; nametemplate=%s.html; test=test "$DISPLAY" != ""
| > | > 
| > | > and
| > | > 
| > | > text/html; /home/mess-mate/firefox/firefox '%s'; description=HTML Text;
| > | > test=test -n "$DISPLAY";  nametemplate=%s.html
| > | > 
| > | > I've setted also firefox as the default browser in my 'alternatives'
| > | > and 'env'.
| > | > 
| > | > What's wrong with it ?
| > | 
| > | Are you running urlview?
| > | 
| > | Elimar
| > | 
| > If you mean when i press 'B', yes the url's are viewed and selecting
| > one + 'enter' launch mozilla, not firefox.
| 
| $ cat ~/.urlview
| 
| ---
| 
| #! /bin/bash
| 
| # regular expression to use to match URLs
| REGEXP (((http|https|ftp|gopher)|mailto):(//)?[^ <>"\t]*|www\.[-a-z0-9.]+)[^ 
.,;\t<">\):]
| 
| # command to invoke for selected URL
| COMMAND $HOME/bin/url_handler.sh
| 
| ---
| 
| $HOME/bin/url_handler.sh is a slightly modified /etc/urlview/url_handler.sh
| 
| Here is what I have in my url_handler.sh:
| 
| ...
| http_prgs="/usr/bin/firefox:PW /usr/bin/lynx:XT /usr/bin/w3m:XT 
/usr/bin/links:XT"
| https_prgs=$http_prgs mailto_prgs="/usr/bin/mutt:VT"
| gopher_prgs="/usr/bin/gopher:XT /usr/bin/lynx:XT"
| ftp_prgs="/usr/bin/ncftp:XT /usr/bin/lftp:XT $http_prgs"
| file_prgs="/usr/bin/wget:XT /usr/bin/snarf:XT"
| ...
| 
| And of course yes in X firefox is used to open URL's ;)
| 
Ok, i setted-up urlview, url_handler.sh like above and the macros in
my keybindings.
Sorry about my ignorance, but what do you mean with 'And of course
yes in X firefox is used to open URL's' ??
thanks for your time

mess-mate
-- 

A horse!  A horse!  My kingdom for a horse!
                -- Wm. Shakespeare, "Henry VI"