I recently came across a Linux feature I have never seen before, where pressing the PrntScr button on the keyboard prints a physical piece of paper with the contents of my console.I really need to find out how to disable this. It is driving me crazy.I followed a guide on creating a custom keymap, and I tried remapping it to Esc and loading my custom keymap instead, but it didn't seem to work.  By disabling, I mean I would preferably like the key to not send any input at all, and ideally I would like to allow CUPS to continue running.What exactly controls this behavior? And are there any specific man pages I can read about this?EDIT: A little bit of additional info I should have given: I launch Openbox after logging into a TTY rather than using a DM.  I am looking for a solution that would disable printing even if I were on a TTY, since PrntScr prints from a TTY as well.
Fully Disable PrntScr Key
linux;x11;keyboard shortcuts;console;xkb
You should be able to disable PrntScr on the console with a custom keymap. On archlinux the procedure is as follows (it should be similar for other distros):cd /usr/share/kbd/keymaps/i386/qwertycopy your default keymap to a new file: cp us.map.gz personal.map.gz gunzip the new map file: gunzip personal.map.gzedit personal.map using your favorite editor:switch to a tty, run showkey and press PrntScr to get the key code. On my system it outputs:keycode 99 presskeycode 99 releaseso PrntScr code is 99.Add keycode  99 = nulto personal.mapgzip the map file:  gzip personal.map then run loadkeys personal to load the custom keymap then hit PrntScr to test the new keymap.make it permanent by (creating if not present and) editing /etc/vconsole.conf: replace KEYMAP=us with KEYMAP=personal.rebootThe above works only on console, you will have to disable PrntScr also in X.One way to do that is to comment it out in your X keycodes file (the one corresponding to your keyboard - linux uses /usr/share/X11/xkb/keycodes/evdev). Key code is <PRSC>, just comment it out (add // in front of it) e.g. replacing<PRSC> = 107;with// <PRSC> = 107;completely disables PrntScr.