I'm trying to remap PrtSc key to Insert (to use it in vim), with /usr/bin/xmodmap -e "keycode XXX = Insert"
for it, I need to figure out what keycode for PrtSc is.
I'm doing xev -event keyboard
and pressing PrtSc, but getting something strange
KeymapNotify event, serial 28, synthetic NO, window 0x0,
keys: 4294967228 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Not sure not extract the keycode from this information.
It turned out the PrtSc key was captured by some print screen application. Disabling it in cinnamon settings solved the problem. This also could work for gnome, too.