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?

New contributor
Martin Marconcini is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

Your Answer

Martin Marconcini is a new contributor. Be nice, and check out our Code of Conduct.

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.