Revisiting something i mentioned here quite some time ago, but never
got around to fixing...

The key binding for the Print Screen button doesn't seem to work for
me. The default key binding of Shift + Print Screen (bound to "take
screenshot") doesn't either. I added the Print Screen binding from the
Key Bindings Settings screen, pressed "Add" and then when the pop up
dialog box appeared, i pressed the Print Screen button on my keyboard.
Then i selected the "Take Screenshot" function on the right.
Screenshot (had to use the Enlightenment menu to take one) is at:

https://mega.nz/file/YOFWQZCY#JWLyB_t98x-1Ao2PeTmXuBV2KqKzaFHtqJv-wT_xeIE

After hitting Apply or OK, of course, pressing the same Print Screen
button on my keyboard... has no effect at all. Neither does the
default binding of Shift + Print Screen, trying with both shift keys.

I can bind any other key (combination) to the same function, and it
works perfectly: i press the key combo and the screenshot window
opens, exactly as if i had used the Enlightenment menu to take one.
Something seems to be going wrong with binding this particular key.

xev shows:

$xev -event keyboard
Outer window is 0x3400001, inner window is 0x3400002

KeymapNotify event, serial 24, synthetic NO, window 0x0,
    keys:  199 0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0

KeymapNotify event, serial 24, synthetic NO, window 0x0,
    keys:  199 0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0

KeymapNotify event, serial 24, synthetic NO, window 0x0,
    keys:  199 0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0

KeyPress event, serial 25, synthetic NO, window 0x3400001,
    root 0x301, subw 0x0, time 509100241, (83,28), root:(1150,744),
    state 0x10, keycode 218 (keysym 0xff61, Print), same_screen YES,
    XKeysymToKeycode returns keycode: 107
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 28, synthetic NO, window 0x3400001,
    root 0x301, subw 0x0, time 509100366, (83,28), root:(1150,744),
    state 0x10, keycode 218 (keysym 0xff61, Print), same_screen YES,
    XKeysymToKeycode returns keycode: 107
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

xbindkeys also sees the keypress:

$ xbindkeys -k
Press combination of keys or/and click under the window.
You can use one of the two lines after "NoCommand"
in $HOME/.xbindkeysrc to bind a key.
"(Scheme function)"
    m:0x10 + c:218
    Mod2 + Print

(Mod2 just indicates that numlock is on.)

>From all appearances, it looks like E just doesn't see that particular
keypress. Yet it does when i add a keybinding, as it added that entry
in the left column shown in the screenshot when i pressed the button.

Any ideas what might be going on here?

Thanks,
-Conrad.

-- 
Shine like thunder
Cry like rain


_______________________________________________
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to