Very general question, but proabbly there is a way to make this work in a KDE shortcut. Or a script. or some external program like CopyQ which I used for lots of things, but seemingly can’t make his action work.
bASICALLY tO aVOID tEXT lIKE tHIS
Cam I use sed to monitor the clipboard and modify it in the clipboard manager? Could be another dirty hack if the rest ain’t possible.
I guess something like xclip would work like they show there … but instead make the xclip copy alias that incorporates the scrubbing from above … and set that as a shortcut for Super+Ctrl+C
Off the top of my head that seems easy enough.
Not really sure how you want the clipboard to know when the text is unintentionally caps-locked and dynamically monitor and fix it for you.
I guess its possible … but seems rather pointless to write a whole chunk of software instead of just fixing it in the few instances it occurs.