>From: Jan-Henrik Haukeland <[EMAIL PROTECTED]>
>Date: 29 Jul 1999 17:36:06 +0200
>Larry Gates <[EMAIL PROTECTED]> writes:
>
>> I, too, can get cut-n-paste via Netscape's "Edit/Copy" menu, and then
>> use Java's java.awt.datatransfer.Clipboard method as described in a
>> past document on the Java Developer Connection. This is nice, but I
>> can't paste a highlighted text portion from the mouse, which we Linux
>> users all like to do.
>
>As mentioned elsewhere there are two clippboards, the system (primary)
>and a secondary used by the mouse. To merge these, have the following
>lines added to your .Xresources file.
>
> *VT100.Translations: #override \
> Button1 <Btn1Up>: select-end(PRIMARY,CUT_BUFFER0,CLIPBOARD)\n\
> <Btn2Up>: insert-selection(CLIPBOARD)\n\
> <Btn2Up>: insert-selection(PRIMARY,CUT_BUFFER0)
>
>--
>Jan-Henrik Haukeland
Thanks Jan, but I put this in my .Xresources file (I had to create
one) and there was no change in the mouse-cut-paste-java-clipboard behaviour.
I also tried it in /var/X11R6/lib/xdm/Xresources, but no luck.
My system is Slackware 3.6, fvwm2, XFree86, jdk_1.1.7.
Could you tell me what the 3 lines are supposed to do? i.e. why do we
need 2 "insert-selection" lines? Where is the "As mentioned elsewhere"?
Are there not 3 clipboards? PRIMARY,CUT_BUFFER0, and CLIPBOARD?
"man xclipboard" gives code similar to yours, but some differences.
cheers,
--
Larry Gates
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]