(Probably) because I’ve set the Clipboard Manager’s maximum history entries to the plasmoid’s maximum
Consequently, I’d like to clear its history whilst retaining its history for myself. However, there doesn’t appear to be any obvious option in its GUI, like checkboxes allowing me to perform Ctrl+A to select all and copy them into one \n-delimited paragraph.
No, it’s not the X/Y problem - I do want a record of everything that I’ve duplicated into the clipboard.
Do you know whether there’s a way to poll the amount of entries currently in the clipboard history so that I can automatically export and clear it programmatically in the background, should it reach 2048 entries?
This is fantastic. I’ve had to reinstall my system a couple of times over the years and I have been annoyed at having to lose my several hundred clipboard entries each time. I know this topic is a couple of years old, but is there any chance of this being added to the Klipper GUI?
@ajgringo619, does that cope with multimedia? I was expecting to see at least base-64 string representations of images with accompanying IANA Media Types, but I don’t appear to. Instead, I appear to merely see a string representation of a file: (schema-prefixed) URI.
I spent some time messing with this and asking AI. It seems the answer is that it does not handle multimedia such as images. I ended up just scrolling back in the clipboard history in the tray and clicking the entry to get my screenshot. That behavior of left-clicking to put into the clipboard is a bit unintuitive btw - I was originally running these commands because I got confused about how to copy a screenshot from my history. A context menu on right-click would be a bit more intuitive.