Difference between revisions of "Tibetan Input Method for Linux"

From Digital Tibetan
Jump to: navigation, search
(Added link to Unicode page; alphabetised links.)
(Information about Plasma and Fcitx added.)
Line 2: Line 2:
 
[[image:IBus-General.jpg|thumb|300px|'''Img. 2''': IBus preferences, hotkeys for switching input methods]]
 
[[image:IBus-General.jpg|thumb|300px|'''Img. 2''': IBus preferences, hotkeys for switching input methods]]
 
[[image:IBus-InputMethod.jpg|thumb|300px|'''Img. 3''': IBus preferences, input method selection]]
 
[[image:IBus-InputMethod.jpg|thumb|300px|'''Img. 3''': IBus preferences, input method selection]]
 +
[[image:fcitx-config.png|thumb|300px|'''Img. 4''': Fcitx configuration for Tibetan]]
  
 
Linux supports a number of different input method implementations to support different Tibetan keyboards:
 
Linux supports a number of different input method implementations to support different Tibetan keyboards:
* [http://code.google.com/p/ibus/ IBUS], the Intelligent input bus. This provides the currently recommended method for typing Tibetan in Linux.
+
* [http://code.google.com/p/ibus/ IBUS], the Intelligent input bus. This provides the currently recommended method for typing Tibetan in Linux/Gnome.
 +
* [https://fcitx-im.org/wiki/Fcitx FCITX], Fcitx [ˈfaɪtɪks] is an input method framework with extension support. It is recommended for Plasma/KDE.
 
* [http://code.google.com/p/uim/ UIM], for older linux versions that do not yet support IBus
 
* [http://code.google.com/p/uim/ UIM], for older linux versions that do not yet support IBus
 
* [http://www.scim-im.org/ SCIM], not described here.
 
* [http://www.scim-im.org/ SCIM], not described here.
Line 15: Line 17:
 
* Then enable a Tibetan input method (available are EWTS, extended Wylie, Wylie and CTRC) (see Img. 3)
 
* Then enable a Tibetan input method (available are EWTS, extended Wylie, Wylie and CTRC) (see Img. 3)
  
==Installing a Tibetan UIM input method for gnome==
+
==FCITX installation (for Plasma/KDE)==
 +
You need the packages <code>fcitx</code>, <code>fcitx-m17n</code>, <code>m17ndb</code>, <code>fcitx-qt4</code>, <code>fcitx-qt5</code>, and <code>kcm-fcitx</code> (for configuration via GUI).
 +
 
 +
The [https://fcitx-im.org/wiki/Fcitx Fcitx Wiki] provides good installation instructions for different Linux distributions.
 +
 
 +
==Legacy input methods==
 +
===Installing a Tibetan UIM input method for gnome===
 
For gnome you need the packages <code>uim</code>, <code>uim-m17nlib</code>, <code>uim-applet-gnome</code>.
 
For gnome you need the packages <code>uim</code>, <code>uim-m17nlib</code>, <code>uim-applet-gnome</code>.
 
This installs a Wylie input method (as part of <code>uim-m17nlib</code>) and a keyboard switcher that can be added to the gnome panel:
 
This installs a Wylie input method (as part of <code>uim-m17nlib</code>) and a keyboard switcher that can be added to the gnome panel:

Revision as of 17:09, 6 February 2017

Img. 1: IBus needs to be enabled in Language settings
Img. 2: IBus preferences, hotkeys for switching input methods
Img. 3: IBus preferences, input method selection
Img. 4: Fcitx configuration for Tibetan

Linux supports a number of different input method implementations to support different Tibetan keyboards:

  • IBUS, the Intelligent input bus. This provides the currently recommended method for typing Tibetan in Linux/Gnome.
  • FCITX, Fcitx [ˈfaɪtɪks] is an input method framework with extension support. It is recommended for Plasma/KDE.
  • UIM, for older linux versions that do not yet support IBus
  • SCIM, not described here.

Installing a Tibetan IBUS input method for gnome

  • You should have installed the packages: ibus, ibus-m17n, m17ndb.
  • Ubuntu users need to make sure (10.04 and higher) that IBus is the active input method: Go to System / Administration / Language support: On the bottom of the screen is the Input Method selector, make sure it is on "IBus". (See Img. 1)
  • Next, configure a hotkey that switches between your normal keyboard and the Tibetan input method. Go to System / Preferences / IBus Preferences and select a hot key (see Img. 2).
  • Then enable a Tibetan input method (available are EWTS, extended Wylie, Wylie and CTRC) (see Img. 3)

FCITX installation (for Plasma/KDE)

You need the packages fcitx, fcitx-m17n, m17ndb, fcitx-qt4, fcitx-qt5, and kcm-fcitx (for configuration via GUI).

The Fcitx Wiki provides good installation instructions for different Linux distributions.

Legacy input methods

Installing a Tibetan UIM input method for gnome

For gnome you need the packages uim, uim-m17nlib, uim-applet-gnome. This installs a Wylie input method (as part of uim-m17nlib) and a keyboard switcher that can be added to the gnome panel:

  • Right-click the gnome-panel, select "Add to Panel..." and add the "Input Method Indicator (uim)".
  • Within the configuration of UIM, enable the input method "m17n-bo-wylie" or the newer m17n-bo-ewts, .
  • Now open gnome text editor (gedit), select a Tibetan font, e.g. Tibetan Machine Uni and activate the input method "m17n-bo-wylie".
  • You should now be able to type Tibetan.

Advanced customization

All input methods (scim, uim, and ibus) rely on a configuration file that is installed as part of m17n.lib.

It is possible to exchange or change the way the input method "m17n-bo-wylie" works: Simply edit (as root, make a backup first!)

/usr/share/m17n/bo-wylie.mim

to add or modify the translation from wylie into Unicode Tibetan. This file serves as documentation of the input method and is also a good way to understand how the input method translates Wylie into Tibetan Unicode.

More information

External Links