--- /dev/null
+<!DOCTYPE HTML>
+<HTML>
+ <HEAD>
+ <TITLE>japanese IME setup</TITLE>
+ <META NAME="viewport" CONTENT="width=device-width,initial-scale=1">
+ <META CHARSET="utf-8">
+ <LINK REL="stylesheet" HREF="../style.css">
+ </HEAD>
+ <BODY>
+ <H1>how i set up my japanese ime or smth</H1>
+ <P>[<A HREF="../tags/etc.html">etc</A>:computer, I have to make
+ that tag]; Last updated 2026-11-19</P>
+ <BR>
+ <P>I thought this might be useful for someone.</P>
+ <H2>Windows</H2>
+ <P>So I mostly just installed the Windows IME lol. It works
+ pretty well for my purposes.</P>
+ <P>The main customization I made was probably turning off the
+ annoying text suggestions while you type (they still pop up
+ sometimes, though)</P>
+ <P>The only other issue I had was while using the best editor
+ ever, Vim. Vim supposedly has some feature to toggle off the
+ IME when going into Normal mode, but I couldn't figure it out.
+ Instead, I just made an AutoHotKey script to turn the IME to
+ latin mode when I pressed Esc.</P>
+ <P>This was actually a bit hacky, as there's no obvious way to
+ do it. Instead, I just set the IME to hiragana mode using ...
+ Alt+Caps_Lock iirc, and then toggled it between hiragana/latin
+ using shift+Caps_Lock. That worked, gladly. Hopefully soon I
+ can figure out how to save what state it's in while in Insert
+ mode, though...</P>
+ <P>I'll add the script here later...</P>
+ <H2>Linux</H2>
+ <P>So I have a Linux laptop for school (I use Arch BTW), and
+ for some reason I wanted to figure out how to set up a Japanese
+ IME on there too. This was more difficult, because Linux. (I
+ use Arch w/MATE in case that matters, on a Surface Go 2
+ iirc)</P>
+ <P>Obviously, I just looked it up on the Arch wiki. Anyway, the
+ Arch wiki said that you needed some kind of input method
+ framework, and that ibus was the one GNOME uses or whatever.
+ MATE is based off of GNOME (i think) so I assumed that would be
+ the best choice (also apparently it's most popular or
+ something??).</P>
+ <P>I installed this and was very confused. Eventually I figured
+ out how to set environment variables (look I'm totally new to
+ linux) and did that, and then realized I had to install an
+ input method EDITOR. (Aka an IME).</P>
+ <P>Again I looked at the Arch wiki's tables... This time,
+ however, it looked worrying. The most popular seemed to be
+ "mozc" (wtf kind of name is that, like genuinely what does it
+ stand for. it's a google product but the moz makes it sound
+ like a mozilla thing.) However, this IME's IBus support
+ required... A PACKAGE FROM THE AUR. I am terrified of the AUR
+ because I keep hearing about malware on it, and also because I
+ don't know how to use it. Also, this mozc thing was a google
+ product and google is cringe but not in the cool way.</P>
+ <P>Thankfully, there are other IMEs. However, the Arch wiki
+ said Anthy was "effectively dead since 2009", and none of the
+ other ones looked too promising either... (They even referenced
+ Emacs :p). I thought about it for a while, and then I realized
+ that UTAU was also effectively dead since 2009 and I love UTAU.
+ (That didn't actually happen but is close enough to my thought
+ process.) Also, since it was that old, there presumably
+ wouldn't be any vibecoded gradients. So, I installed Anthy
+ using pacman and then realized I had no idea how to use it.</P>
+ <P>I played around for a while and then realized I should just
+ restart IBus. Then, I went to preferences and added a new input
+ method, selected Japanese, and Anthy was right at the bottom
+ :D</P>
+ <P>After this I had another major issue: it didn't work. I
+ spent way too long trying to fix this before realizing that I
+ had to close the window and reopen it before the new input
+ method would work on it, lmao. And then... my IME worked!!!</P>
+ <P>Except. I still had ONE major issue (yes, ANOTHER ONE.)</P>
+ <P>I'm used to the Windows IME and its keyboard shortcuts. On
+ Windows, the shortcut I use most often to toggle (since I don't
+ have a Japanese keyboard) is Shift+Caps_Lock. I tried to set
+ this in Anthy, but it didn't stop it from still toggling Caps
+ Lock, which was annoying. Then, I tried disabling Caps_Lock in
+ the MATE keyboard settings. This also didn't work because
+ pressing it then gave like 0xFFFFFFFF or something?????</P>
+ <P>AND THEN. Another problem I had earlier came to mind. The
+ default keyboard shortcut for toggling IBus things didn't work,
+ since I guess the Windows key on my computer wasn't bound to
+ what it usually is?? But I realized that the MATE keyboard
+ settings have an option to use CapsLock as, among other things,
+ an extra "Hyper" key. I checked that none of my other keys were
+ already a "Hyper" key, and they weren't! So, I turned on that
+ setting, and then I changed the Anthy "on_off" binding to
+ "Shift+Hyper_L". And now it works!!! わんだほい!!! I hope
+ this is a decent ime tho, since idk if there's a reason why
+ it's bad that it isn't very updated. At least it's free
+ software, so if it doesn't work I can just make my own
+ version... (I assume it's not too hard to add extra
+ dictionaries :p)</P>
+ <P>Anyway time to figure out how to get this to work nicely
+ with Vim!!</P>
+
+ <P><A HREF = "../pages.html"><back to all pages</A></P>
+ <P><A HREF = "../index.html"><back to home</A></P>