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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1295994

Title:
  Unable to use Printscreen Button on Ubuntu 14.04 in GNOME Shell

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-screenshot/+bug/1295994/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to