Jan 11, 2010

VirtualBox clipboard sharing in guest xterm

Per `default installations instructions`_ the clipboard integration does not work in guest xterm. The problem with xterm is that by default it uses a different internal clipboard.

To fix, add the following to ~/.Xdefaults:

XTerm*selectToClipboard:true
XTerm.vt100.translations: #override \n\
            Shift : ignore() \n\
            Shift   : insert-selection(CLIPBOARD,PRIMARY,CUT_BUFFER0)\n\

`original solution`_

System Message: WARNING/2 (/home/dev/work.shared/unthingable/content/virtualbox-clipboard-sharing-in-guest-xterm.rst, line 24)

malformed hyperlink target.

System Message: WARNING/2 (/home/dev/work.shared/unthingable/content/virtualbox-clipboard-sharing-in-guest-xterm.rst, line 25)

Explicit markup ends without a blank line; unexpected unindent.

instructions: http://unthingable.eat-up.org/?p=3 .. _original solution: http://forums.virtualbox.org/viewtopic.php?f=3&p=118929

Docutils System Messages

System Message: ERROR/3 (/home/dev/work.shared/unthingable/content/virtualbox-clipboard-sharing-in-guest-xterm.rst, line 9); backlink

Unknown target name: "default installations instructions".

System Message: ERROR/3 (/home/dev/work.shared/unthingable/content/virtualbox-clipboard-sharing-in-guest-xterm.rst, line 22); backlink

Unknown target name: "original solution".