mirror of
https://github.com/rydesun/dotfiles.git
synced 2025-12-26 14:44:58 +08:00
Fix glitch of X11 keymap
This commit is contained in:
parent
fb0d570b95
commit
6f7692cd1d
1 changed files with 8 additions and 5 deletions
|
|
@ -1,7 +1,10 @@
|
|||
export LANG=zh_CN.UTF-8
|
||||
|
||||
# swap Caps_Lock and Escape
|
||||
setxkbmap -option caps:swapescape
|
||||
# swap Ctrl_R and Alt_R
|
||||
setxkbmap -option ctrl:rctrl_ralt
|
||||
setxkbmap -option ctrl:ralt_rctrl
|
||||
(
|
||||
sleep 2
|
||||
# swap Caps_Lock and Escape
|
||||
setxkbmap -option caps:swapescape
|
||||
# swap Ctrl_R and Alt_R
|
||||
setxkbmap -option ctrl:rctrl_ralt
|
||||
setxkbmap -option ctrl:ralt_rctrl
|
||||
) &
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue