[Techtalk] Sylpheed-Configuring e-mail Web-url location

Akkana akkana at shallowsky.com
Fri Sep 27 09:24:45 EST 2002


Andrew writes:
> 	When I highlight a URL, and up pops a window that asks which
> 	browser to use...I want to use Mozilla. It has 3-4 other browser
> 	choices that work, but I want my Mozilla. It lists Mozilla as a
> 	choice but my new install of Mozilla is I guess in a different
> 	place. How can I point this web-url "thingy" to my new mozilla
> 	install?

Well, it sorta depends on where you installed mozilla. :-)
If you used the mozilla graphical installer and picked the default
location, then it's probably in: /usr/local/mozilla/mozilla
I would recommend that you also add a -remote flag (so that it
will display to your currently running mozilla instead of trying
to start up another one), so the command would look like this:

/usr/local/mozilla/mozilla -remote 'openURL(%s)'
Or, if you want the url to open in a new window or new tab, you
can say 'openURL(%s,new-tab)' or new-window

If you chose another location besides /usr/local/mozilla, then
change the path to whatever you told it.  If you installed mozilla
from an RPM or other distro-specific means, try typing "which mozilla"
and see if it finds it that way.  If all else fails, try:
  locate mozilla-bin
which will show you all installations of mozilla that you currently
have on your system (edit out the -bin part when you edit the sylpheed
configuration, though).

> 	Mozilla-remote 'openURL(%s,raise)'. The other browsers are

Oh, I didn't know about ,raise.  That sounds like a good one if you
don't use new-window or new-tab (I assume it will raise the currently
running mozilla to the top, in case it was buried by other windows).

BTW, mozilla shouldn't be capitalized -- the program is called mozilla
with a lower-case m.  If it's capitalized, it's possible that that's
the only problem right there.

Andrew, one request: any chance you could set your wrap width in sylpheed
to some reasonable length like 72 columns?  Your messages are hard to
reply to in text mailers like mutt when there aren't any line breaks.

Alternately, to the list: does anyone have a magic vim command that will
handle wrapping of long-line quoted mail automatically?  I learned about
the vim commands gqap (rewrap current paragraph) and gqG (rewrap from
here to end of message) on the mutt list, and they're great, but they
don't handle mail like Andrew's where paragraphs are denoted with
initial space but no blank lines.  I'm increasingly seeing people do
that, and it would be great to have an easy vim command to handle it.

	...Akkana



More information about the Techtalk mailing list