Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I want to prevent screenshots from being taken in gnome using keyboard shortcuts. I need to do this by running a script in such a manner that it can be reverted later.

I tried to do this using xmodmap by remapping the print-screen/SysRq key to NoSymbol.

xmodmap -e 'keysym Print='

This did not work. I had faced a similar problem while disabling task switching using super key, then I had just remapped the keycode to NoSymbol. However this same approach does not seem to be working right now.

What is going wrong here? And what can I do to make it right?

Also is there any other methods I should be looking into?

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.