On Tue, Sep 11, 2012 at 09:48:32PM +0200, Frank Brodbeck wrote:
> > > This isn't as consistent as one'd hope it to be. For instance, selecting
> > > + middle-clicking works fine between xxxterm and xterm (both ways) but
> > > right-clicking + "copy link location" + middle-clicking in xterm doesn't.
> > > 
> > 
> > An OS-wide copy/paste buffer would be swell.
> 
> There is one, actually with PRIMARY and CLIPBOARD there are two that I
> know off. Selecting stuff sends it to PRIMARY, middle-click pastes from
> PRIMARY. Your right-click + "copy link location" - or ctrl + c in some
> applications - sends stuff to CLIPBOARD. If you want to paste from
> CLIPBOARD into xterm you can either install xclip or you can
> adjust your .Xdefaults:
> 
> XTerm*VT100.Translations: #override \
>     ShiftInsert: insert-selection(CLIPBOARD) \n\
>     Insert: insert-selection(PRIMARY) \n\
>     Shift: insert-selection(CLIPBOARD) \n\
>     Shift: select-start() \n\
>     Shift: select-extend() \n\
>     Shift: select-end(CLIPBOARD)
> 
> Among other stuff, this lets you paste via Shift + Insert stuff from
> your CLIPBOARD. As a reference see xclipboard(1) and xterm(1).
> 
> Frank.
> 
> -- 
> Frank Brodbeck <f...@guug.de>
> 

Thanks Alexander Polakov and Frank Brodbeck!

I like the idea of merely adding a few lines in my .Xdefaults.

Mike

Reply via email to