I want to intercept and disable the F1 key when using Libreoffice Calc. It has a keyboard mapping feature, but not for F1.

I know of xmodmap, but it seems to change mappings for the entire OS. I want to change it only when a particular app has focus.

Is it possible to remap a key for a specific app?

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.