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 Desktop Packages, which is subscribed to gnome-screenshot in Ubuntu. https://bugs.launchpad.net/bugs/1295994 Title: Unable to use Printscreen Button on Ubuntu 14.04 in GNOME Shell Status in gnome-screenshot package in Ubuntu: Confirmed Bug description: Hi, I am trying Ubuntu 14.04 and I noticed that Printscreen button doesn't work. I had no problems in 13.10. If I run "gnome-screenshot", or "gnome-screenshot -a" in a Terminal it says "Unable to use GNOME Shell's builtin screenshot interface, resorting to fallback X11. I noticed that the function works if custom shortcuts are set. Can anyone help? Thanks To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-screenshot/+bug/1295994/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp