Skip to content

Instantly share code, notes, and snippets.

@btbytes
Created July 11, 2009 02:52
Show Gist options
  • Select an option

  • Save btbytes/145048 to your computer and use it in GitHub Desktop.

Select an option

Save btbytes/145048 to your computer and use it in GitHub Desktop.
Reading and Writing Kannada on Ubuntu Karmic Koala

Reading and Writing Kannada on Ubuntu Karmic Koala (9.04)

$ sudo apt-get scim scim-m17n scim-gtk2-immodule ttf-kannada-fonts
$ scim-setup &

and assign ctrl+alt+space as the trigger for switching keyboard layouts.

Create 75scim file under /etc/X11/Xsession.d/ with following lines (if you have 90im-switch, better to remove it for this setup)

export XMODIFIERS="@im=SCIM"
export XIM_PROGRAM="/usr/bin/scim -d"
export GTK_IM_MODULE=scim
export QT_IM_MODULE=scim

logout and login

Pressing ctl+alt+space should bring up the scim toolbar on the right hand bottom corner of the screen. If not, launch scim & from the shell.

I use the kn-itrans keyboard layout.

Notes

  • I did not have to delete the Malige.ttf fonts as described on this page.
  • Firefox renders kannada text properly without the need to adjust any pango settings, which seemed to be an issue in earlier Ubuntu distribution.

References

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment