How to copy text to xterm

clipboardvncxterm

How to paste text in a xterm? Now I can copy text from xterm to an outside application, like Firefox, by highlighting the text there. But I can not copy text from firefox to xterm. I am just normal user of Linux system and don't have root access to install patches. Is there any workaround?

System information is Linux version 2.6.18 (… @hs20-bc1-7.build.redhat.com)

One important fact I forgot to mention is that I'm using RealVNC to connect to the Linux server. Right-click works fine for prompt in my local Linux, but not the remote instance.

Best Answer

As noted by yasouser, middle-click is the standard way to paste the selection buffer in linux. This buffer gets written every time anything is selected with no need to initiate a copy command. In gtk based or influenced apps, there is usually a keybinding for this as well. Shift+Insert

In most Desktop Environments there is also a copy buffer that is separate from the selection buffer. Getting items into this usully requires a keyboard shortcut like Ctrl+C or menu selection, and pastes with Ctrl+V or a menu. These bindings are program specific and may varry, although they usually follow toolkit standards.

On KDE there is often a clipboard buffer configured by default in the tray that handles access to several recent clipboard items. This sort of function can be added to gnome and other environments as well.

Related Question