edubuntu-bugs team mailing list archive
-
edubuntu-bugs team
-
Mailing list archive
-
Message #04571
[Bug 682310] Re: Copy to clipboard does not work
Here you are a few new discoveries.
With the xclip program you can obtain the content of the clipboard. You
use it this way:
* To know which content types are available in the clipboard: xclip
-selection c -o -t TARGETS
* To actually get the content for a given content type: replace
"TARGETS" with the content type
If I copy the GeoGebra view in the clipboard I have:
$ xclip -selection c -o -t TARGETS
image/jpeg
image/png
image/x-png
image/x-raw
image/x-portable-pixmap
image/x-gif
image/gif
PNG
JFIF
$ xclip -selection c -o -t image/png | file -
/dev/stdin: PNG image data, 1168 x 898, 8-bit/color RGBA, non-interlaced
Then, pasting in LibreOffice doesn't work, but in GIMP does. Then I
paste in GIMP and copy again from GIMP, getting:
$ xclip -selection c -o -t TARGETS
TIMESTAMP
TARGETS
MULTIPLE
SAVE_TARGETS
image/png
image/x-icon
image/x-ico
image/x-win-bitmap
image/bmp
image/x-bmp
image/x-MS-bmp
image/tiff
image/jpeg
Than pasting in LibreOffice works. I don't know whether the TARGETS
difference is significat or the problem is another. Anyway, I'm quite
sure it isn't GeoGebra's fault. ASAP I'll write a program to prove this.
Gio.
--
You received this bug notification because you are a member of Edubuntu
Bugsquad, which is subscribed to geogebra in Ubuntu.
https://bugs.launchpad.net/bugs/682310
Title:
Copy to clipboard does not work
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/geogebra/+bug/682310/+subscriptions