Evan Martin (evan) wrote in evan_tech,
Evan Martin
evan
evan_tech

uim: simple japanese input / control space

There's a million different ways to get Japanese input on Linux and they all have varying levels of brokenness. I discovered uim and I've been pretty happy with it: very unobtrusive (no floating toolbars or panel applets) and it uses GTK for drawing.

sudo apt-get install uim-gtk2.0 anthy
Somehow GTK picks it up as the default input method, which means that the above is all you need for it to work in all Gnome apps, Firefox, and GVIM.
anthy does the kana→kanji conversion.

The only problem is that the default hotkey is Shift-space, which I apparently bump while typing all the time. So to change it to Control-space, create a ~/.uim:
(define default-im-name 'anthy)

(define-key generic-on-key?  '("<Control> "))
(define-key generic-off-key? '("<Control> "))

(define-key anthy-on-key?    '(generic-on-key?))
(define-key anthy-latin-key? '(generic-off-key?))
Tags: howto, japanese
Subscribe

  • dremel

    They published a paper on Dremel, my favorite previously-unpublished tool from the Google toolchest. Greg Linden discusses it: "[...] it is capable…

  • google ime

    Japanophiles might be interested to learn that Google released a Japanese IME. IME is the sort of NLP problem that Google is nearly uniquely…

  • ghc llvm

    I read this thesis on an LLVM backend for GHC, primarily because I was curious to learn more about GHC internals. The thesis serves well as an…

  • Post a new comment

    Error

    default userpic
    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 5 comments