- For clipboard contents created by non-X applications, pasting into X with the middle button works fine.
- After selecting something within X, pasting back into X with the middle button works fine as well.
- However, when you want to copy from X to a non-X application, then you need to go through the extra step of invoking "Copy" from the "Edit" menu. This is especially frustrating when you want to copy a URL from an Xterm to Firefox.
Just edit the .Xresources file in your home directory (or create a file with that name), and add the following to it.
XTerm*VT100.Translations: #override \Then you should restart X (or at least "xrdb -merge ~/.Xresources"). For emacs, you should add the following to your .emacs file,
<btn1up>: select-end(SELECT, CLIPBOARD, PRIMARY, CUT_BUFFER0)\n\
Ctrl <keypress> Insert:insert-selection(PRIMARY, CUT_BUFFER0)
I've been very happy ever since.
(setq x-select-enable-clipboard t)
No comments:
Post a Comment