Linux command
copyq 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Start CopyQ
copyq
Show the clipboard history
copyq show
Copy text
copyq copy "[text to copy]"
Paste the clipboard
copyq paste
Read current clipboard
copyq clipboard
Read item at specific index
copyq read [0]
Add text to clipboard history
copyq add "[text to add]"
Select item from history
copyq select [5]
说明
CopyQ is an advanced clipboard manager with editing and scripting features. It monitors the system clipboard and stores a searchable history of copied content, supporting text, images, and other data types. The application provides both a GUI for browsing history and a powerful command-line interface for scripting clipboard operations. Items can be organized into tabs, tagged, and filtered. Custom commands and scripts can be triggered based on clipboard content. CopyQ supports synchronization across devices, encrypted storage, and extensive customization through its scripting API. It integrates with system shortcuts for quick access to clipboard history and paste operations.
参数
- show
- Show the main clipboard history window.
- hide
- Hide the main window.
- toggle
- Toggle the main window visibility.
- copy _TEXT_
- Copy text to the clipboard.
- paste
- Paste current clipboard content.
- clipboard
- Print current clipboard content.
- read _INDEX_
- Read clipboard history item at index.
- add _TEXT_
- Add text to clipboard history.
- select _INDEX_
- Copy item at index to clipboard.
- remove _INDEX_
- Remove item at index from history.
- count
- Print number of items in clipboard history.
- exit
- Exit CopyQ.
FAQ
What is the copyq command used for?
CopyQ is an advanced clipboard manager with editing and scripting features. It monitors the system clipboard and stores a searchable history of copied content, supporting text, images, and other data types. The application provides both a GUI for browsing history and a powerful command-line interface for scripting clipboard operations. Items can be organized into tabs, tagged, and filtered. Custom commands and scripts can be triggered based on clipboard content. CopyQ supports synchronization across devices, encrypted storage, and extensive customization through its scripting API. It integrates with system shortcuts for quick access to clipboard history and paste operations.
How do I run a basic copyq example?
Run `copyq` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does show do in copyq?
Show the main clipboard history window.