📜  更改 i3wm 中的键盘语言 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:49:58.511000             🧑  作者: Mango

代码示例1
You can use setxkbmap:

setxkbmap -layout us,de
setxkbmap -option 'grp:alt_shift_toggle'

Just change the keyboard layouts us,de to what ever you prefer.
If you want i3 to run these commands on startup, just add them to your config file "~/.i3/config" and prepend "exec".

exec "setxkbmap -layout us,de"
exec "setxkbmap -option 'grp:alt_shift_toggle'"