Could anyone explain me something : X does not remember the content of the selection, only the source. But why can't command line software like xsel or xclip output the content of the CLIPBOARD selection if it is binary ? see this :
a) select some text ("clipboard" for example), then CTRL-C :
xsel : clipboard
xsel -b : clipboard
b) right-click on an image in firefox for example the launchpad logo at the top of this page and CTRL-C :
xsel : [nothing]
xsel -b : [nothing]
what the heck ? what is xsel for if it only handles text? From the Lenny package description : "XSel is a command-line program for getting and setting the contents of the X selection.". It does not specify "text only".
Do firefox and gimp and openoffice and opera and [put your software here] use Xselection when copy/pasting images (or binary data) ?
Could anyone explain me something : X does not remember the content of the selection, only the source. But why can't command line software like xsel or xclip output the content of the CLIPBOARD selection if it is binary ? see this :
a) select some text ("clipboard" for example), then CTRL-C :
xsel : clipboard
xsel -b : clipboard
b) right-click on an image in firefox for example the launchpad logo at the top of this page and CTRL-C :
xsel : [nothing]
xsel -b : [nothing]
what the heck ? what is xsel for if it only handles text? From the Lenny package description : "XSel is a command-line program for getting and setting the contents of the X selection.". It does not specify "text only".
Do firefox and gimp and openoffice and opera and [put your software here] use Xselection when copy/pasting images (or binary data) ?