[opensuse] Thunderbird - Any way to make it open Opera on link click?
Listmates, Another quirky question, is there any way to configure thunderbird on 11.0 to make it open another browser besides firefox when you click a link in a mail message? I searched the config:editor on network, browser, fire, helper, but nothing looked like a browser change. It seems to be ignoring the KDE "Component Chooser" setting of Opera regarding the default browser. -- David C. Rankin, J.D.,P.E. | Rankin Law Firm, PLLC | Countdown for openSuSE 11.1 510 Ochiltree Street | http://counter.opensuse.org/11.1/small Nacogdoches, Texas 75961 | Telephone: (936) 715-9333 | openSoftware und SystemEntwicklung Facsimile: (936) 715-9339 | http://www.opensuse.org/ www.rankinlawfirm.com | -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
David C. Rankin said the following on 11/14/2008 06:55 PM:
Listmates,
Another quirky question, is there any way to configure thunderbird on 11.0 to make it open another browser besides firefox when you click a link in a mail message? I searched the config:editor on network, browser, fire, helper, but nothing looked like a browser change. It seems to be ignoring the KDE "Component Chooser" setting of Opera regarding the default browser.
Yes. It comes in two parts. First, you need to set T'Bird to execute a shell script when clicking on a URL. I have ~/.thunderbird/openlink.sh It has this in it: #!/bin/sh BROWSER=${BROWSER-/usr/bin/firefox} url="$1" if [ "x$url" = "x" ]; then url="about:blank" fi exec ${BROWSER} -remote "openurl($url, new-tab)" YMMV. To get to this I have in my user.js for T'Bird: // Use browser for http, https & ftp links user_pref("network.protocol-handler.app.http", "~/.thunderbird/openlink.sh"); user_pref("network.protocol-handler.app.https", "~/.thunderbird/openlink.sh"); user_pref("network.protocol-handler.app.ftp", "~/.thunderbird/openlink.sh"); You may need to fully expand the ~/ I found the basis for this via Google many years ago and it has served me well after a few modifications :-) I suppose it depends on how much you want hard coded. -- "We hear very little and we understand even less" - An anonymous Englishman, The opening scene of Cassablanca -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
David C. Rankin said the following on 11/14/2008 06:55 PM:
Listmates,
Another quirky question, is there any way to configure thunderbird on 11.0 to make it open another browser besides firefox when you click a link in a mail message? I searched the config:editor on network, browser, fire, helper, but nothing looked like a browser change. It seems to be ignoring the KDE "Component Chooser" setting of Opera regarding the default browser.
I think I mentioned, my one hate of T'Bird is that it is not integrated with KDE and QT but is, rather, dependent on the Gnome libraries. Oh, and its pretty much NOT integrated. Except with Firefox, and then only slightly. -- Could it be that all those trick-or-treaters wearing sheets aren't going as ghosts but as mattresses? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Anton Aylward wrote:
David C. Rankin said the following on 11/14/2008 06:55 PM:
Listmates,
Another quirky question, is there any way to configure thunderbird on 11.0 to make it open another browser besides firefox when you click a link in a mail message? I searched the config:editor on network, browser, fire, helper, but nothing looked like a browser change. It seems to be ignoring the KDE "Component Chooser" setting of Opera regarding the default browser.
I think I mentioned, my one hate of T'Bird is that it is not integrated with KDE and QT but is, rather, dependent on the Gnome libraries. Oh, and its pretty much NOT integrated. Except with Firefox, and then only slightly.
Anton, Thank you! I'll work with the scripts and see what it will do. I also like Wolfgang's solution. -- David C. Rankin, J.D.,P.E. | Rankin Law Firm, PLLC | Countdown for openSuSE 11.1 510 Ochiltree Street | http://counter.opensuse.org/11.1/small Nacogdoches, Texas 75961 | Telephone: (936) 715-9333 | openSoftware und SystemEntwicklung Facsimile: (936) 715-9339 | http://www.opensuse.org/ www.rankinlawfirm.com | -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
David C. Rankin schrieb:
Listmates,
Another quirky question, is there any way to configure thunderbird on 11.0 to make it open another browser besides firefox when you click a link in a mail message? I searched the config:editor on network, browser, fire, helper, but nothing looked like a browser change. It seems to be ignoring the KDE "Component Chooser" setting of Opera regarding the default browser.
gconftool-2 -t string -s /desktop/gnome/url-handlers/http/command "opera %s" gconftool-2 -t string -s /desktop/gnome/url-handlers/https/command "opera %s" Should do it. Wolfgang -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Wolfgang Rosenauer wrote:
David C. Rankin schrieb:
Listmates,
Another quirky question, is there any way to configure thunderbird on 11.0 to make it open another browser besides firefox when you click a link in a mail message? I searched the config:editor on network, browser, fire, helper, but nothing looked like a browser change. It seems to be ignoring the KDE "Component Chooser" setting of Opera regarding the default browser.
gconftool-2 -t string -s /desktop/gnome/url-handlers/http/command "opera %s" gconftool-2 -t string -s /desktop/gnome/url-handlers/https/command "opera %s"
Should do it.
Wolfgang
Damn your good Wolfgang! -- David C. Rankin, J.D.,P.E. | Rankin Law Firm, PLLC | Countdown for openSuSE 11.1 510 Ochiltree Street | http://counter.opensuse.org/11.1/small Nacogdoches, Texas 75961 | Telephone: (936) 715-9333 | openSoftware und SystemEntwicklung Facsimile: (936) 715-9339 | http://www.opensuse.org/ www.rankinlawfirm.com | -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
Anton Aylward
-
David C. Rankin
-
Wolfgang Rosenauer