Re: key bindings working strange
Thomas Lübking <[email protected]> Fri, 14 Oct 2016 18:23:18 +0200
| Newsgroups | gmane.comp.window-managers.fluxbox.user |
|---|---|
| Message-ID | <20161014162318.GA26794@asgard> |
Try "Mod4" instead of "Super_L" - Latter is a key, not a modifier (so you're building an Emacs-Style shortcut chain) No idea which modifier is triggered by Super_R (Mod5 or just Mod4 as well?) Cheers, Thomas On Fri, Oct 14, 2016 at 05:51:25PM +0200, Frank Lienhard wrote: >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 >_______________________________________________ >Fluxbox-users mailing list >[email protected] >https://lists.sourceforge.net/lists/listinfo/fluxbox-users ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot