I've wanted to remap my print key on my Thinkpad T460p because Lenovo decided it would be more useful than the context menu ("Menu" which is basically the right mouse-) button.
It tried a solution from this thread and did the following:
xev | grep keycode
and pressing the print key got me its keycode which is 107. The only difference to this thread is my keycode and I've set its value to "Menu". I've also edited .Xmodmap to keycode 107 = Menu NoSymbol Menu
It works setting it temporary but after a reboot it's gone. And yes I've edited the xinitrc too.
Is there an easier way maybe with the help of a GUI? I just want to use my print key as a context menu.