Search code examples
linuxxterm

xterm: how to disable mainMenu, vtMenu and fontMenu?


Currently in my xterm, Ctrl-<left_mouse_click> shows the main menu (options for full screen etc). Ctrl-<right_mouse_click> shows the VT fonts menu.

I'd like to disable both of these menus, ultimately so that Vim can see both Ctrl-<left_mouse_click> and Ctrl-<right_mouse_click>

How can I do this?

Any points much appreciated.


Solution

  • Refer to the manual page, e.g., in Default Key Bindings, which shows the translations resource with the assignments that you would have to override. The omitTranslation resource gives you a simple way to do this:

    *omitTranslation: popup-menu
    

    Wayland is irrelevant.