I am using a Qwerty wired aluminum Apple Keyboard with Numeric Keypad on a Linux machine.
The leftmost button on row 2 is engraved with '§' and '±' as shifted value.
But the keyboard generates '<' and '>'.
My personal favorite mapping is '§' and '€' for that key.
The function keys are only available when pressed together with the 'fn' key. Without this modifier, they are assigned to the engraved functionality such as 'XF86AudioLowerVolume' and 'XF86AudioRaiseVolume'.
I like to switch this. I want the function keys to be available without the fn modifier and I also want to use F13 till F19.
I do not want 'Caps Lock' so I change it into an extra 'Escape' key.
I don't want the 'Num_Lock' key, so I turn it into an 'F20' key. Tne 0-9 keys should always be numbers, none of the KP_ stuff.
The .xmodmaprc file in this repo performs this remapping for me.
This file must be read by xmodmap at the startup of the session:
xmodmap path_to_this/.xmodmaprc
My settings are listed and described for informational purposes. You may want different settings. Feel free to adapt the .xmodmaprc file to suit your wishes.
Some links that I found helpful when preparing this .xmodmaprc: