如何为Tomboy“创建新笔记”添加键盘快捷键?

康斯坦丁娜

我在Linux Mint上,并且经常使用Tomboy Notes。我想添加一个自定义键盘快捷键,以立即打开“新笔记”窗口并开始输入。我已经为Tomboy创建了一个自定义键盘快捷键,但是它基本上会启动主搜索窗口,而不是为我创建一个新的便笺以立即开始输入。有没有办法可以做到这一点?

我在网上搜索过,找到了Tomboy的不同命令,例如'tomboy --search',但没有即时创建便笺的命令。

在此处输入图片说明

康斯坦丁娜

嗯,我已经设法解决了这个问题,并且由于目前还没有其他答案,我想我也可以在这里发布解决方案,以防其他人感兴趣。

因此,基本上,在“添加自定义快捷方式”命令部分中,我必须键入“ tomboy --new-note”,而不仅仅是“ tomboy”。

如果您不知道某个程序支持的某些命令选项,则只需在终端中输入“ [程序名称] --help”,它将为您列出所有这些选项。

user@laptop:~$ tomboy --help
Tomboy: A simple, easy to use desktop note-taking application.
Copyright © 2004-2007 Alex Graveley
<[email protected]>

Copyright © 2004-2017 Others
Usage:
  --version         Print version information.
  --help            Print this usage message.
  --note-path [path]        Load/store note data in this directory.
  --search [text]       Open the search all notes window with the search text.
  --new-note            Create and display a new note.
  --new-note [title]        Create and display a new note, with a title.
  --open-note [title/url]   Display the existing note matching title.
  --start-here          Display the 'Start Here' note.
  --highlight-search [text] Search and highlight text in the opened note.
  --addin:html-export-all [path]    Exports all notes to HTML in the given location.
  --addin:html-export-all-quit [path]   Exports all notes to HTML in the given location and then quits.

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章