9

I am using SSH in MobaXterm, is there a way to prevent automatic "copy" when you select some text (e.g. in gedit), or with the mouse ?

einpoklum
  • 10,666
CodeKiller
  • 93
  • 1
  • 5

2 Answers2

9

In MobaXterm, go to Settings -> Configuration -> X11 -> X11 Settings -> Clipboard -> "disable primary".

As the tooltip says:

Define the way MobaXterm will handle copy/paste operations between X11 applications and Windows applications:

  • diabled: copy/paste from and to X11 applications will not work
  • enabled: copy/paste from and to X11 applications will work
  • disable primary: selecting some text will not automatically copy it, only explicit requests to copy text will be handled.

Screenshot

Kevin Rak
  • 254
  • 2
  • 5
1

The accepted answer didn't work for me. What did: go to "Settings -> Configuration -> Terminal -> Expert settings" and uncheck "Copy selected text".

Atmaks
  • 161