New image from system clipboard, Gnome

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

New image from system clipboard, Gnome

Michael Doube
Hi

I just tried to create a new image from the system clipboard
(File->New->System Clipboard) and got this exception:

java.io.IOException: Owner timed out
at sun.awt.X11.XSelection.validateDataGetter(XSelection.java:491)
at sun.awt.X11.XSelection.getData(XSelection.java:423)
at sun.awt.X11.XClipboard.getClipboardData(XClipboard.java:98)
at
sun.awt.datatransfer.ClipboardTransferable.fetchOneFlavor(ClipboardTransferable.java:101)
at
sun.awt.datatransfer.ClipboardTransferable.<init>(ClipboardTransferable.java:80)
at sun.awt.X11.XClipboard.getContents(XClipboard.java:84)
at ij.plugin.Clipboard.showSystemClipboard(Clipboard.java:76)
at ij.plugin.Clipboard.run(Clipboard.java:35)
at ij.IJ.runPlugIn(IJ.java:153)
at ij.Executer.runCommand(Executer.java:122)
at ij.Executer.run(Executer.java:59)
at java.lang.Thread.run(Thread.java:619)

I'm running Ubuntu 9.10 with Gnome desktop, IJ 1.43n and Sun's Java
(1.6.0_15 64-bit) and made my screenshot by hitting [Prt Sc] and
'Clipboard' in the dialog that pops up.

Mike
Reply | Threaded
Open this post in threaded view
|

Re: New image from system clipboard, Gnome

Gabriel Landini
On Wednesday 30 December 2009 19:08:15 you wrote:
> I just tried to create a new image from the system clipboard
> (File->New->System Clipboard) and got this exception:
> java.io.IOException: Owner timed out
[...]

Hi Mike,
I got exactly the same error under opensuse 11.2 (64bit)+KDE 4.3.4 when I try
to make a new image from the clipboard, I wait some time and then try to empty
the clipboard.

Otherwise IJ usually just shows the message "Opening system clipboard..." and
shows no image and no error.

BTW, I have to press Ctrl+PrtSc to be able to capture the screen, which
appears in Klipper.

It seems that it is more convenient to use the IJ Capture Screen command.

Cheers,
G.