I have a keyboard with dedicated keys for XF86Cut, XF86Copy, XF86Paste. I want to bind these to Emacs commands. The goal is get the usual behavior for cut-and-paste between Emacs, my terminal, and my browser Firefox with a common set of keys.
FWIW, XF86Paste works seems to work just fine with zero configuration. However, Emacs cannot see the key presses for the other keys. I verified this using
M-x describe-key followed by a key press. For XF86Copy and XF86Paste, Emacs behaves as if no key was pressed
Both XF86Copy and XF86Paste work in the terminal. (However, XF86Cut doesn't.) How can I bind XF86Cut and XF86Copy to commands within Emacs?
This is how I start Emacs:
emacsclient -a "" -t
- Emacs 27.1
- Alacritty 0.5.0 (a6681e3a)
- xmonad 0.15
- X.Org Server 1.20.9-2
- Linux 5.9.1.arch1-1