将键盘布局切换为西里尔字母后
setxkbmap -layout "us,bg(phonetic)" -option "grp:alt_shift_toggle"
ratpoison
停止识别按键并仅识别状态
readkey: Unbound key: Cyrillic_tse
但是,当我切换到终端并按同一键时,ц
会键入并已绑定在~/.ratpoisonrc
:
# ~/.ratpoisonrc
# Minimal config file for ratpoison.
# Meta key - Windows key.
# Press before command, not simultaneously.
# Basic commands:
# s, S - split screen into "frames"
# <space> - within a frame, cycle the "windows" open inside it
# <tab> - next frame
# c - create a terminal window in the current frame
# r - resize this frame
# o - only frame - destroy all other frames
# R - remove current frame
# Q - quit ratpoison
escape Super_L
unbind Q
bind Q quit
bind o only
set startupmessage 0
bind Я quit
bing о only
bind к kill
bind ц exec xterm
bind с split
bind С hsplit
答案1
在 .ratpoisonrc 文件中添加“Cyrillic_tse”(根据弹出消息)而不是 unicode 字符,这可能会起作用。