Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Disabling Print Screen key

From: Luis Finotti <finotti.deb(at)gmail.com>
Date: Tue Jul 31 2007 - 11:09:50 EDT


Hi,

My Print Screen key is too close to BackSpace, so I keep pressing it by accident. I use KDE, and this makes "KSnapshoyt" pop up. (In fluxbox, it sends the content of the terminal to the printer.)

I checked the key assignments of KDE, and I found no shortcut for the PrtSc key, and even defining a different application for that key would still make (only) KSnapshot pop up. (KSnapshot was assigned to Crtl+PrtSc, and I disabled it too, just in case.)

My Google searchs did not help (even on this list).

So, I decided to disable the key.

Using "xev", I saw that the keycode was 111:

....

KeyRelease event, serial 31, synthetic NO, window 0x3600001,

    root 0x91, subw 0x0, time 482199882, (485,527), root:(489,552),     state 0x0, keycode 111 (keysym 0xff61, Print), same_screen YES,     XLookupString gives 0 bytes:
....

Do you need help?X

Indeed, "xmodmap -pk" gave:

...

    111 0xff61 (Print) 0xff15 (Sys_Req)
...

So, I did "xmodmap -e "keysym Print = BackSpace"". Now, "xev" gives:

....

KeyRelease event, serial 31, synthetic NO, window 0x3400001,

    root 0x91, subw 0x0, time 482660638, (-260,401), root:(838,426),     state 0x0, keycode 111 (keysym 0xff08, BackSpace), same_screen YES,     XKeysymToKeycode returns keycode: 22     XLookupString gives 1 bytes: (08) "
....

and "xmodmap -pk" gives:

...

Do you need more help?X

    111 0xff08 (BackSpace)
...

But still, KSnapshot pops up, and the backspace has no effect.

Any suggestions or ideas (other than remove the key physically)??

Thanks,

Luis

-- 
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Tue Jul 31 11:10:21 2007

This archive was generated by hypermail 2.1.8 : Thu Aug 09 2007 - 18:34:36 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library