[Gllug] Seperate Clippboard Space??

Pete Ryland pdr at pdr.cx
Thu Feb 27 21:02:04 UTC 2003


On Thu, Feb 27, 2003 at 07:26:28PM +0000, Paul Cupis wrote:
> On Thursday 27 Feb 2003 17:50, Tom Taylor wrote:
> > For some reason, I cannot copy text between my email client (kmail)
> > and browser (Mozilla).
> >
> > Both quite definatly have the ability to do the whole cutting/pasting
> > thing, but they seem to use different clipboard space.
> >
> > Any suggestions?
> 
> Try selecting the text in one app and pasting it in another by pressing 
> your middle mouse button (or both of you mouse buttons if you use 
> emulation). This will use X's built in copy/paste, rather than the two 
> apps seperate spaces.

I believe that they are both using X's buffers, just different ones. :)

X defines about a dozen cut/paste buffers for use by applications, and
different applications have decided to use different ones.

The "cut buffers" scheme is obsolete now, leaving the "clipboard" buffer,
and the "primary" and "secondary" buffers.  These are defined in the ICCCM
which is IMO abhorrant for so many reasons.  freedesktop.org has this to say
about what modern applications should do for compatibility's sake:

http://www.freedesktop.org/standards/clipboards.txt

Pete
-- 
Pete Ryland
http://pdr.cx/

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list