1

I would like to disable the mouse on my Xterm, as it is a common source of accidental commands, etc. How do I do this?

2
  • Do you mean the copy/paste feature, or the ability to click things in certain programs inside xterm? Mar 7, 2014 at 18:39
  • Copy and paste, as well as select, but not button click.
    – Demi
    Mar 7, 2014 at 19:27

1 Answer 1

2

All of the mouse actions in xterm are controlled by the translations resource (which is documented in the manual page). In principle, one could paste that example into a resource file, and use the #override flavor of the translations resource to replace xterm's defaults with your own. Once that is done, then paring down unwanted parts can be done with a text editor. In particular, these actions deal with copy/paste/select

  • insert-selection
  • start-extend
  • select-extend

(For some other subsets, xterm has the omitTranslation resource, but omitting the mouse is seldom a concern).

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .