xcape -e 'Control_L=bracketleft;Control_R=braceleft' -t 150
# or
xcape -e 'Control_L=0x005B;Control_R=0x007B' -t 150
# for either xcape command: '[' is sent when tapping either control
I'm using keysymdef.h and xdotool to confirm which is which (and that they are different). But I'm out of my depth on X11 syms. Hopefully, I'm just confused.
bracketleft
andbraceleft
both yield[
I'm using
keysymdef.h
andxdotool
to confirm which is which (and that they are different). But I'm out of my depth on X11 syms. Hopefully, I'm just confused.