> For the complete documentation index, see [llms.txt](https://chaoses-ib.gitbook.io/directory-opus/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://chaoses-ib.gitbook.io/directory-opus/guan-fang-shou-ce/readme.zh-6.md).

# 自定义

自定义系统用于配置 Directory Opus 中的工具栏、菜单和热键。Opus 中的所有工具栏均可配置 - 你可以编辑提供的工具栏或创建你自己的。工具栏还可以“浮动” - 作为独立的窗口打开，不绑定到文件窗口- 例如，用作程序启动器。使用 Opus 时，你还可以配置*热键* - 可以激活 Opus 命令或启动外部程序的按键组合。

Opus 中没有“固定”工具栏的一个好处是：当此帮助文件引用在某个工具栏或某个菜单中访问命令时，它仅引用默认工具栏和菜单 - 如果你已经编辑默认设置或关闭了这些工具栏，那么显然这些说明就不会那么有帮助了。

自定义作为“模态”系统工作。进入自定义模式后，所有工具栏将切换到“编辑”模式，并且正常的文件窗口操作将被暂停。想法是你进入自定义模式、进行所需的编辑，然后离开自定义模式并尝试你的更改。

有多种进入自定义模式的方法 - 最常见的方法有：

* 从文件窗口中的**设置**菜单中选择**自定义工具栏**
* 右键单击工具栏上的空白区域，并从上下文菜单中选择**自定义**
* 单击文件窗口中的窗口图标（标题栏中最顶部的图标），并从菜单中选择**自定义**。这是一件方便记忆的事情，因为它始终让你能够自定义，即使关闭了所有工具栏或意外地从菜单中删除了自定义命令。
* 如果在[Windows 集成](https://github.com/Chaoses-Ib/DirectoryOpus/blob/main/Manual/preferences/preferences_categories/miscellaneous/windows_integration/README.zh.zh.md) 配置页面中打开了适当的选项，你可以从桌面上下文菜单访问自定义模式。

Opus 附带 4 个预定义的工具栏（[*默认工具栏集*](https://github.com/Chaoses-Ib/DirectoryOpus/blob/main/Manual/basic_concepts/the_lister/toolbars/the_default_toolbars/README.zh.zh.md)）。这些工具栏的处理方式与其它工具栏略有不同 - 你仍然可以编辑它们并关闭它们，但你无法删除它们，也无法在文件窗口之外浮动它们。如果你想要随时返回默认工具栏，有多种方法可以做到：

* 如果当前已打开某个默认工具栏且你只想将其重置为其默认值，那么你可以右键单击工具栏上的空白区域，并从上下文菜单中选择**将此工具栏重置为出厂设置**。只有选定的工具栏才会被重置。
* 如果你想要将所有工具栏重置为默认值，请右键单击任何工具栏上的空白区域，然后从上下文菜单中的工具栏子菜单中选择**重置工具栏为出厂设置**。
* 你还可以从默认**设置**菜单（除非你编辑过它！）的工具栏子菜单中选择**重置工具栏为出厂设置**命令。
* 最后，你可以从自定义对话框的[工具栏](https://github.com/Chaoses-Ib/DirectoryOpus/blob/main/Manual/customize/the_customize_dialog/toolbars.zh.zh.md) 页面将各个默认工具栏重置为它们的原始设置。

当你重置默认工具栏时，你对这些工具栏所做的任何更改都将丢失，但你创建的任何其它工具栏将不受影响。

详细内容：

[自定义对话框](https://github.com/Chaoses-Ib/DirectoryOpus/blob/main/Manual/customize/the_customize_dialog/README.zh.zh.md)\
[创建你自己的按钮](https://github.com/Chaoses-Ib/DirectoryOpus/blob/main/Manual/customize/creating_your_own_buttons/README.zh.zh.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://chaoses-ib.gitbook.io/directory-opus/guan-fang-shou-ce/readme.zh-6.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
