Join the Mozilla’s Test Days event from Dec 2–8 to test the new Firefox address bar on Firefox Beta 134 and get a chance to win Mozilla swag vouchers! 🎁

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Can I lock the layout in Thunderbird?

  • 5 个回答
  • 1 人有此问题
  • 4 次查看
  • 最后回复者为 firefox545

more options

My elderly father keeps accidentally hitting buttons in Thunderbird that changes the layout and other view options. Is it possible to lock these formatting options so that a user cannot change them?

My elderly father keeps accidentally hitting buttons in Thunderbird that changes the layout and other view options. Is it possible to lock these formatting options so that a user cannot change them?

所有回复 (5)

more options

There are add-ons that deal with specific items, such as No Message Pane Sort (which actually works for the Threads Pane), and you can hide toolbars from the View menu. Entire menus and submenus can be hidden with the use of userChrome.css.

If you set a layout and want to back it up in case it's changed, copy the xulstore.json file in the profile folder.

more options

Thanks for your reply. This add-on only disables sorting columns, but not the ability to click other things under view -> toolbars and view -> layout, or grabbing the the lines btwn panes and moving those

more options

You may need to use the info in the userChrome.css link provided by sfhowes.

Specifically...if you want to remove the 'Toolbars' and 'Layout' items from the 'View' option then do this.

In Thunderbird:

  • Help > Troubleshooting Information
  • click on 'Open folder' button

a new window opens showing the contents of your Profile folder.

  • Close Thunderbird now - this is important.
  • Create new folder and call it chrome note the spelling - use a lower case 'c' It should be in the same place as the 'Mail' folder. See image below as guide.
  • open Notepad
  • Copy everything - all the text between lines below and paste it into the Notepad document.

/*
 
* Do not remove the @namespace line -- it's required for correct functioning
 */

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); 

/* Hide menu items */
menu[label="Toolbars"],
menu[label="Layout"]
{display: none !important;}



  • Save the document as filename userChrome.css in the 'chrome' folder. Note the spelling all lower case except for the 'C'.

See image below as guide.

Start Thunderbird.

Under 'View', Toolbars and Layout should not be an option.

more options

Please note: It has been known that when code is entered for copying in this forum, the email sent to you may not have the complete code. The part that says !important is often missing. So please view the correct posted comment in the forum question to double check the code before saving the 'userChrome.css' file.

more options

Thanks, I'll try that.