Emacs 25.1.50, GTK+ version 3.18.9 on GNU/Linux, version 4.4. Gnome-terminal as xterm terminal emulator.
When using clipboard (as in, I copy some text from my operating system/browser), and paste it in Emacs GUI version, it works fine. The GUI Emacs works in pair with the clipboard manager, which is supported by many X desktop environments.
However, when I'm using Emacs with
emacs -nw, the clipboard seems to be inaccesible from the terminal version of Emacs. When reading the Emacs documentation about clipboard, I tried to let the console Emacs communicate with the clipboard with the following settings:
(setq x-select-enable-clipboard t x-select-enable-primary t x-select-request-type '(UTF8_STRING COMPOUND_TEXT TEXT STRING) x-stretch-cursor t)
Without any luck. Other packages like
simpleclip will not work in terminal Emacs too. So I'm out of ideas. I'm not sure if this is related with the terminal itself of the console-based Emacs.