Disabling the print-screen key inside X?
Posted by tong on Sun 15 Jan 2006 at 16:45
The "print screen" key is next to the BS key on my keyboard. Every time when I miss the BS key by hitting the "print screen" key, a screen snapshot is printed from my (InkJet) printer.
This has been so annoying that I decided to solve it. I'm using fluxbox, but I didn't find any such action in its hot-key def file (/etc/X11/fluxbox/keys), or in my theme file. Is such feature defined in X?
How can I disable the "print screen" key from printing to my printer?
http://www.xfree86.org/4.2.0/xmodmap.1.html
[ Parent | Reply to this comment ]
xmodmap -e 'keysym Print = BackSpace'which should map your Print Screen key to work as additional BackSpace key.
--
Debian GNU/Linux on an IBM Thinkpad T43p
[ Parent | Reply to this comment ]
Print screen should be <prsc> = 111; Just put // in front of it and restart X.
[ Parent | Reply to this comment ]
tong
[ Parent | Reply to this comment ]
[ Parent | Reply to this comment ]
Someone on my LUG suggested:
Edit your .xmodmaprc file with:
xmodmap -e 'remove Lock = Caps_Lock'
or in your keyboard config of your xorg.conf file
Option "XkbOptions" "ctrl:nocaps"
--
"It's Not Magic, It's Work"
Adam
[ Parent | Reply to this comment ]
Option "XkbOptions" "ctrl:nocaps,compose:menu"
This should remove caps-lock (there is another option for switching places, "switchcaps"?) and also makes the useless menu key a compose. I use the windows-logo keys for controlling wm functions.
[ Parent | Reply to this comment ]
[ Parent | Reply to this comment ]
[ Parent | Reply to this comment ]