|
|
|
|
|
by jmillikin
5814 days ago
|
|
This isn't Gnome, it's X11 -- if you select text with the mouse and then middle-click, it'll paste whatever you selected. Luckily, the X11 clipboard is separate from the Gnome clipboard, so Ctrl-C/Ctrl-V continue to work properly after selecting something. I haven't figured out how to disable the X11 clipboard yet. If you find a way, please post it ;) |
|
You could probably write a daemon to keep the primary selection empty. The `xsel` program would be a good place to start. I thought you could do it with `while true; do echo -n '' | xsel -n -i; done`, but it quits immediately if the input is empty so that would be constantly executing a new program. Still, I expect there's some trickery you could do with it, or you could look at how it's implemented and copy that.
(edit - or to eliminate a lot of the pain,
will keep a space permanently in the selection. I tested and it seemed to work, though there may be edge cases I'm not aware of.)