1

I set the xkb option shift:both_capslock (because I also use caps:escape) but this seems to have disabled the normal behavior of the shift key. How can I get that normal behavior back while still allowing the double press.

I used to do this in gnome, but I am trying out sway.

  • I'm having the same issue, and an examination of xev suggests pressing shift produces a Shift_L key press event, and a Caps_Lock key release event (!). Does this seem to be the same behavior you've encountered? – gandalf3 Aug 26 '17 at 0:57
  • @gandalf3 Due to this and some other issues I switched back to gnome so I cannot test. Thanks for the xev output though! – carloabelli Aug 26 '17 at 0:59
0

I eventually got it to work the way I want with sxhkd and xdotool, as follows

shift + ~Shift_{L,R} 
    xdotool key Caps_Lock

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.