getting rich text from the X clipboard

Posted by intuited on Super User See other posts from Super User or by intuited
Published on 2010-05-22T21:35:43Z Indexed on 2010/05/22 21:41 UTC
Read the original article Hit count: 238

Filed under:
|
|

How can rich text be obtained from the X clipboard? For example, if you copy some text from a web browser and paste it into kompozer, it pastes as HTML, with links etc. preserved. However, xclip -o for the same selection just outputs plain text. I'd like to pull the HTML out and into a text editor.

© Super User or respective owner

Related posts about linux

Related posts about xorg