Skip to content

Instantly share code, notes, and snippets.

@pedrocr
Created September 18, 2020 21:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pedrocr/f3df44af33b9aaa3098ec345598d7bad to your computer and use it in GitHub Desktop.
Save pedrocr/f3df44af33b9aaa3098ec345598d7bad to your computer and use it in GitHub Desktop.
sway discussion about Ctrl+Shift
12:22 < Guest47651> Hello. Does someone know how to fix this problem? I use Ctrl+Shift combination to switch
keyboard layout, and because of that I can't use combinations with Ctrl+Shift no more, like
Ctrl+Shift+T in Firefox.
12:25 < kennylevinsen> which method did you use to configure the switch to occur?
12:32 < Guest47651> My sway config: https://pastebin.com/zM2afNGx
12:32 -!- arti [~arti@2001:bb8:4008:2020::f] has quit [Ping timeout: 240 seconds]
12:33 < Guest47651> I use method which is described in wiki
12:33 -!- arti [~arti@2001:bb8:4008:2020::f] has joined #sway
12:33 < kennylevinsen> the switch is handled by libxkbcommon, which consumes the events.
12:35 < Guest47651> And?
12:36 -!- udni [~Thunderbi@95.168.145.12] has quit [Ping timeout: 260 seconds]
12:37 < kennylevinsen> this means that the combo cannot be used for anything else.
12:37 < kennylevinsen> and the bug related to it is 16 years old:
https://gitlab.freedesktop.org/xorg/xserver/-/issues/258
12:40 < kennylevinsen> I'd recommend picking a combo that is not modifiers used for anything else (e.g.
win_space_toggle). You can also bindsym a xkb_switch_layout if you want something other
than the pre-defined xkb rules to do the switch.
12:41 -!- Guest47651 [1f878632@31.135.134.50] has quit [Remote host closed the connection]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment