I'm running Pop!_OS and using an external CODE keyboard (88-keys) and I want to map PrintScreen and SHIFT+PrintScreen in my external keyboard to the actual PrintScreen key. The internal laptop keyboard sends print screen when the key is actually pressed:

The CODE keyboard has a PrtSc key, but it seems to be sending keycode 183 whereas the internal keyboard sends keycode 99 for the same "PrtSc" key.

Pop!_OS is naturally Ubuntu so perhaps this question is better suited for AskUbuntu, but I truly prefer to hear a more generic approach that is not necessarily tied to Ubuntu.

This is not mission critical, but I'd love to know if this is possible "system wide" (i.e.: not just terminal).

I found out the above codes by using sudo showkey.

Any pointers?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.