Rich Shepard <[email protected]> writes:

> Does anyone know the library or tool that controls cutting and pasting using
> the mouse when the X Window System is running?

None, or "the X server itself" - copy and paste is actually negotiated between
the applications directly, as is the primary (and secondary) selection, and
the old fashioned and unloved cut buffers.

> I suspect that it's not xclipboard because that is a text-based terminal
> application that can be used to cut and paste, but I'm interested in what is
> used when the left mouse button is used to highlight text and the middle
> button used to paste it in another vt or application window.

That is the primary selection, and is pretty much directly between the
applications.  However ...

The primary selection can be perturbed as focus changes, if you use the
focus-follows-mouse policy, which can trigger things that look like this.

The primary selection and clipboard can be perturbed if you run something like
xclipboard, the purpose of which is to notice that an application asserted "I
have something interesting in my $x", and then do things to it.

> The past couple of weeks I've had this fail sporatically. A couple of days
> not at all, some days once, or twice, and a couple of days multiple times.
> Killing the X server and restarting it restores the capability but it can
> again silently disappear.

That seems odd.  I suggest testing with xev under X, to determine if the
clicks and so forth are coming through as expected.  That would eliminate the
mouse and let you investigate application level things for the root cause...

        Daniel
-- 
✣ Daniel Pittman            ✉ [email protected]            ☎ +61 401 155 707
               ♽ made with 100 percent post-consumer electrons
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to