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.

1

1 Answer

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.

2

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

You Might Also Like