Klipper/zh-cn: Difference between revisions

From KDE UserBase Wiki
No edit summary
(Updating to match new version of source page)
 
(2 intermediate revisions by the same user not shown)
Line 6: Line 6:
传统的剪贴板的设想是你能复制一段文本以便能把它粘贴到其他地方。但如果你复制了一段内容,那之前复制的内容就会丢失。 '''Klipper''' 一举解决了这个问题。你刚复制的项目仍然是粘贴的默认内容,但是其他会存储在一个缓存里,所以你可以用不同的命令选择粘贴你的选中内容。甚至储存在缓存里的项目数量都能设置!点击托盘或是面板上的图标,你会看到可能的选中内容,以及一些选项。让我们看一些配置选项。
传统的剪贴板的设想是你能复制一段文本以便能把它粘贴到其他地方。但如果你复制了一段内容,那之前复制的内容就会丢失。 '''Klipper''' 一举解决了这个问题。你刚复制的项目仍然是粘贴的默认内容,但是其他会存储在一个缓存里,所以你可以用不同的命令选择粘贴你的选中内容。甚至储存在缓存里的项目数量都能设置!点击托盘或是面板上的图标,你会看到可能的选中内容,以及一些选项。让我们看一些配置选项。


{{Note|Within Plasma there are two different buffers. One is the ''clipboard'' and the other is the ''selection''. The ''clipboard'' buffer is filled when you press <keycap>Ctrl + X</keycap> or <keycap>Ctrl + C</keycap> and pasted by using <keycap>Ctrl + V</keycap>. The ''selection'' buffer is filled by simply marking some text and pasted by pressing the middle mouse button.  Having said that it is important to know that Klipper can be configured to hold both buffers.}}
<div class="mw-translate-fuzzy">
{|class="vertical-centered"
{|class="vertical-centered"
|[[Image:Klipper-conf.png|thumb|250px]]||&nbsp;||可能在<menuchoice>常规</menuchoice>页面对你最重要的2项是是否你想要剪贴板启动时为空还是在多会话中保留他的内容,和是否<menuchoice>同步</menuchoice>剪贴板和选中内容。他们的意思并不直接明显,但是在手册里有清楚的解释。你的确需要明白这个,如果选择错了会很郁闷的。
|[[Image:Klipper-conf.png|thumb|250px]]||&nbsp;||可能在<menuchoice>常规</menuchoice>页面对你最重要的2项是是否你想要剪贴板启动时为空还是在多会话中保留他的内容,和是否<menuchoice>同步</menuchoice>剪贴板和选中内容。他们的意思并不直接明显,但是在手册里有清楚的解释。你的确需要明白这个,如果选择错了会很郁闷的。
|}
|}
</div>


<div class="mw-translate-fuzzy">
{|class="vertical-centered"
{|class="vertical-centered"
|[[Image:Klipper-actions.png|thumb|250px]]||&nbsp;||如果你在写脚本或是从事编程工作,这部分是给你准备的。基于正则表达式的动作可以在这里设置。
|[[Image:Klipper-actions.png|thumb|250px]]||&nbsp;||如果你在写脚本或是从事编程工作,这部分是给你准备的。基于正则表达式的动作可以在这里设置。
|}
|}
</div>


{|class="vertical-centered"
{|class="vertical-centered"
Line 18: Line 25:
|}
|}


<div class="mw-translate-fuzzy">
帮助菜单里已经有提供 ''手册''。
帮助菜单里已经有提供 ''手册''。
</div>


== 教程 ==
== 教程 ==
Line 24: Line 33:
* [[Special:myLanguage/Klipper/Pastebins|Klipper 可以将内容发送到 paste-bin]]
* [[Special:myLanguage/Klipper/Pastebins|Klipper 可以将内容发送到 paste-bin]]


<div class="mw-translate-fuzzy">
== 外部链接 ==
== 外部链接 ==
* http://linux-blog.org/make-klipper-work-for-you/
* http://linux-blog.org/make-klipper-work-for-you/
</div>
Klipper can be accessed from the command line using ''xclip'' . To copy to the ctl+C/V buffer use ''xclip -selection clipboard''


[[Category:工具/zh-cn]]
[[Category:工具/zh-cn]]
[[Category:系统/zh-cn]]
[[Category:系统/zh-cn]]

Latest revision as of 06:42, 11 November 2022

  Klipper 剪切板工具

传统的剪贴板的设想是你能复制一段文本以便能把它粘贴到其他地方。但如果你复制了一段内容,那之前复制的内容就会丢失。 Klipper 一举解决了这个问题。你刚复制的项目仍然是粘贴的默认内容,但是其他会存储在一个缓存里,所以你可以用不同的命令选择粘贴你的选中内容。甚至储存在缓存里的项目数量都能设置!点击托盘或是面板上的图标,你会看到可能的选中内容,以及一些选项。让我们看一些配置选项。

Note

Within Plasma there are two different buffers. One is the clipboard and the other is the selection. The clipboard buffer is filled when you press Ctrl + X or Ctrl + C and pasted by using Ctrl + V. The selection buffer is filled by simply marking some text and pasted by pressing the middle mouse button. Having said that it is important to know that Klipper can be configured to hold both buffers.


  可能在常规页面对你最重要的2项是是否你想要剪贴板启动时为空还是在多会话中保留他的内容,和是否同步剪贴板和选中内容。他们的意思并不直接明显,但是在手册里有清楚的解释。你的确需要明白这个,如果选择错了会很郁闷的。
  如果你在写脚本或是从事编程工作,这部分是给你准备的。基于正则表达式的动作可以在这里设置。
  这里你能自定义现有的快捷键。现在还不能添加额外新的快捷键。

帮助菜单里已经有提供 手册

教程

Klipper can be accessed from the command line using xclip . To copy to the ctl+C/V buffer use xclip -selection clipboard