12-04-2019, 06:01 PM
(12-03-2019, 08:23 PM)iav Wrote: Is it possible to remap:
F11 → Insert
F12 → Delete
And with all modifications — Shift+Insert, Control+insert works too?
And to get F11 and F12 with Fn ? For all software, no exceptions?
You can export your keymap with "xkbcomp -xkb $DISPLAY output-file", make the necessary changes and use xkbcomp again to load the edited keymap. That won't let you map F11 and F12 with the Fn key but you could make use of Alt Gr, Ctrl+Alt or whatever else you see fit. There's probably some elegant way to then make that your default keymap but I've never looked into doing that.
I won't guarantee that will work in every application without exception but I don't immediately see why it wouldn't. Save for virtual consoles and quite probably Wayland, of course.