Various of these raise security questions, i.e. in CopyQ there is no way of marking passwords on the clipboard as secret unless they come from certain password apps, and that is quite tedious, and presumes you aren’t using a command-line password manager, or a browser plugin.
Cross-platform clipboard manager CopyQ (Cross-platform means desktop, not available for smartphones) offers syncing via file on disk. If you have secure sync this might be attractive to you. It even provides a circuitous way of getting data to smartphones, maybe.
The Kubuntu one. Works ok.
Note google cloud messaging is deprecated which is possibly an indication of undermaintenance.
Supports everything apart from iOS.
A sometimes-recommended Windows one I haven’t used is
Built-in windows clipbaord manager
Windows 10 includes clipboard history per default.
Mentioned elsewhere but collated here: the tips for using shell scripting to interact with the clipboard!
cat foo | pbcopy pbpaste > whatever.txt
Easy …and yet! Needlessly doesn’t do what you expect per default!
The command is
xclip, which per default copies your data into pneumatic pipes,
or somewhere else I do not know how to retrieve it from because I am not a 7ee+ hack0rz.
There is some whole parallel copy-paste system that I do no care about and which
is not in my muscle memory and I will therefore never use.
Anyway, the argument I need to actually use what to work with the clipboard
content for normal apps accessed using the copy paste conventions of the non-X11 world, is
cat foo.txt | xclip -selection clipboard xclip --out -selection clipboard > file.txt
I can never remember this half way through a pipe when I need it, so I put this in my bash profile.
alias pbcopy "xclip -selection clipboard" alias pbpaste "xclip --out -selection clipboard"
cat foo.txt | fish_clipboard_copy