key bindings working strange

Frank Lienhard <[email protected]> Fri, 14 Oct 2016 17:51:25 +0200
Newsgroups gmane.comp.window-managers.fluxbox.user
Message-ID <[email protected]>
Hi List,

here is what I did:
use xev to find key names (for left/right wndows ky and the menu key on
the thinkpad):
KeyRelease event, serial 36, synthetic NO, window 0xe00001,
    root 0x94, subw 0xe00002, time 22603863, (35,40), root:(522,62),
    state 0x40, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

MappingNotify event, serial 36, synthetic NO, window 0x0,
    request MappingKeyboard, first_keycode 8, count 248

KeyPress event, serial 36, synthetic NO, window 0xe00001,
    root 0x94, subw 0xe00002, time 22606728, (35,40), root:(522,62),
    state 0x0, keycode 135 (keysym 0xff67, Menu), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 37, synthetic NO, window 0xe00001,
    root 0x94, subw 0xe00002, time 22606832, (35,40), root:(522,62),
    state 0x0, keycode 135 (keysym 0xff67, Menu), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

then I edited ~ /.fluxbox/keys:

# user defined (
Super_R s :Exec /home/frank/scripts/screen_home.sh
Menu s :Exec /home/frank/scripts/screen_home.sh
Super_R l :Exec xtrlock
Menu l :Exec xtrlock
Super_L s :Exec sudo shutdown
Super_L r :Exec sudo reboot
Super_L b :Exec x-terminal-emulator

Strange thin is that you then need to press the win-key release it an
then press the letter to make it work. If you press and hold the win-key
and press the letter additionally it won't work.

Any hints?

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot