You are not logged in.
I really like how PRIMARY selection works on Xorg: select text to copy, middle click to paste.
The only issue I have is that PRIMARY selection contents do not survive termination of the application that it is copied from, because app's internal memory is used for storing the selection.
Are there clipboard managers that can alleviate this nuisance and get PRIMARY selections to survive their app's lifetime, and which if yes?
I already use autocutsel for synchronizing PRIMARY and CLIPBOARD selections but this preserves the first one only as CLIPBOARD selection i.e. I can't use middle click to paste which is really neat.
So what autocutsel does is not the solution I'm looking for.
Offline
"xsel -k"?
Offline
"xsel -k"?
That does what I want but it needs to be run manually every time.
Do you (or anyone else) know a good way to automate it without just making it be run constantly?
Ideally, it would be run whenever the X app that is currently associated with PRIMARY selection is about to be closed; a good alternative is also making it run whenever any X app is about to be closed.
Offline