Ubuntu 20.04 Focal Fossa 是否支持 Compose-Key?

Ele*_*nic 11 keyboard-layout shortcut-keys gnome-tweak-tool compose-key 20.04

我尝试了以下链接中可以找到的所有内容:
如何启用 Compose 密钥?
https://help.ubuntu.com/community/ComposeKey
https://wiki.ubuntu.com/ComposeKey

但是,我仍然无法在我新安装的 Ubuntu 20.04 上使用组合键。

我使用英语(美国)键盘布局,但我需要能够使用组合键输入变音符号。在 Ubuntu 18.04 和 16.04 中它工作得很好,我映射 set 并使用超级键没有任何问题。

在 20.04 中,我尝试了不同的键,但没有一个起作用。

的输出gsettings get org.gnome.desktop.input-sources是:
xkb-options ['compose:rwin', 'eurosign:e', 'esperanto:qwerty'],但是sudo vim /etc/dconf/db/local.d/00-input-sources包含compose:ralt...

小智 6

感谢之前的答案,这是对我有用的方法:

列出键盘设置:

gsettings list-recursively org.gnome.desktop.input-sources
Run Code Online (Sandbox Code Playgroud)

设置撰写键:

gsettings set org.gnome.desktop.input-sources xkb-options "['compose:paus']"
Run Code Online (Sandbox Code Playgroud)

列出 compose 键的可能值:

grep "compose:" /usr/share/X11/xkb/rules/base.lst
Run Code Online (Sandbox Code Playgroud)


Ele*_*nic 5

Gunnar 的评论为我指明了正确的方向。

gsettings get org.gnome.desktop.input-sources 显示当前活动设置,因此我能够发现我使用了错误的键。

使用gnome-tweak-tools我可以相应地更新设置到最终有效的右ctrl。