It'd be a great addition to the sidebar along with any threads about getting Japanese input working on other platforms. Getting input methods working in Linux is often frustrating, and there's a lot more people using Linux now than when I started fumbling around with it. Somebody aught to gild this post.
Well done guide, thank you. One thing I really liked about Ubuntu is that you can just go into the default language settings and add mozc Japanese as an input method without doing all this. Manjaro is much more difficult to get Japanese input working but I still prefer it overall for other purposes.
I just wanted to ask how is this method preferable over just installing Japanese in the language settings on Ubuntu. I guess it’s about doing un on other distros. BTW. I had difficulties with Japanese input on snap installed programs. After I de installed them and installed them with the classic way without snap it did work. I never understood why though.
You can also choose the input type after you select Japanese with stock language pack stuff. So you can type in romanji, hiragana, katakana, or kanji by switching that
Just some fixes (at least on arch): To open "fcitx configuration", I had to install it manually:
sudo pacman -S fcitx-configuration
On step 4:
Check the option for Only Show Current Language(if not checked, mozc will likely not appear). After you've checked that, search for mozc or just type it. If you've found this, you've done it right. Click on it and and press OK.
Did you meant to "uncheck" right? Because I had to uncheck it so that mozc could appear.
Also, still on step 4, I had to add my default layout keyboard to the input methods (in addition to mozc), so that the toggle would work.
Apart from that, it worked like a charm, thank you!
Not to say its bad, but I tried to use ibus+anthy on elementaryOS Loki before, what a flustercuck of config nightmare trying to make it work (not sure if my fault or elementary and ibus fault). Tried mozc and works like charm. Point is, it depends on your distro.
Then I used Pop_OS and mozc already preinstalled. Easy as pie.
I use ibus + anthy right now. I swapped from fcitx for one sole reason: For some reason, fcitx refuses to work on anki. I had to go to mousepad, type in my phrase, and copy paste. Anki forums lead me to see that ibus works perfectly so I swapped to it and no problems so far.
I have had issues with ibus in the past that prompted a switch to fcitx. However, I have been using anthy with fcitx, does anyone know how anthy compares with mozc?
Fwiw, Fedora (gnome) has default japanese support, no need for additional packages. Just add japanese as an additional input lang and your are good to go. Switch quickly either in the top bar or with super-key (alias windows-key) + space.
They probably just don't have enough volunteers who speak Japanese. If you're shipping a distro, and you want to provide any level of support, you have to test every package you're going to ship. Additionally Elementary has Human Interface Guidlines that they'd want a package that they're shipping to adhere to. I'm not sure I'd make the same decision, but I'm not the one maintaining it.
Now you can activate Anthy with Ctrl+Space and then toggle on/off the japanese language with Ctrl+J
Enjoy!
Note:
I configured my key bindings
Ctrl+J - toggle japanesse or english language
Ctrl+< - use hiragana mode
Ctrl+> - use katakana mode
You can remove English from Ibus and let Anthy toggle English and Japanese for you with just Ctrl+J. So you don't have to use Ctrl+Space to tell ibus to switch language anymore.
Thanks!! I really appreciate the effort you put into documenting this. I looked at it before but kinda put it off because it seemed like a lot of work. This is a real timesaver!
I'm not sure what I was doing wrong. It just seemed like every time I tried to install a package it required hours of troubleshooting to get it working. I probably had a weird configuration that didn't mesh well. I don't really know. I ended up needing Windows again for work and instead of making a partition I just cut my losses and wiped clean.
8
u/DemoseDT Sep 01 '20
I honestly never thought I'd see a linux thread on here. Good on you for helping out the recent waves of converts!
21
u/AtomicAria Aug 31 '20 edited Aug 31 '20
Well done guide, thank you. One thing I really liked about Ubuntu is that you can just go into the default language settings and add mozc Japanese as an input method without doing all this. Manjaro is much more difficult to get Japanese input working but I still prefer it overall for other purposes.
25
u/KishitaniShinra Aug 31 '20
Replaced windows with linux a week ago and learning japanese. Thanks for this
4
u/Nhaco Aug 31 '20
it is working! ありがとう!
Just some fixes (at least on arch):
To open "fcitx configuration", I had to install it manually:
On step 4:
Did you meant to "uncheck" right? Because I had to uncheck it so that mozc could appear.
Also, still on step 4, I had to add my default layout keyboard to the input methods (in addition to mozc), so that the toggle would work.
Apart from that, it worked like a charm, thank you!
4
u/WAPOMATIC Aug 31 '20
I've been using ibus + Anthy for years and years now. Is fcitx decidedly better?
4
u/yuyu5 Sep 01 '20
A fantastically useful and underappreciated post. It's great to see two lovely things coming together into one. Great job, OP 👍
4
u/jomb Sep 01 '20
Thanks! Have you ever got taganijisho to work on Manjaro? I was never able to. Not a big fan of gWrhghrgs or whatever it was called
4
u/TofuCannon Sep 01 '20
Fwiw, Fedora (gnome) has default japanese support, no need for additional packages. Just add japanese as an additional input lang and your are good to go. Switch quickly either in the top bar or with super-key (alias windows-key) + space.
3
u/Naisho26 Aug 31 '20
This is one of the reasons why I deleted elementary os... I wonder if this would work.
3
u/[deleted] Sep 01 '20 edited Sep 01 '20
Good tutorial : )
Here's an alternative method which I personally use:
EDIT: SHITTY FORMATTING FOR THE export module stuff -_-
3
u/cryptosidus Sep 01 '20 edited Sep 01 '20
こんいちは! コンイチハ!
Gentoo users can install
ibusandanthywith just this command:Install Japanese fonts (you don't have to install all, but I like to have all installed so my firefox can render ja texts properly)
and add this to your init config (ie: i put them in my
~/.xinitrc)reboot
run:
Now you can activate Anthy with
Ctrl+Spaceand then toggle on/off the japanese language withCtrl+JEnjoy!
Note:
I configured my key bindings
You can remove English from Ibus and let Anthy toggle English and Japanese for you with just
Ctrl+J. So you don't have to useCtrl+Spaceto tell ibus to switch language anymore.5
u/rexolboy8 Aug 31 '20
Wait, on ubuntu i didn't even use command line
2
u/01user Aug 31 '20
Yes I really needed this! Thanks!
2
u/Gydo194 Sep 01 '20
Thanks!! I really appreciate the effort you put into documenting this. I looked at it before but kinda put it off because it seemed like a lot of work. This is a real timesaver!
2
u/MangoGuile Sep 01 '20
ありがとうございました!
2
u/Kuratius Sep 01 '20
I've tried fruitlessly to try to get a Japanese IME on xubuntu xfce. Will try this and report back.
Edit: FUCKING FINALLY ITFGUHJGEPÄOGJ4EMolpöägk<MÄWG
2
u/d1vady Sep 03 '20
I use gnome, just werks. Alt + space to switch layout
2
u/brainshrinedrip Feb 01 '21
Worked seamlessly for Manjaro 5.10.7-3. Thank you so much!
1
u/slush360 Sep 01 '20
Thank you very much!
1
u/[deleted] Sep 01 '20
Thank you sir!
0
u/[deleted] Aug 31 '20
[deleted] — view deleted comment