On Mon, May 4, 2009 at 6:38 PM, Adam Williamson <awilliam(a)redhat.com> wrote:
On Sun, 2009-05-03 at 01:51 +0200, Kevin Kofler wrote:
> Adrin Jalali wrote:
> > I remember a copy paste problem which was (I think at least) solved, but I
> > can see it again using rawhide. When you copy something in an application,
> > by the time you close that application it's being erased from the
> > clipboard. So you should keep the source application open till you paste
> > that somewhere else.
> >
> > Is it supposed to be normal behavior?
>
> This is just how the X11 clipboard works. The X11 clipboard contents are
> stored within the application "owning" the clipboard, if you close it,
poof,
> there goes the clipboard. You need to run a clipboard manager such as
> Klipper, Glipper etc., which fixes this by taking ownership of the
> clipboard automatically.
Adrin is right, though - GNOME's had a built-in clipboard manager for
several releases now, so this works with most applications
transparently.
However, it still seems to be working for me, with today's Rawhide. I
just tested by copying something from gedit, closing gedit, and then
pasting it into a gnome-terminal. Worked OK.
I can't find any references for this, though (I learned about it via
Planet GNOME eons ago), so I wouldn't know how to tell what's gone wrong
for Adrin.
This only works for the Ctrl+C / Ctrl+V way.
If you select a text and try to paste using the middle mouse button it
only works when the source app is open.