This little app solved my day. It happens that Linux has two spaces that can be used by applications as clipboard. Sometimes, an app copies data to one of them but the target app pastes from the other clipboard. The result? Nothing is copied.
autocutsel syncs both clipboards, making both spaces work as if there was only one. Perfect.
Solved my problem with Keepass under Linux in a snap.