X - use clipboard by default

Pawel K pawlaczus at yahoo.com
Wed Apr 23 03:52:48 PDT 2008


>> 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
> 

Thank You for help
 I succeeded with xterm :)
 
> 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)

Unfortunately I don't know where to place the Text.translations. I do not have the resources
file for e.g. xpdf.
I added it at the beginning of /etc/X11/xdm/Xresources but it did not help.

Could You give me an indication of where to put it.

Great thanks for help.

       
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20080423/92faa9f9/attachment.html>


More information about the xorg mailing list