Re: X - use clipboard by default

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

 



Pawel K wrote:

> I would like an Xorg to use the clipboard instead of primary selection
> when copying text with mouse.
> Is it possible to configure X globally
> or each application requires its own clipboard configuration ?
> 
> The most important for me is to force xterm to use clipboard by
> default.
> I mostly use the following X applications:
> xpdf, xchm, oowriter, wine, firefox.
> 
> Is there a generic way to configure them to use clipboard by default ?

No. Cut and paste is handled by the toolkit, not by X itself.

For XTerm, you can use the selectToClipboard resource, e.g.:

	XTerm.vt100.selectToClipboard: true

For Athena-based programs (e.g. xpdf), you can override the
translations, e.g.:

*Text.translations:	#override	\n\
~Shift ~Ctrl ~Meta <Btn2Up>:	insert-selection(CLIPBOARD, PRIMARY, CUT_BUFFER0)

-- 
Glynn Clements <glynn@xxxxxxxxxxxxxxxxxx>
_______________________________________________
xorg mailing list
xorg@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/xorg

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [X Forum]     [Intel Graphics]     [AMD Graphics]     [Nouveau Driver]     [XFree86]     [XFree86 Newbie]     [IETF Annouce]     [Security]     [Fontconfig]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Video for Linux]     [Linux RAID]

  Powered by Linux