You are not logged in.
Greetings!
Faced such a problem that if you specify language switching in the i3 configuration file using ctrl + shift
Then in some applications using ctrl+alt or ctrl+shift
some combinations stop working, for example; ctrl+shift+t (open last closed tab in chrome or vivaldi)
.config/i3/config
exec_always --no-startup-id "setxkbmap -model pc105 -layout us,ru -option 'grp:ctrl_shift_toggle'"is there a way to force setxkbmap to disallow such hard key reserving, without changing the switching combination itself?
Last edited by BackToUSSR (2023-05-23 15:42:42)
Offline
https://wiki.archlinux.org/title/Xorg/K … _Alt_Shift
(Ie. use a clientside shortcut to change the layout)
Nb. that
1. setxkbmap <layout> is a terrible way to switch layouts
2. ctr+shift toggles should not affect ctrl+alt shortcuts
grep toggle /usr/share/X11/xkb/rules/base.lst for alternative combos.
You can also define one that's physically not available and then bind
xdotool key ISO_Next_Groupto some shortcut or desktop gadget.
Edit, ftr:
grep -i group /usr/include/X11/keysym*Last edited by seth (2023-05-23 13:59:05)
Offline
Partially solved by assigning r_alt to switch language
Last edited by BackToUSSR (2023-05-23 23:14:59)
Offline