Enable Telugu in Gnome 3, in Debian sid :
1. Enable Telugu language in locales. Login as root from the command prompt open a terminal and Edit the file /etc/locale.gen. Remove the # symbol in the line that says # te_IN UTF-8 using nano. If you are not able to see the line then go to end of the file and add the line te_IN UTF-8.
$su Password: [give administrator password] #nano /etc/locale.gen Remove the # These key combinations will save and exit from nano Ctrl o, Ctrl+x
2. The next step is to generate the locales. The following command should be used only once to generate the locales.
3. Close the terminal, and select Telugu from system settings menu. To do it goto top right corner on your screen and click the user name, you will get a menu, in that click system settings. Select “Region and Language”. Now you should see Telugu as an option, select Telugu by clicking the option. Close the window, logout and login again to see telugu interface.
The default keyboard doesn't have all the keyboard layouts. We need to install another input framework called ibus.
Login as root in the terminal and install ibus.
#apt-get install ibus ibus-m17n [with out hash]
Run the command ibus from command prompt as a normal user. You will get the preferences window of ibus.
Go to the second tab called Input Method. You will find an empty list, click the list “Select an input method”. This list will show all the languages and various keyboard layouts that we want to add to the list. In our case we will go to Telugu and click rts or any desired labyout and again click Add. This will add the keyboard layout that we want. We can select other keyboard layouts too similarly.
Open a text editor and add the following lines to the file /home/<user>/.config/autostart/ibus-daemon.desktop
[Desktop Entry] Type=Application Exec=ibus-daemon -d Hidden=false NoDisplay=false X-GNOME-Autostart-enabled=true Name[en_US]=iBus Name=iBus Comment[en_US]= Comment=
If the directory .config/autostart doesn't exist then create one and copy the file to that directory.
Logout and login to get ibus framework as the default framework for all the applications under gnome 3.
To switch between English and the keyboard layout that you choose press “Ctrl+Space” or click the keyboard icon on the top right corner after the speaker icon and select the keyboard layout that you want.
Note: Even if you were a scim user earlier and have the scim installation, on instaling ibus, ibus will act as the default mechanism.