我必须做什么才能输入日语?
我希望按照 Wakisaka 的建议使用 fcitx-mozc但是当我通过“偏好设置”>“Fcitx 配置”添加“键盘 - 日语”时,我只得到带有罗马字母输出的 qwerty 布局,而没有通过输入日语单词(如“sore”)形成的日语。
当我取消选中“仅显示当前语言”并搜索“Moz”时,没有 Mozc 选项。
在“开始搜索”>“键盘布局”中,我找到了“键盘型号:戴尔 Latitude 笔记本电脑”,因为这款笔记本电脑是戴尔 Latitude D620。我也尝试过添加键盘布局:日语,使用 Super+Space 进行切换,但仍然没有日语输出。“假名”变体确实允许我从每个键输入片假名,但我需要使用 qwerty 或 dvorak 输入,将平假名转换为汉字或片假名。
我不知道我是否找到了一个提示:一名 18.04 用户被告知编辑/usr/share/ibus/component/mozc.xml
,但我的文件夹中缺少这个文件。
编辑:我现在已经安装了fcitx-mozc
。
$ sudo apt install fcitx-mozc
[sudo] password for username:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libprotobuf10 libzinnia0v5 mozc-data mozc-server mozc-utils-gui tegaki-zinnia-japanese
Suggested packages:
ibus-qt5
The following NEW packages will be installed:
fcitx-mozc libprotobuf10 libzinnia0v5 mozc-data mozc-server mozc-utils-gui tegaki-zinnia-japanese
0 upgraded, 7 newly installed, 0 to remove and 1 not upgraded.
Need to get 30.9 MB of archives.
After this operation, 53.5 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://us.archive.ubuntu.com/ubuntu cosmic/main i386 libprotobuf10 i386 3.0.0-9.1ubuntu3 [738 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu cosmic/main i386 mozc-server i386 2.23.2815.102+dfsg-2 [11.9 MB]
Get:3 http://us.archive.ubuntu.com/ubuntu cosmic/main i386 mozc-data all 2.23.2815.102+dfsg-2 [11.1 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu cosmic/main i386 tegaki-zinnia-japanese all 0.3-1 [17.3 MB]
Get:5 http://us.archive.ubuntu.com/ubuntu cosmic/universe i386 fcitx-mozc i386 2.23.2815.102+dfsg-2 [258 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu cosmic/main i386 libzinnia0v5 i386 0.06-3ubuntu1 [63.3 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu cosmic/main i386 mozc-utils-gui i386 2.23.2815.102+dfsg-2 [737 kB]
Fetched 30.9 MB in 14s (2,178 kB/s)
Selecting previously unselected package libprotobuf10:i386.
(Reading database ... 242486 files and directories currently installed.)
Preparing to unpack .../0-libprotobuf10_3.0.0-9.1ubuntu3_i386.deb ...
Unpacking libprotobuf10:i386 (3.0.0-9.1ubuntu3) ...
Selecting previously unselected package mozc-server.
Preparing to unpack .../1-mozc-server_2.23.2815.102+dfsg-2_i386.deb ...
Unpacking mozc-server (2.23.2815.102+dfsg-2) ...
Selecting previously unselected package mozc-data.
Preparing to unpack .../2-mozc-data_2.23.2815.102+dfsg-2_all.deb ...
Unpacking mozc-data (2.23.2815.102+dfsg-2) ...
Selecting previously unselected package tegaki-zinnia-japanese.
Preparing to unpack .../3-tegaki-zinnia-japanese_0.3-1_all.deb ...
Unpacking tegaki-zinnia-japanese (0.3-1) ...
Selecting previously unselected package fcitx-mozc:i386.
Preparing to unpack .../4-fcitx-mozc_2.23.2815.102+dfsg-2_i386.deb ...
Unpacking fcitx-mozc:i386 (2.23.2815.102+dfsg-2) ...
Selecting previously unselected package libzinnia0v5.
Preparing to unpack .../5-libzinnia0v5_0.06-3ubuntu1_i386.deb ...
Unpacking libzinnia0v5 (0.06-3ubuntu1) ...
Selecting previously unselected package mozc-utils-gui.
Preparing to unpack .../6-mozc-utils-gui_2.23.2815.102+dfsg-2_i386.deb ...
Unpacking mozc-utils-gui (2.23.2815.102+dfsg-2) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-3ubuntu2) ...
Setting up mozc-data (2.23.2815.102+dfsg-2) ...
Setting up libzinnia0v5 (0.06-3ubuntu1) ...
Setting up tegaki-zinnia-japanese (0.3-1) ...
Setting up libprotobuf10:i386 (3.0.0-9.1ubuntu3) ...
Setting up mozc-utils-gui (2.23.2815.102+dfsg-2) ...
Processing triggers for libc-bin (2.28-0ubuntu1) ...
Setting up mozc-server (2.23.2815.102+dfsg-2) ...
Setting up fcitx-mozc:i386 (2.23.2815.102+dfsg-2) ...
编辑:我能够让它工作本指南。
(这是三年前的答案似乎有我最终实施的解决方案,如下面的答案所述,尽管我认为 fcitx 已经安装在 Lubuntu 18.10 中。)