libreoffice_如何在LibreOffice中自定义键盘快捷键

libreoffice

libreoffice

00_lead_image_customize_shortcut_keys

If you’re using the free alternative to Microsoft Office, LibreOffice, and you like using keyboard shortcuts, you can customize the shortcuts in each LibreOffice program and for all LibreOffice programs in general.

如果您使用的是Microsoft Office, LibreOffice的免费替代产品,并且喜欢使用键盘快捷键,则可以在每个LibreOffice程序以及所有LibreOffice程序中自定义快捷键。

However, customizing the keyboard shortcuts if not completely intuitive. So, we’ll show you how to customize the shortcuts and save and load your custom keyboard shortcut configurations.

但是,如果不完全直观,请自定义键盘快捷键。 因此,我们将向您展示如何自定义快捷方式以及保存和加载自定义键盘快捷方式配置。

To customize the keyboard shortcuts, open any LibreOffice program, such as Writer, and go to Tools > Customize.

要自定义键盘快捷键,请打开任何LibreOffice程序,例如Writer,然后转到“工具”>“自定义”。

01_selecting_tools_customize

On the Customize dialog box, click the “Keyboard” tab.

在“自定义”对话框上,单击“键盘”选项卡。

02_clicking_keyboard_tab

The Keyboard tab allows you to customize keyboard shortcuts in the current program or in all LibreOffice programs using the radio buttons in the upper-right corner of the dialog box. The radio button for the current program (in our example, Writer) is selected by default.

键盘选项卡允许您使用对话框右上角的单选按钮在当前程序或所有LibreOffice程序中自定义键盘快捷键。 默认情况下,当前程序(在我们的示例中为Writer)的单选按钮处于选中状态。

For our example, we will change a keyboard shortcut that is available in all LibreOffice programs, so we select “LibreOffice”.

对于我们的示例,我们将更改所有LibreOffice程序中都可用的键盘快捷键,因此我们选择“ LibreOffice”。

03_applying_to_all_libreoffice_apps

The Shortcut Keys box displays all the shortcut keys available (the left column) and the functions applied to certain shortcut keys (the right column). If there is no function listed for a certain shortcut key, that shortcut key is available to assign to a function.

快捷键框显示所有可用的快捷键(左列)和应用于某些快捷键的功能(右列)。 如果没有为某个快捷键列出功能,则可以将该快捷键分配给某个功能。

Customizing the shortcut keys can be a bit confusing. You might think you should choose the shortcut key you want to change in the Shortcut Keys box and then click Modify to change it. But, that’s not how this works.

自定义快捷键可能会有些混乱。 您可能认为您应该在“快捷键”框中选择要更改的快捷键,然后单击“修改”进行更改。 但是,这不是这样的。

All the functions in the LibreOffice programs (or in the current program, if you selected the current program above) are listed in the Functions section at the bottom of the dialog box. To customize a shortcut key for a specific function, first select the Category and then the Function in the Functions section. Any currently assigned shortcut keys for the selected function are listed in the Keys box and the first one in the list, or the only one, is automatically highlighted in the Keys box and in the Shortcut Keys box above.

LibreOffice程序(或当前程序,如果您选择了上面的当前程序)中的所有功能都在对话框底部的“功能”部分列出。 要为特定功能自定义快捷键,请首先选择类别,然后在功能部分中选择功能。 当前为所选功能分配的所有快捷键都列在“键”框中,列表中的第一个(或唯一一个)将在“键”框中和上方的“快捷键”框中自动突出显示。

NOTE: You may have to do some searching through the categories and functions, because, unfortunately, they do not match exactly with the structure of the menus in the LibreOffice programs. For example, we’re going to change the shortcut key for the Print Preview command, which is on the File menu in the programs, but is under the View Category on the Customize dialog box.

注意:您可能必须对类别和功能进行一些搜索,因为不幸的是,它们与LibreOffice程序中的菜单结构不完全匹配。 例如,我们将更改“打印预览”命令的快捷键,该命令位于程序的“文件”菜单上,但位于“自定义”对话框的“查看类别”下。

04_selecting_function_to_change

Once you’ve selected the function you want to customize in the Functions section, select the different shortcut key you want to assign to that function in the Shortcut Keys box and then click “Modify”.

在“功能”部分中选择了要自定义的功能后,在“快捷键”框中选择要分配给该功能的其他快捷键,然后单击“修改”。

05_selecting_shortcut_key_click_modify

The newly selected shortcut key is assigned to the selected function. There is no confirmation for this action.

新选择的快捷键被分配给所选功能。 没有确认此操作。

Notice that there are now two shortcut keys for Print Preview in our example. You can assign more than one shortcut key for a function by selecting multiple shortcut keys in the Shortcut Keys box (one after the other, not at the same time) and clicking “Modify” for each one. However, for our example, we want to delete the original shortcut key (Ctrl+Shift+O) and only use the new one (Ctrl+Shift+P). To do that, we select the original shortcut key in either the Shortcut Keys box or in the Keys box in the Functions section, and then click “Delete”.

注意,在我们的示例中,现在有两个用于打印预览的快捷键。 您可以通过在“快捷键”框中选择多个快捷键(一个接一个,不要同时)并为每个功能单击“修改”,为一个功能分配多个快捷键。 但是,对于我们的示例,我们要删除原始的快捷键(Ctrl + Shift + O),而仅使用新的快捷键(Ctrl + Shift + P)。 为此,我们在“快捷键”框中或“功能”部分的“键”框中选择原始的快捷键,然后单击“删除”。

06_deleting_old_shortcut_key

Now, we only have one shortcut key for the selected function.

现在,所选功能只有一个快捷键。

07_shortcut_key_changed

You can save your custom shortcut keys in a configuration file for reloading later on another computer, or if you reinstall LibreOffice on the same computer. To save your custom configuration file, go to Tools > Customize (if the Customize dialog box is not currently open) to open the Customization dialog box.

您可以将自定义快捷键保存在配置文件中,以便以后在另一台计算机上重新加载,或者在同一台计算机上重新安装LibreOffice时使用。 要保存您的自定义配置文件,请转至工具>自定义(如果“自定义”对话框当前未打开)以打开“自定义”对话框。

NOTE: Remember how we selected whether to change shortcut keys for the current program (e.g., Writer) or for all LibreOffice programs (LibreOffice) using the radio buttons in the upper-right corner of the dialog box? Note which option is selected when saving your configuration. It’s important when you want to load a configuration file at a later time.

注意:还记得我们如何选择使用对话框右上角的单选按钮更改当前程序(例如Writer)或所有LibreOffice程序(LibreOffice)的快捷键吗? 请注意在保存配置时选择了哪个选项。 当您以后要加载配置文件时,这一点很重要。

Click “Save”.

点击“保存”。

08_clicking_save

On the Save Keyboard Configuration dialog box, navigate to where you want to save the configuration file and enter a name for the file in the “File name” box. You may want to include in the name whether this is for a specific LibreOffice program or for all LibreOffice programs. Then, click “Save”.

在“保存键盘配置”对话框上,导航到要保存配置文件的位置,然后在“文件名”框中输入文件的名称。 您可能要在名称中包括这是针对特定的LibreOffice程序还是所有LibreOffice程序。 然后,单击“保存”。

09_saving_configuration_file

Now that you saved your custom shortcut keys configuration, you can reload your custom configuration on another PC.

现在,您已保存了自定义快捷键配置,您可以在另一台PC上重新加载自定义配置。

NOTE: Again, remember the radio buttons in the upper-right corner of the dialog box that allow you to specify whether you’re changing shortcut keys for the current program (e.g., Writer) or for all LibreOffice programs (LibreOffice)? Make sure the same option is selected that was selected when you saved the configuration file. Otherwise, your custom configuration will not load correctly. This is where it would be helpful if the option that was selected when you saved the configuration file was added to the file name so you know which option to select when loading that configuration file.

注意:同样,请记住对话框右上角的单选按钮,这些按钮可让您指定是更改当前程序(例如Writer)还是所有LibreOffice程序(LibreOffice)的快捷键? 确保选择与保存配置文件时选择的选项相同的选项。 否则,您的自定义配置将无法正确加载。 如果将在保存配置文件时选择的选项添加到文件名中,以便您知道在加载该配置文件时选择哪个选项,这将对您有所帮助。

To load a saved configuration file, click “Load”.

要加载已保存的配置文件,请单击“加载”。

12_clicking_load

On the Load Keyboard Configuration dialog box, navigate to where you saved your custom configuration file, select the file and click “Open”.

在“加载键盘配置”对话框上,导航到保存自定义配置文件的位置,选择该文件,然后单击“打开”。

13_loading_configuration_file

Your previously saved shortcut keys configuration is loaded and your custom shortcut keys are available.

先前保存的快捷键配置已加载,并且您的自定义快捷键可用。

14_configuration_loaded

Lastly, if you want to revert your changes to the shortcut keys, you can reset them to the defaults.

最后,如果您想将更改恢复为快捷键,则可以将其重置为默认设置。

You’ll notice there are two Reset buttons on the Customize dialog box. The Reset button in the Shortcut Keys section allows you to reset that section to the defaults while preserving your selection in the Functions section. This allows you to easily change your selection in the Shortcut Keys box, even if you had added multiple shortcut keys to the selected function. The list of Keys in the Functions section may not reflect the change right away, but once you make another selection after resetting your previous selection(s) and click “Modify”, the list of Keys updates.

您会注意到“自定义”对话框上有两个“重置”按钮。 快捷键部分中的重置按钮可让您将该部分重置为默认值,同时保留“功能”部分中的选择。 即使您已向所选功能添加了多个快捷键,这也使您可以轻松地在“快捷键”框中更改选择。 “功能”部分中的“键”列表可能不会立即反映出更改,但是一旦您重置了先前的选择并单击“修改”后再进行另一个选择,则“键”列表将更新。

However, if you click “Reset” in the Shortcut Keys section and then immediately click “OK” to close the Customize dialog box, the Functions section is updated to match the Shortcut Keys list the next time you open the Customize dialog box.

但是,如果单击“快捷键”部分中的“重置”,然后立即单击“确定”以关闭“自定义”对话框,则下次打开“自定义”对话框时,“功能”部分将更新为与“快捷键”列表匹配。

10_clicking_reset_for_shortcut_keys

When you click on the Reset button at the bottom of the dialog box, the selections on the whole dialog box reset to the default settings, even the LibreOffice and Writer radio buttons at the top.

当您单击对话框底部的“重置”按钮时,整个对话框上的选择都会重置为默认设置,甚至顶部的LibreOffice和Writer单选按钮也是如此。

11_clicking_reset_for_functions

When assigning shortcut keys to functions, make sure you don’t use shortcut keys that are used by your operating system. These are different for each operating system. If you discover you have assigned a shortcut key used in your system to a function in LibreOffice, you can always delete that shortcut key from the function, as we described here, and select a different shortcut key.

为功能分配快捷键时,请确保您不使用操作系统使用的快捷键。 对于每个操作系统,这些都是不同的。 如果发现您已将系统中使用的快捷键分配给LibreOffice中的某个功能,则可以按照此处所述,始终从该功能中删除该快捷键,然后选择其他快捷键。

翻译自: https://www.howtogeek.com/278954/how-to-customize-keyboard-shortcuts-in-libreoffice/

libreoffice

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值