Amazing window manager does not respond to toolbar clicks when Caps Lock is on

The name pretty much explains this. I use caps lock to change layouts by setting it with

awful.util.spawn_with_shell("setxkbmap -layout 'us, ru' -option 'grp:caps_toggle'") 

in awesome rc.lua if this has anything to do with the problem. When Caps is on, neither tab tags nor window tabs are selected when I click on them. Any ideas why this is so?

Update: Dependency Versions.

 user@desktop :~$ dpkg -l | grep -E "(libc6)|(libcairo2)|(libdbus-1-3)|(libev4)|(libglib2.0-0)|(libimlib2)|(liblua5.1-0)|(libpango1.0-0)|(libstartup-notification0)|(libx11-6)|(libxcb-icccm4)|(libxcb-image0)|(libxcb-keysyms1)|(libxcb-randr0)|(libxcb-shape0)|(libxcb-util0)|(libxcb-xinerama0)|(libxcb-xtest0)|(libxcb1)|(libxdg-basedir1)|(dbus-x11)" dbus-x11 1.6.4-1ubuntu4 libc6:i386 2.15-0ubuntu20 libc6-dev:i386 2.15-0ubuntu20 libcairo2:i386 1.12.2-1ubuntu2.2 libdbus-1-3:i386 1.6.4-1ubuntu4 libev4 1:4.11-1 libglib2.0-0:i386 2.34.1-1ubuntu1 libimlib2 1.4.5-1ubuntu1 liblua5.1-0:i386 5.1.5-4 libpango1.0-0:i386 1.30.1-0ubuntu3 libstartup-notification0:i386 0.12-1ubuntu2 libx11-6:i386 2:1.5.0-1 libxcb-icccm4:i386 0.3.9-2 libxcb-image0:i386 0.3.9-1 libxcb-keysyms1:i386 0.3.9-1 libxcb-randr0:i386 1.8.1-1ubuntu1 libxcb-shape0:i386 1.8.1-1ubuntu1 libxcb-util0:i386 0.3.8-2build1 libxcb-xinerama0:i386 1.8.1-1ubuntu1 libxcb-xtest0:i386 1.8.1-1ubuntu1 libxcb1:i386 1.8.1-1ubuntu1 libxcb1-dev:i386 1.8.1-1ubuntu1 libxdg-basedir1 1.1.1-2 

UPDATE 2: Xev output to clicks with Caps on and off (the only difference is โ€œstateโ€)

Caps Off:

 LeaveNotify event, serial 33, synthetic NO, window 0x1200001, root 0x25f, subw 0x0, time 47184554, (49,24), root:(51,45), mode NotifyUngrab, detail NotifyInferior, same_screen YES, focus YES, state 256 ButtonPress event, serial 33, synthetic NO, window 0x1200001, root 0x25f, subw 0x1200002, time 47184553, (49,24), root:(51,45), state 0x0, button 1, same_screen YES EnterNotify event, serial 33, synthetic NO, window 0x1200001, root 0x25f, subw 0x0, time 47184554, (49,24), root:(51,45), mode NotifyGrab, detail NotifyInferior, same_screen YES, focus YES, state 256 

Caps on:

 LeaveNotify event, serial 33, synthetic NO, window 0x1200001, root 0x25f, subw 0x0, time 47185737, (49,24), root:(51,45), mode NotifyUngrab, detail NotifyInferior, same_screen YES, focus YES, state 8448 ButtonPress event, serial 33, synthetic NO, window 0x1200001, root 0x25f, subw 0x1200002, time 47185737, (49,24), root:(51,45), state 0x0, button 1, same_screen YES EnterNotify event, serial 33, synthetic NO, window 0x1200001, root 0x25f, subw 0x0, time 47185737, (49,24), root:(51,45), mode NotifyGrab, detail NotifyInferior, same_screen YES, focus YES, state 8448 
+3
source share

Source: https://habr.com/ru/post/943760/


All Articles