我必须做什么才能输入日语?
我希望按照Wakisaka 的建议使用 fcitx-mozc,但是当我通过“首选项”>“Fcitx 配置”添加“键盘 - 日语”时,我只得到一个带有罗马字母输出的 qwerty 布局,没有通过输入像“痛”这样的日语单词形成的日语。
当我取消选中“仅显示当前语言”并搜索“Moz”时,没有 Mozc 选项。
在通过开始搜索 > 键盘布局的“键盘和鼠标”中,我有“键盘型号:戴尔 Latitude 笔记本电脑”,因为这台笔记本电脑是戴尔 Latitude D620。我试过添加键盘布局:也有日语,用 Super+Space 切换,但仍然没有日语输出。“假名”变体确实让我可以从每个键输入片假名,但我需要输入 qwerty 或 dvorak 将平假名转换为汉字或片假名。
我想知道我是否找到了提示:An 18.04 user was known to edit /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 中。)
尽管我跳过了 ppa 命令,但该解决方案似乎只是遵循本指南。我记得在阅读该指南时执行了以下命令:
特别是按照提示运行后
im-config
,选择fcitx
,然后重新启动,就可以正常工作了。我不确定该qt4-qtconfig
业务是否有必要,因为直到通过单击开始菜单条目 +restart 后我才能使其正常工作im-config
(尽管我不知道是否需要重新启动)。