Klipper(复制粘贴工具)

From KDE UserBase Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
This page is a translated version of the page Klipper and the translation is 50% complete.
Outdated translations are marked like this.
  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