特殊:Badtitle/NS100:ThunderbirdDefaultMailerHowto:修订间差异
小无编辑摘要 |
小无编辑摘要 |
||
第2行: | 第2行: | ||
{{Languages|UbuntuHelp:ThunderbirdDefaultMailerHowto}} | {{Languages|UbuntuHelp:ThunderbirdDefaultMailerHowto}} | ||
This Howto shows how to make Thunderbird your default e-mailer in GNOME and for Firefox `mailto:` links. | This Howto shows how to make Thunderbird your default e-mailer in GNOME and for Firefox `mailto:` links. | ||
For 8.04 please carry out the following steps: | |||
* Open the menu on the panel and select ''System -> Preferences -> Preferred Applications''. | * Make sure you have Thunderbird installed. | ||
* Open the menu on the panel and select ''System -> Preferences -> Preferred Applications''. | |||
* Under mail reader choose 'Thunderbird' from the dropdown menu. | |||
That's all. | |||
==== For older versions of Ubuntu or if the above does not work you could try this: ==== | |||
* Open the menu on the panel and select ''System -> Preferences -> Preferred Applications''. | |||
Open the '''Mail Reader''' tab and select the '''Custom''' checkbox. In the text field next to it, enter: | Open the '''Mail Reader''' tab and select the '''Custom''' checkbox. In the text field next to it, enter: | ||
`mailto %s` | `mailto %s` | ||
第46行: | 第51行: | ||
Now, when you click on a `mailto:` link in Firefox, Thunderbird will open a new composer window. When Thunderbird is already running, it will not start another instance of Thunderbird, but will just ask Thunderbird to open a new message window. This prevents Thunderbird from trying to open a new instance with a different user profile. | Now, when you click on a `mailto:` link in Firefox, Thunderbird will open a new composer window. When Thunderbird is already running, it will not start another instance of Thunderbird, but will just ask Thunderbird to open a new message window. This prevents Thunderbird from trying to open a new instance with a different user profile. | ||
If the `mailto` script is started without arguments, and Thunderbird is not already running, it will just open the Thunderbird main window. If it detects a running Thunderbird, it will open a new message window with an empty `To:` address line. | If the `mailto` script is started without arguments, and Thunderbird is not already running, it will just open the Thunderbird main window. If it detects a running Thunderbird, it will open a new message window with an empty `To:` address line. | ||
[[category: | ---- | ||
[[category:CategoryEmail]] | |||
[[category:UbuntuHelp]] | [[category:UbuntuHelp]] |
2008年10月19日 (日) 17:36的最新版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/ThunderbirdDefaultMailerHowto }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto | UbuntuHelp:ThunderbirdDefaultMailerHowto | {{#if: | :}}ThunderbirdDefaultMailerHowto}}/af | • {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto|Afrikaans| [[::ThunderbirdDefaultMailerHowto/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto | UbuntuHelp:ThunderbirdDefaultMailerHowto | {{#if: | :}}ThunderbirdDefaultMailerHowto}}/ar | • {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto|العربية| [[::ThunderbirdDefaultMailerHowto/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto | UbuntuHelp:ThunderbirdDefaultMailerHowto | {{#if: | :}}ThunderbirdDefaultMailerHowto}}/az | • {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto|azərbaycanca| [[::ThunderbirdDefaultMailerHowto/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto | UbuntuHelp:ThunderbirdDefaultMailerHowto | {{#if: | :}}ThunderbirdDefaultMailerHowto}}/bcc | • {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto|جهلسری بلوچی| [[::ThunderbirdDefaultMailerHowto/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto | UbuntuHelp:ThunderbirdDefaultMailerHowto | {{#if: | :}}ThunderbirdDefaultMailerHowto}}/bg | • {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto|български| [[::ThunderbirdDefaultMailerHowto/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto | UbuntuHelp:ThunderbirdDefaultMailerHowto | {{#if: | :}}ThunderbirdDefaultMailerHowto}}/br | • {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto|brezhoneg| [[::ThunderbirdDefaultMailerHowto/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto | UbuntuHelp:ThunderbirdDefaultMailerHowto | {{#if: | :}}ThunderbirdDefaultMailerHowto}}/ca | • {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto|català| [[::ThunderbirdDefaultMailerHowto/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto | UbuntuHelp:ThunderbirdDefaultMailerHowto | {{#if: | :}}ThunderbirdDefaultMailerHowto}}/cs | • {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto|čeština| [[::ThunderbirdDefaultMailerHowto/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto | UbuntuHelp:ThunderbirdDefaultMailerHowto | {{#if: | :}}ThunderbirdDefaultMailerHowto}}/de | • {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto|Deutsch| [[::ThunderbirdDefaultMailerHowto/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto | UbuntuHelp:ThunderbirdDefaultMailerHowto | {{#if: | :}}ThunderbirdDefaultMailerHowto}}/el | • {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto|Ελληνικά| [[::ThunderbirdDefaultMailerHowto/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto | UbuntuHelp:ThunderbirdDefaultMailerHowto | {{#if: | :}}ThunderbirdDefaultMailerHowto}}/es | • {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto|español| [[::ThunderbirdDefaultMailerHowto/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto | UbuntuHelp:ThunderbirdDefaultMailerHowto | {{#if: | :}}ThunderbirdDefaultMailerHowto}}/fa | • {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto|فارسی| [[::ThunderbirdDefaultMailerHowto/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto | UbuntuHelp:ThunderbirdDefaultMailerHowto | {{#if: | :}}ThunderbirdDefaultMailerHowto}}/fi | • {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto|suomi| [[::ThunderbirdDefaultMailerHowto/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto | UbuntuHelp:ThunderbirdDefaultMailerHowto | {{#if: | :}}ThunderbirdDefaultMailerHowto}}/fr | • {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto|français| [[::ThunderbirdDefaultMailerHowto/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto | UbuntuHelp:ThunderbirdDefaultMailerHowto | {{#if: | :}}ThunderbirdDefaultMailerHowto}}/gu | • {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto|ગુજરાતી| [[::ThunderbirdDefaultMailerHowto/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto | UbuntuHelp:ThunderbirdDefaultMailerHowto | {{#if: | :}}ThunderbirdDefaultMailerHowto}}/he | • {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto|עברית| [[::ThunderbirdDefaultMailerHowto/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto | UbuntuHelp:ThunderbirdDefaultMailerHowto | {{#if: | :}}ThunderbirdDefaultMailerHowto}}/hu | • {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto|magyar| [[::ThunderbirdDefaultMailerHowto/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto | UbuntuHelp:ThunderbirdDefaultMailerHowto | {{#if: | :}}ThunderbirdDefaultMailerHowto}}/id | • {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto|Bahasa Indonesia| [[::ThunderbirdDefaultMailerHowto/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto | UbuntuHelp:ThunderbirdDefaultMailerHowto | {{#if: | :}}ThunderbirdDefaultMailerHowto}}/it | • {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto|italiano| [[::ThunderbirdDefaultMailerHowto/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto | UbuntuHelp:ThunderbirdDefaultMailerHowto | {{#if: | :}}ThunderbirdDefaultMailerHowto}}/ja | • {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto|日本語| [[::ThunderbirdDefaultMailerHowto/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto | UbuntuHelp:ThunderbirdDefaultMailerHowto | {{#if: | :}}ThunderbirdDefaultMailerHowto}}/ko | • {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto|한국어| [[::ThunderbirdDefaultMailerHowto/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto | UbuntuHelp:ThunderbirdDefaultMailerHowto | {{#if: | :}}ThunderbirdDefaultMailerHowto}}/ksh | • {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto|Ripoarisch| [[::ThunderbirdDefaultMailerHowto/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto | UbuntuHelp:ThunderbirdDefaultMailerHowto | {{#if: | :}}ThunderbirdDefaultMailerHowto}}/mr | • {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto|मराठी| [[::ThunderbirdDefaultMailerHowto/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto | UbuntuHelp:ThunderbirdDefaultMailerHowto | {{#if: | :}}ThunderbirdDefaultMailerHowto}}/ms | • {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto|Bahasa Melayu| [[::ThunderbirdDefaultMailerHowto/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto | UbuntuHelp:ThunderbirdDefaultMailerHowto | {{#if: | :}}ThunderbirdDefaultMailerHowto}}/nl | • {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto|Nederlands| [[::ThunderbirdDefaultMailerHowto/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto | UbuntuHelp:ThunderbirdDefaultMailerHowto | {{#if: | :}}ThunderbirdDefaultMailerHowto}}/no | • {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto|norsk| [[::ThunderbirdDefaultMailerHowto/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto | UbuntuHelp:ThunderbirdDefaultMailerHowto | {{#if: | :}}ThunderbirdDefaultMailerHowto}}/oc | • {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto|occitan| [[::ThunderbirdDefaultMailerHowto/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto | UbuntuHelp:ThunderbirdDefaultMailerHowto | {{#if: | :}}ThunderbirdDefaultMailerHowto}}/pl | • {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto|polski| [[::ThunderbirdDefaultMailerHowto/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto | UbuntuHelp:ThunderbirdDefaultMailerHowto | {{#if: | :}}ThunderbirdDefaultMailerHowto}}/pt | • {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto|português| [[::ThunderbirdDefaultMailerHowto/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto | UbuntuHelp:ThunderbirdDefaultMailerHowto | {{#if: | :}}ThunderbirdDefaultMailerHowto}}/ro | • {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto|română| [[::ThunderbirdDefaultMailerHowto/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto | UbuntuHelp:ThunderbirdDefaultMailerHowto | {{#if: | :}}ThunderbirdDefaultMailerHowto}}/ru | • {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto|русский| [[::ThunderbirdDefaultMailerHowto/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto | UbuntuHelp:ThunderbirdDefaultMailerHowto | {{#if: | :}}ThunderbirdDefaultMailerHowto}}/si | • {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto|සිංහල| [[::ThunderbirdDefaultMailerHowto/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto | UbuntuHelp:ThunderbirdDefaultMailerHowto | {{#if: | :}}ThunderbirdDefaultMailerHowto}}/sq | • {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto|shqip| [[::ThunderbirdDefaultMailerHowto/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto | UbuntuHelp:ThunderbirdDefaultMailerHowto | {{#if: | :}}ThunderbirdDefaultMailerHowto}}/sr | • {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto|српски / srpski| [[::ThunderbirdDefaultMailerHowto/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto | UbuntuHelp:ThunderbirdDefaultMailerHowto | {{#if: | :}}ThunderbirdDefaultMailerHowto}}/sv | • {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto|svenska| [[::ThunderbirdDefaultMailerHowto/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto | UbuntuHelp:ThunderbirdDefaultMailerHowto | {{#if: | :}}ThunderbirdDefaultMailerHowto}}/th | • {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto|ไทย| [[::ThunderbirdDefaultMailerHowto/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto | UbuntuHelp:ThunderbirdDefaultMailerHowto | {{#if: | :}}ThunderbirdDefaultMailerHowto}}/tr | • {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto|Türkçe| [[::ThunderbirdDefaultMailerHowto/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto | UbuntuHelp:ThunderbirdDefaultMailerHowto | {{#if: | :}}ThunderbirdDefaultMailerHowto}}/vi | • {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto|Tiếng Việt| [[::ThunderbirdDefaultMailerHowto/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto | UbuntuHelp:ThunderbirdDefaultMailerHowto | {{#if: | :}}ThunderbirdDefaultMailerHowto}}/yue | • {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto|粵語| [[::ThunderbirdDefaultMailerHowto/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto | UbuntuHelp:ThunderbirdDefaultMailerHowto | {{#if: | :}}ThunderbirdDefaultMailerHowto}}/zh | • {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto|中文| [[::ThunderbirdDefaultMailerHowto/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto | UbuntuHelp:ThunderbirdDefaultMailerHowto | {{#if: | :}}ThunderbirdDefaultMailerHowto}}/zh-hans | • {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto|中文(简体)| [[::ThunderbirdDefaultMailerHowto/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto | UbuntuHelp:ThunderbirdDefaultMailerHowto | {{#if: | :}}ThunderbirdDefaultMailerHowto}}/zh-hant | • {{#if: UbuntuHelp:ThunderbirdDefaultMailerHowto|中文(繁體)| [[::ThunderbirdDefaultMailerHowto/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:ThunderbirdDefaultMailerHowto|:ThunderbirdDefaultMailerHowto|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :ThunderbirdDefaultMailerHowto/zh | | {{#ifexist: ThunderbirdDefaultMailerHowto/zh | | {{#ifeq: {{#titleparts:ThunderbirdDefaultMailerHowto|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:ThunderbirdDefaultMailerHowto|1|-1|}} | zh | | }}
This Howto shows how to make Thunderbird your default e-mailer in GNOME and for Firefox `mailto:` links. For 8.04 please carry out the following steps:
- Make sure you have Thunderbird installed.
- Open the menu on the panel and select System -> Preferences -> Preferred Applications.
- Under mail reader choose 'Thunderbird' from the dropdown menu.
That's all.
For older versions of Ubuntu or if the above does not work you could try this:
- Open the menu on the panel and select System -> Preferences -> Preferred Applications.
Open the Mail Reader tab and select the Custom checkbox. In the text field next to it, enter: `mailto %s` Now, click the Close button.
- Open a text editor and copy-and-paste the following shell script:
#!/bin/bash # mailto - handle mailto: links by opening the composer in thunderbird # Author: Christopher Arndt <chris at chrisarndt dot de> # find thunderbird executable for prog in thunderbird mozilla-thunderbird; do if [ -n "$(which "$prog" 2>/dev/null)" ]; then TB="$prog" break fi done if [ -z "$TB" ]; then echo "Thunderbird executable not found." 2>&1 exit 1 fi if $TB -remote "ping()" &>/dev/null; then # strip "mailto:" prefix when using -remote CMD="${1#mailto:}" exec $TB -remote "mailto($CMD)" &>/dev/null else # suppress any output from thunderbird to stdout/stderr # remove "&>/dev/null" if you don't like this exec $TB "$@" &>/dev/null fi
- Save this shell script to a file named `mailto`.
- Then open a terminal window, change to the directory where you saved the script and issue the following command:
sudo install mailto /usr/local/bin
This will install the shell script into `/usr/local/bin` and make it executable. Now, when you click on a `mailto:` link in Firefox, Thunderbird will open a new composer window. When Thunderbird is already running, it will not start another instance of Thunderbird, but will just ask Thunderbird to open a new message window. This prevents Thunderbird from trying to open a new instance with a different user profile. If the `mailto` script is started without arguments, and Thunderbird is not already running, it will just open the Thunderbird main window. If it detects a running Thunderbird, it will open a new message window with an empty `To:` address line.