Can I disable the SysRq PrtSc button? I am using OS xubuntu 18.04 LTS. My PrtSc SysRq button is stuck, sometimes it pushes itself. So many screenshoot windows appear.


You can use :

xev -event keyboard

and hit the key you want to get the key code, and then use

xmodmap -e 'keycode [yourKey]='

to disable it.

for example :

xmodmap -e 'keycode 13='
| improve this answer | |

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.