Switch between keyboard layouts efficiently

I am using i3. I have 2 questions:

  1. Where does caramares changes the keyboard layout? During installation I chose the colemak layout, but now I want to switch to colemak-dh. I was able to to change the layout by editing a file (don’t remember, long time ago), but it only changed the layout after I logged in, the new layout didn’t work in display manager.
  2. I want to switch to qwerty when I game, and back to colemak dh after I quit. Is there any efficient way to do this? Currently I keep a terminal open and pass the command “setxkbmap us && xset -r 66” to switch to qwerty, then launch game, then after I am done with gaming, I pass the command “setxkbmap us -variant colemak && xset r 66”

TLDR: How to switch to colemak-dh system wide? And, how to switch layouts efficiently?
Thank you!!!

Worth reading:



This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.