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!

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Change the default theme for Thunderbird

  • 4 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 tiago3

more options

Hi, I've been searching for the directory where Thunderbird stores the default theme for the application. I need to set a custom theme so when a new profile is created, Thunderbird already launches with that theme, thus removing the need to place that theme in every profile that is created. I haven't been able to find a way to do this. At first, I found that a chrome directory existed in /usr/lib/thunderbird/chrome/, but even though I setup this directory with the custom theme files, nothing happened when I created a new profile. Is there a way to setup a custom theme as the default theme for all new profiles?

Thanks in advance.

Hi, I've been searching for the directory where Thunderbird stores the default theme for the application. I need to set a custom theme so when a new profile is created, Thunderbird already launches with that theme, thus removing the need to place that theme in every profile that is created. I haven't been able to find a way to do this. At first, I found that a chrome directory existed in '''/usr/lib/thunderbird/chrome/''', but even though I setup this directory with the custom theme files, nothing happened when I created a new profile. Is there a way to setup a custom theme as the default theme for all new profiles? Thanks in advance.

被選擇的解決方法

tiago3 said

Hi sfhowes, Thanks for the quick response. So just to be clear and see if I understood right, I'd have to manually prepare a profile somewhere in the filesytem with the chrome folder inside it and then also manually chose the profile which has the chrome subfolder once creating the profile through the Thunderbird UI. Did I get it right?

That's right, but you can see it's really not much faster than just creating a profile the usual way and then copying in the chrome folder from another profile - unless you're creating hundreds of profiles. To make TB apply a custom theme of the type contained in an xpi file, like theme add-ons, is more complex, and I think requires the creation of a cfg configuration file - a subject beyond my level of knowledge.

從原來的回覆中察看解決方案 👍 1

所有回覆 (4)

more options

I think you would have to create a 'template' profile folder that is the same as a regular new profile except it has a subfolder named chrome with the relevant css files. This chrome subfolder of the profile folder is different from the chrome subfolder of the program files folder. Then, when you create a new profile, click Choose folder in the Profile Manager dialog, and then Browse to the template profile. TB would then launch in its Default theme, but the appearance would depend on the css in the chrome subfolder. Profile operations can be performed from Help/Troubleshooting, about:profiles.

http://kb.mozillazine.org/index.php?title=UserChrome.css&printable=yes

An example of a userChrome theme. There are many others online.

more options

Hi sfhowes,

Thanks for the quick response. So just to be clear and see if I understood right, I'd have to manually prepare a profile somewhere in the filesytem with the chrome folder inside it and then also manually chose the profile which has the chrome subfolder once creating the profile through the Thunderbird UI.

Did I get it right?

more options

選擇的解決方法

tiago3 said

Hi sfhowes, Thanks for the quick response. So just to be clear and see if I understood right, I'd have to manually prepare a profile somewhere in the filesytem with the chrome folder inside it and then also manually chose the profile which has the chrome subfolder once creating the profile through the Thunderbird UI. Did I get it right?

That's right, but you can see it's really not much faster than just creating a profile the usual way and then copying in the chrome folder from another profile - unless you're creating hundreds of profiles. To make TB apply a custom theme of the type contained in an xpi file, like theme add-ons, is more complex, and I think requires the creation of a cfg configuration file - a subject beyond my level of knowledge.

more options

Thank you so much sfhowes!