Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 PrintScr/SysRq key to NoSymbol.

xmodmap -e 'keysym Print='

This did not work. I had faced a similar problem while disabling task switching using the 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
Probably useful: – cYrus Oct 1 '14 at 16:44

Your Answer


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

Browse other questions tagged or ask your own question.