Partial answer: Selections in X don't work like in Windows. The X protocol allows two clients to communicate and transfer the selection, and these two clients also negotiate the format between them. There is no "system-wide clipboard".
So it's not something that is "built into openbox".
(In addition, usage of ctrl-c and ctrl-vctrl-v is also application dependent, not all applications offer those keys. The X standard is to use the middle mouse button for paste.)
So the only way to get rid of this functionality is to introduce a third client (similar to xclipboard
, note that this is very different from xclip
) which implements some kind of system-wide clipboard, takes over the selection and only copies the text format.
However, I do not know of any ready-made application that has this functionality.
Depending on your level of pain, and your C expertise, you could look at the source code of xclipboard
and modify it so it only copies the text format.