Comment 25 for bug 1295994

Revision history for this message
Timofey (boggad) wrote :

I found solution that works just fine. As I noticed from xev output pressing prt sc on HP Pavilion returns two different codes: 218(the key's code itself) and XKeysymToKeycode returns 107. I looked at key mapping with xmodmap -pke and noticed that there's binding 107 to Print action but there's no binding for 218 keycode. So I just add binding for keycode 218:
xmodmap -e "keycode 218 = Print"
and then removed binding from 107 keycode
xmodmap -e "keycode 107 = "
After that everything have started working just fine.
Hope I helped someone.