Comment 14 for bug 1243733

Revision history for this message
In , Camilo Gonzalez (yhwh-aggro) wrote :

Actually i think i have found a fix, i have a pavilion hp laptop

using xev, i found in laptop print screen button is key 218

"KeyRelease event, serial 40, synthetic NO, window 0x5600001,
    root 0xb1, subw 0x0, time 3380983, (57,-5), root:(57,542),
    state 0x0, keycode 218 (keysym 0xff61, Print), same_screen YES,
    XKeysymToKeycode returns keycode: 107
    XLookupString gives 0 bytes:
    XFilterEvent returns: False"

Using my desktop computer, and another laptop (not hp) i found that key normally is key 107 not 218

"KeyRelease event, serial 40, synthetic NO, window 0x3200001,
    root 0xaa, subw 0x0, time 4327134, (67,-10), root:(67,797),
    state 0x0, keycode 107 (keysym 0xff61, Print), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False"

I think is some rare hp keyboard implementation

command "xmodmap -e "keycode 107 = Sys_Req" returns:

keycode 107 = Print Sys_Req Print Sys_Req
keycode 218 = Print NoSymbol Print

i tried removing key 107 as print using " xmodmap -e "keycode 107 = Sys_Req "

command "xmodmap -e "keycode 107 = Sys_Req" now returns:

keycode 218 = Print NoSymbol Print

after that the key started working for me

( later i have restored the original, key 107 config, and print screen still works... ?¿?)