Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

当サイトはユーザー体験を改善するためのメンテナンスを実施中に機能が制限される予定です。記事を読んでもあなたの問題が解決せず質問をしたい場合は、Twitter の @FirefoxSupport、Reddit の /r/firefox で、サポートコミュニティが皆さんを助けようと待機しています。

Mozilla サポートの検索

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

How to remotely toggle offline mode in thunderbird

  • 3 件の返信
  • 4 人がこの問題に困っています
  • 4 回表示
  • 最後の返信者: Matt

more options

Is it possible to toggle Thunderbird's offline mode from the command line? (on linux.)

The idea is to execute such command when certain connection/disconnection events happen (e.g. triggered by NetworkManager).

Is it possible to toggle Thunderbird's offline mode from the command line? (on linux.) The idea is to execute such command when certain connection/disconnection events happen (e.g. triggered by NetworkManager).

すべての返信 (3)

more options

If internet connectivity is lost then Thunderbird should automatically into offline mode.

Offline mode can be triggered in Thunderbird whilst it is running and in online mode via clicking on the small two blue screen icon located bottom left in Status bar. When in offline mode it will become a two black screen icon.

clicking on the two black screen icon will go back to online mode.

Command line to start in offline mode etc:

Offline settings: 'Edit' > 'Preferences' > 'Advanced' > 'Network & Disc Space' tab

  • click on 'Offline' button
  • make choices
  • click on all 'OK's.
more options

Toad-Hall said

Offline mode can be triggered in Thunderbird whilst it is running and in online mode via clicking on the small two blue screen icon located bottom left in Status bar.

Yes, but is there a way to toggle Thunderbird's offline mode from the command line?

I want to control it's offline/online state from another program.

more options

There is a command line switch, -offline, but it is meant for starting Thunderbird. I have no tested if it does anything if Thunderbird is already running and there is nothing for the reverse at all that I can see. https://developer.mozilla.org/en-US/docs/Mozilla/Command_Line_Options