వికీపీడియా:Configuring on Linux

వికీపీడియా నుండి
ఇక్కడికి గెంతు: మార్గసూచీ, వెతుకు

Ubuntu or GNU/Linux[మార్చు]

Ubuntu 12.04[మార్చు]

In Firefox browser set the default font as Dejavu Sans and in Wikipedia Language settings-fonts section, select Lohit Telugu to be used for Telugu. This will render Telugu properly with sufficient gap between words. For keyboard set up, please see the followingsection.

Ubuntu10.04[మార్చు]

In Ubuntu10.04, pothana and vemana are installed by default. For installing Lohit-telugu , please run

$sudo apt-get install ttf-telugu-fonts

Gnome applications display Telugu. Default Firefox browser as well as office applications render Telugu without any additional tweaking. You can also download chrome if interested.This also displays Telugu properly. Ubuntu Menu can also be changed to Telugu, by opening System->Administration->Language Support and selecting Install/Remove languages and then selecting Telugu for installation.

Keyboard input[మార్చు]

Ibus layouts for Telugu

Keyboard input method is handled by ibus. This is also installed by default. Run the same by selecting System->Preferences->IBus. In the input method tab, clicking on Select input method opens a drop down box showing the world languages. Clicking on Telugu shows the keymaps available. Select a key map. Select Add in the input method tab. The available keymaps are RTS [1], iTrans, Apple, Pothana, Inscript[2][3]. In the General tab, you can review/change shortcut keys for enabling IBus and switching among the keymaps as well as additional options for displaying the keymap in use.

From any application, pressing CTRL+space (Keeping CTRL pressed, press space) will enable IBus and the keys you type will be transformed into the selected language as per the Keymap in use. Pressing CTRL+space again will disable IBUS and normal English keyboard will be in effect.

Older systems[మార్చు]

Inscript setup[మార్చు]

The information presented here will enable you to type Telugu text in any computer program found on a GNU/Linux system. First, we need to associate Telugu characters with the keys on your keyboard. Then, when you press certain keys on your keyboard, the Telugu character(s) associated with those keys will appear on your computer monitor. There are several ways to perform such association. These ways are known as keymaps.

GNOME 2.8.x and above[మార్చు]

  1. Enable the Keyboard Indicator
    Right click on panel
    Choose Add to Panel...
    Choose Keyboard Indicator
    Click Add
    

    You should now see a Keyboard Indicator applet on your panel.

  2. Add Telugu as one of the layouts
    Right click on Keyboard Indicator
    Choose Open Keyboard Preferences
    Choose Layout tab
    Select Telugu in Available Layouts list
    Click Add
    

    On the keyboard indicator, when you see tel you will be typing in Telugu.

  3. Assign a shortcut to switching between US and Telugu keyboard layouts.
    Right click on the Keyboard Indicator
    Choose Open Keyboard Preferences
    Choose Layout Options tab
    Select an option from Group Shift/Lock Behaviour in Avaiable Options list
    Click Add
    

    You will now be able to switch the groups using a keyboard shortcut depending on the option you have chosen.

Rice Transliteration Standard (RTS) Keymap[మార్చు]

The RTS keymap is convenient for people who know English and can already type on an English keyboard. For example, it allows us to simply type rAmuDu or raamud'u when we wish to write రాముడు in Telugu. This process is called transliteration, and the rules which govern it are specified by the RTS.

The technology used for inscript is insufficient for transliteration because it simply transforms a single key-press into a single character. In this manner, it is impossible to transliterate words which contain more than one character, such as rAmuDu. Therefore, we need a more powerful piece of software input method editor[4], which has the ability to transliterate words of any length.

RTS with SCIM

This section describes how to install and use RTS with the Smart Common Input Method (SCIM) input method editor.

Demonstration of Telugu RTS with SCIM on an Ubuntu GNU/Linux system.
Requirements

Ensure that the following packages are installed on your system:

Package Minimum version
m17n-lib 1.3.1
m17n-db 1.3.1
scim 1.2.2

The following sections show you how to install these packages for your particular GNU/Linux distribution.

Fedora Core 6 ( Zod )[మార్చు]

Run the following command to install the necessary packages:

su -c "yum install scim m17n-db-telugu"

Debian Etch and Ubuntu Gutsy Gibbon 7.10[మార్చు]

Run the following command to install the necessary packages:

sudo apt-get install m17n-db scim scim-m17n im-switch scim-gtk2-immodule


Installing the keymap[మార్చు]

Note: The paths shown in the subsequent instructions pertain specifically to Ubuntu GNU/Linux. However, the process should be very similar on any GNU/Linux distribution.

  1. Obtain the keymap.
    wget "http://cvs.m17n.org/viewcvs/m17n/m17n-contrib/im/te-rts.mim?view=co" -O te-rts.mim
    
  2. Install the keymap onto your system.
    su -c "cp te-rts.mim /usr/share/m17n/"
    

    or

    sudo cp te-rts.mim /usr/share/m17n/
    
  3. Restart SCIM. If you are not sure how to do this, simply reboot your system.

Enabling SCIM in X[మార్చు]

  1. In your home directory, create a file named .Xsession with the following contents:
    export XMODIFIERS='@im=SCIM'
    export GTK_IM_MODULE="scim"
    export QT_IM_MODULE="scim"
    scim -d &
    
  2. Restart X

From now onwards, you can activate SCIM in any application by pressing Control-Space. Also, you can press Control-Alt-Up and Control-Alt-Down to switch between keymaps.

Enabling SCIM in GNOME[మార్చు]

  1. In your home directory, create a file named .gnomerc with the following contents:
    export XMODIFIERS='@im=SCIM'
    export GTK_IM_MODULE="scim"
    export QT_IM_MODULE="scim"
    scim -d &
    
  2. Log out of GNOME
  3. Log into GNOME

From now onwards, you can activate SCIM in any application by pressing Control-Space. Also, you can press Control-Alt-Up and Control-Alt-Down to switch between keymaps.

Enabling SCIM in KDE[మార్చు]

  1. In your home directory, create a file named .Xsession with the following contents:
    export XMODIFIERS='@im=SCIM'
    export GTK_IM_MODULE="scim"
    export QT_IM_MODULE="scim"
    scim -d &
    startkde
    
  2. Log out of KDE
  3. Log into KDE

From now onwards, you can activate SCIM in any application by pressing Control-Space. Also, you can press Control-Alt-Up and Control-Alt-Down to switch between keymaps.

Sources[మార్చు]

  1. transliteration
  2. Department of Information Technology
  3. keyboard layout
  4. input method editor