Talk:Make external programs in Linux use the right browser
From MozillaZine Knowledge Base
Jump to navigationJump to search
This does not work for me. Without the script I get the error that another instance of Firefox is running and I should shut it down. With the script nothing happens. Hendrik 20:01, 8 January 2007 (UTC) Ok, /me hits himself on the head. Do not forget to make the script executable. Hendrik 20:34, 8 January 2007 (UTC)
A similar script is needed to make Thunderbird handle mailto: links. This one works for me:
#!/bin/sh # # This script allows external apps to open mailto URLs in Thunderbird # or open a new instance of Thunderbird if it isn’t already started # /usr/bin/thunderbird -a thunderbird -remote "mailto($@)" || exec /usr/bin/thunderbird "$@";
There might be some extra work necessary to handle links which start with mailto:// themselves.
An interesting link in this respect: Thunderbird and Firefox scripts for Linux (de) Hendrik 08:55, 12 March 2007 (UTC)