[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: printscreen key does not work????



On Thu, May 18, 2006 at 08:05:12 +0200, Joost Kraaijeveld wrote:
> Hi,
> 
> I am trying to get screenshots using "printscreen" and
> "alt+printscreen" as per Gnome manual. But for some reason it does not
> work. It looks as if the "printscreen" key is disabled: I can assign
> the functionality to other keys and they work.
> 
> How do I get my "printscreen" key working? 

You probably have a keyboard misconfiguration. The first step to
diagnose it is running "xev" from a terminal window. It will show you
the events which are registered by X when you press and release a key.
I get the following for my "PrtSc" key:

KeyPress event, serial 31, synthetic NO, window 0x2800001,
    root 0x7e, subw 0x0, time 1196949250, (168,-13), root:(219,14),
    state 0x0, keycode 111 (keysym 0xff61, Print), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 31, synthetic NO, window 0x2800001,
    root 0x7e, subw 0x0, time 1196949427, (168,-13), root:(219,14),
    state 0x0, keycode 111 (keysym 0xff61, Print), same_screen YES,
    XLookupString gives 0 bytes:

The first thing to check is therefore if the key is also registered as
"Print" on your system. The output of the following two commands

xmodmap
cat /etc/X11/{XF86Config-4,xorg.conf} | awk '/Section "InputDevice"/,/EndSection/'

will also help to track down the problem.

-- 
Regards,
          Florian



Reply to: