CopyQ(1)
πΈ CopyQ(1) β NAME πΈ
CopyQ β Clipboard Manager with Advanced Features π
okay so bestie, welcome to CopyQ(1), straight out of the General Commands Manual section, and no cap this thing is the clipboard manager with editing and scripting features. it's giving main character energy for your clipboard, fr fr.
β¨ SYNOPSIS β¨
copyq [COMMAND]
that's it. one binary, so many vibes. π¦
π DESCRIPTION π
so CopyQ is an advanced clipboard manager with editing and scripting features β lowkey iconic. it monitors your system clipboard and saves its content in customized tabs, so nothing you copy ever has to ghost you again. then the saved clipboard can be copied and pasted directly into any application. periodt. π
π COMMANDS π
heads up bestie: if you don't specify any command, it starts the server. yes, just copyq by itself. she's self-starting like that.
- (no command at all) β Starts server if no command is specified.
show[NAME]β Show the main window, and optionally open the tab with the given name.hideβ Hide main window. bye bestie πtoggleβ Show or hide main window. she can't decide, honestly relatable.menuβ Open context menu.exitβ Exit server.disable,enableβ Disable or enable clipboard content storing.clipboard[MIME]β Print clipboard content.selection[MIME]β Print X11 selection content.pasteβ Paste clipboard to current window (may not work with some applications). β οΈ yes, some apps are haters.copyTEXTβ Set clipboard text.copyMIME DATA [MIME DATA]...β Set clipboard content.countβ Print amount of items in current tab.select[ROW=0]β Copy item in the row to clipboard.nextβ Copy next item from current tab to clipboard.previousβ Copy previous item from current tab to clipboard.addTEXT...β Add text into clipboard.insertROW TEXTβ Insert text into given row.remove[ROWS=0...]β Remove items in given rows.edit[ROW=-1...]β Edit items or edit a new one. Value-1is for the current text in the clipboard. ποΈseparatorSEPARATORβ Set separator for items on output.read[MIME|ROW]...β Print raw data of clipboard or item in row.write[ROW=0] MIME DATA [MIME DATA]...β Write raw data to given row.action[ROWS=0...]β Show action dialog.action[ROWS=0...] [PROGRAM [SEPARATOR=\n]]β RunPROGRAMon item text in the rows. Use%1inPROGRAMto pass text as an argument.popupTITLE MESSAGE [TIME=8000]β Show tray popup message forTIMEmilliseconds. cute little notification moment π«Άtabβ List available tab names.tabNAME [COMMAND]β Run command on tab with given name. Tab is created if it doesn't exist. Default is the first tab.removetabNAMEβ Remove tab.renametabNAME NEW_NAMEβ Rename tab.exporttabFILE_NAMEβ Export items to file.importtabFILE_NAMEβ Import items from file.configβ List all options.configOPTIONβ Get option value.configOPTION VALUEβ Set option value.eval,-e[SCRIPT] [ARGUMENTS]...β Evaluate ECMAScript program. Arguments are accessible using"arguments[0..N]".session,-s,--sessionSESSIONβ Starts or connects to application instance with given session name.help,-h,--help[COMMAND]...β Print help forCOMMANDor all commands.
π¦ NOTES π¦
- Use the dash argument (
-) to read data from standard input. - Use the double-dash argument (
--) to read all following arguments without expanding escape sequences (i.e.\n,\tand others). very much the "take it literally bestie" flag π - Use
?forMIMEto print available MIME types (default is"text/plain").
π EXAMPLES π
Insert some texts to the history:
copyq add "first item" "second item" "third item"
Print content of the first three items:
copyq read 0 1 2
copyq separator "," read 0 1 2
Show current clipboard content:
copyq clipboard
copyq clipboard text/html
copyq clipboard \?
# lists formats in clipboard
Copy text to the clipboard:
copyq copy "Some Text"
Load file content into clipboard:
copyq copy - < file.txt
copyq copy text/html < index.html
copyq copy image/jpeg - < image.jpg
Create an image items:
copyq write image/gif - < image.gif
copyq write image/svg - < image.svg
π SEE ALSO π
π AUTHOR π
The maintainer of CopyQ is Lukas Holecek <hluk@email.cz>. A comprehensive list of authors and contributors is available in the AUTHORS file.
This manual page was written by GengYu Rao (zouyoo@outlook.com), for the Debian project (and may be used by others). π
aaaand that's the whole page bestie,CopyQ(1)from the General Commands Manual, signed off at the very bottom asCopyQ(1)β you read it, you understood it, you slayed it. no cap. πβ¨π¦
π¦ where this page comes from
- arch rolling: copyq 16.0.0-1 Β· GPL-3.0-or-later
- debian bookworm: copyq 6.4.0-1 Β· GPL-3.0-or-later
- debian trixie: copyq 10.0.0-1 Β· GPL-3.0-or-later
- epel 9: copyq 8.0.0-2.el9 Β· GPL-3.0-or-later
- fedora 43: copyq 11.0.0-1.fc43 Β· GPL-3.0-or-later
- fedora 43: copyq 16.0.0-1.fc43 Β· GPL-3.0-or-later
- fedora 44: copyq 13.0.0-5.fc44 Β· GPL-3.0-or-later
- fedora 44: copyq 16.0.0-1.fc44
- fedora 44: copyq 17.0.0-1.fc44 Β· GPL-3.0-or-later
- nixos 26.05: CopyQ 13.0.0
- nixpkgs unstable: CopyQ 16.0.0
- ubuntu jammy: copyq 6.0.1-1 Β· GPL-3.0-or-later
- ubuntu noble: copyq 7.1.0-1build2 Β· GPL-3.0-or-later
- ubuntu questing: copyq 10.0.0-1ubuntu1
- ubuntu resolute: copyq 13.0.0-1.1 Β· GPL-3.0-or-later
- ubuntu stonking: copyq 16.0.0-1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms