[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: X question



Quoting Karsten M. Self (kmself@ix.netcom.com):
> 
> on Sat, May 05, 2001 at 06:50:52AM -0400, Sunny Dubey (dubeys@voyager.bxscience.edu) wrote:
> > hi,
> > 
> > how do I get Xfree86 to not automatically copy everything that I highlight 
> > with my cursor?
> 
> That *is* X behavior, by design.  I don't know of any way to disable it.

You can age it rapidly so that the selection disappears quickly.
man gpm, and look at the -A switch.

Of course, you can be more specific in disallowing pasting.
For example, if you're making selections in a Python/Tkinter
application, a listbox, say, you can configure widgets with
exportselection = 0 to prevent them interfering with, say, a
copy/paste selection already made in an xterm. I don't know
how to generalise this (use Py/Tk for everything?) as that's
enough for me.

> Under X, there's no separate keystroke combination required for
> cut'n'paste.  You just swipe to copy, then hit the 2nd (middle) mouse
> button to paste.  After doing this for about three minutes, any other
> method simply sucks.

Agreed.

> If you need to maintain separate paste buffers, this is possible, though
> klugy.  There are several applications for managing your X clipboard.
> I've played with several, but not in any depth.

Perhaps the Tkinter/tk/tcl ... source might give some clues as to
how these things are done.

Cheers,

-- 
Email:  d.wright@open.ac.uk   Tel: +44 1908 653 739  Fax: +44 1908 655 151
Snail:  David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA
Disclaimer:   These addresses are only for reaching me, and do not signify
official stationery. Views expressed here are either my own or plagiarised.



Reply to: