Amharic Input Method for KDE                               

  1. Summary
  2. Installation
  3. Troubleshouting
  4. Developers
  5. Feedback

Amharic.png

Summary

Installation

  1. Download and install SCIM
    Current RPMs and source packages can be found under http://ns.turbolinux.com.cn/~suzhe/scim/download.html. Different distributors (e.g. SuSE) already provide SCIM, but in older versions. You will need to install the packages scim, scim-config-gconf, scim-config-socket, scim-frontend-socket, scim-gtk-immodule, scim-server-socket if you are installing from RPM, if you are installing from source, you need to build scim and scim-tables.
  2. Download and install Amharic input table
    You need to download Amharic.bin and Amharic.png from this server. Put Amharic.bin in your scim tables directory (usually /usr/share/scim/tables) and Amharic.png in your scim icon directory (usually /usr/share/scim/icons). You need to be root to do this.
  3. Setup X to use SCIM
    In your global xim configuration file (/etc/X11/xim, you need to be root) enter these two lines at the appropriate place in order to start SCIM with each X-session (alternatively you can also put it in ~/.xim):
    export XMODIFIERS="@im=SCIM"
    scim -f socket -ns socket -d
    scim -f x11 -s socket -c socket -d
    (This rather complicated start of the SCIM daemon has to do with using SCIM for gtk-based programs)
    SuSE 9.1 users: you can just get my modified version of /etc/X11/xim here and replace your existing version with it.
  4. Set up the locale am_ET.UTF-8
    Tell SCIM to provide am_ET.UTF-8 by adding
    /SupportedUnicodeLocales = am_ET.UTF-8
    to /etc/scim/config.
    Next set your environment variable LC_CTYPE globally to "am_ET.UTF-8". Under SuSE 9.1 you can do this by changing the language variable RC_LC_CTYPE (through YAST or directly in /etc/sysconfig/language).
  5. Adjust the input style for qt3 widgets
    Run qtconfig. Under Interface select your favorite XIM Input Style. My favorite for Amharic is OnTheSpot, which means your characters will change directly in your application as you type. The other styles create some sort of a hint window and submit the character to the application after the whole key sequence is processed.
  6. Activate SCIM for gtk widgets
    Without this SCIM won't work under gtk-based programs, like everybody's favorite browser Mozilla.  Change the Amharic input as follows in your gtk.immodules (usually in /etc/opt/gnome/gtk.2.0/):
    "/opt/gnome/lib/gtk-2.0/immodules/im-scim.so"
    "scim" "SCIM Input Method" "scim" "/opt/gnome/share/locale" "am"
    Check if the first line provides the right location for im-scim.so (provided by scim-gtk-immodule package). There should already be a definition for the locale "am" since Gnome comes with a builtin Amharic input. This existing definition has to be replaced by these two lines above.
  7. Restart X and try it out!
    Restart your X server and you should see a little keyboard icon in your icon tray. Run any KDE program. Ctrl-space activates the SCIM input and you should be able to select the Amharic input method. 

Troubleshouting

Developers

Feedback