Setting Up FC2 to Speak Your Language
Have you ever wondered what the Language tab on the graphical login screen on your Red Hat-based distribution (Red Hat 8/9, Fedora Core 1/2) means? Have you even tried changing it to your own language and got nothing but boxes, missing text or unrecognizable characters? If so, you probably banged the keyboard, screamed or cursed and logged out.
Welcome, newbie. Now try this.
I am experimenting on a Fedora Core 2 installation under GNOME. Why GNOME? Because my native language, Hindi, like many others, has better support under GNOME. Because our motive here is to make our lives easier, it is better to scout the Internet for some applications that make the task easier.
Also, make sure the language you want the environment to be in is listed under the Language tab on the graphical login menu. Chances are it is. If not, tough luck. Send an e-mail to the Fedora Core Localization mailing list and help the process.
KKBSwitch (K KeyBoard Switch) is a program that sits in the system tray and indicates the current keyboard layout. It also can be used to switch between keyboard layouts.
Although KKBswitch is supposed to be a KDE application, it runs perfectly fine under GNOME. Moreover, the file I downloaded is for Fedora Core 1, but it also works for Fedora Core 2.
Grab a copy from the KKBSwitch SourceForge page. It's a small application, so I suggest you act lazy and download the RPM. I downloaded the latest RPM available for Fedora, kkbswitch-1.4.1-1fc1.i386.rpm.
Presuming you download into your home directory, enter the following.
$ cd /home/$whoami $ rpm -ivh kkbswitch-1.4.1-1fc1.i386.rpm
This installs the program, and you can run it either from the console by typing kkbswitch or by selecting it from the Accessories menu, where the program is added. When you run the program, its icon appears on the system tray. Right-click on it and you can see the default language at the top.
To configure, click on Configure Keyboard Switch. In the General tab, you should see the default language. Chances are you see only the English US/ASCII layout. Don't panic; you still need to add the keyboard layout of your regional language before you can switch to it. For now, simply spend some time playing around with this nice utility.
Although the graphical menu lists many languages, not all of them are supported out-of-the-box. For example, Hindi was listed but there were no fonts to render the text. If this is the case with your language, you need to install some fonts.
With the recent interest in localization, you definitely have a number of fonts from which to choose. Even if you can't find OpenType fonts (OTF), you definitely can find TrueType fonts (TTF). I found a beautiful Hindi font at www.indictrans.org--Gargi-1.3.ttf. Gargi is a TTF that also can be used in proprietary applications under proprietary platforms.
Before proceeding further, make yourself root.
$ su - Password:
Set up the installation directory for the font under /usr/share/fonts
# cd /usr/share/fonts # mkdir hindi
Now, copy the TTF file to this directory
# cp gargi-1.3.ttf /usr/share/fonts/hindi # cd /usr/share/fonts/hindi/
Next, create the index of fonts in the directory with mkfontdir. Then, make the system automatically look for the font with fc-cache. Congratulations! The font has been installed.
We almost are finished. All we need to do is make arrangements for KKBSwitch to see our layout. In the menu, select Preferences -> Keyboard. In the window that opens, locate the third tab from left, Layouts. On the left-hand side, you should see a list of selected layouts and on the right a list of available layouts. You can add up to a maximum of four layouts. When you have added the necessary layouts, in my case Hindi, close the window.
Upon restarting X, select your language from the login screen, and make sure your desktop is GNOME. Voila! Depending upon the translation work that has been done on your language, you should find that most of the components are localized.
Time to put the icing on the cake. Start up KKBSwitch. Depending on whether you followed my advice to experiment earlier, you now can select the new layout you just added. For those who were too eager to get to the end of the article, right-click on the icon in the status bar and select your layout. Simple.
Today’s modular x86 servers are compute-centric, designed as a least common denominator to support a wide range of IT workloads. Those generic, virtualized IT workloads have much different resource optimization requirements than hyperscale and cloud applications. They have resulted in a “one size fits all” enterprise IT architecture that is not optimized for a specific set of IT workloads, and especially not emerging hyperscale workloads, such as web applications, big data, and object storage. In this report, you will learn how shifting the focus from traditional compute-centric IT architectures to an innovative disaggregated fabric-based architecture can optimize and scale your data center.
Sponsored by AMD
Built-in forensics, incident response, and security with Red Hat Enterprise Linux 6
Every security policy provides guidance and requirements for ensuring adequate protection of information and data, as well as high-level technical and administrative security requirements for a system in a given environment. Traditionally, providing security for a system focuses on the confidentiality of the information on it. However, protecting the data integrity and system and data availability is just as important. For example, when processing United States intelligence information, there are three attributes that require protection: confidentiality, integrity, and availability.
Learn more about catching the bad guy in this free white paper.
Sponsored by DLT Solutions
| Using Salt Stack and Vagrant for Drupal Development | May 20, 2013 |
| Making Linux and Android Get Along (It's Not as Hard as It Sounds) | May 16, 2013 |
| Drupal Is a Framework: Why Everyone Needs to Understand This | May 15, 2013 |
| Home, My Backup Data Center | May 13, 2013 |
| Non-Linux FOSS: Seashore | May 10, 2013 |
| Trying to Tame the Tablet | May 08, 2013 |
- Making Linux and Android Get Along (It's Not as Hard as It Sounds)
- Using Salt Stack and Vagrant for Drupal Development
- New Products
- Validate an E-Mail Address with PHP, the Right Way
- Drupal Is a Framework: Why Everyone Needs to Understand This
- A Topic for Discussion - Open Source Feature-Richness?
- Home, My Backup Data Center
- New Products
- RSS Feeds
- Tech Tip: Really Simple HTTP Server with Python
- Epistle
1 hour 8 min ago - Automatically updating Guest Additions
2 hours 16 min ago - I like your topic on android
3 hours 3 min ago - Reply to comment | Linux Journal
3 hours 24 min ago - This is the easiest tutorial
9 hours 38 min ago - Ahh, the Koolaid.
15 hours 17 min ago - git-annex assistant
21 hours 16 min ago - direct cable connection
21 hours 39 min ago - Agreed on AirDroid. With my
21 hours 49 min ago - I just learned this
21 hours 53 min ago
Enter to Win an Adafruit Prototyping Pi Plate Kit for Raspberry Pi

It's Raspberry Pi month at Linux Journal. Each week in May, Adafruit will be giving away a Pi-related prize to a lucky, randomly drawn LJ reader. Winners will be announced weekly.
Fill out the fields below to enter to win this week's prize-- a Prototyping Pi Plate Kit for Raspberry Pi.
Congratulations to our winners so far:
- 5-8-13, Pi Starter Pack: Jack Davis
- 5-15-13, Pi Model B 512MB RAM: Patrick Dunn
- Next winner announced on 5-21-13!
Free Webinar: Linux Backup and Recovery
Most companies incorporate backup procedures for critical data, which can be restored quickly if a loss occurs. However, fewer companies are prepared for catastrophic system failures, in which they lose all data, the entire operating system, applications, settings, patches and more, reducing their system(s) to “bare metal.” After all, before data can be restored to a system, there must be a system to restore it to.
In this one hour webinar, learn how to enhance your existing backup strategies for better disaster recovery preparedness using Storix System Backup Administrator (SBAdmin), a highly flexible bare-metal recovery solution for UNIX and Linux systems.



Comments
Gnome Panel Applet--Keyboard Switcher
Nice to see the word getting out! I chose my native language in the login manager to see what would happen a few months ago--hadn't noticed the option before. Lo and behold--my entire Gnome session was in Swedish! All I had to do was install a Swedish dictionary for OOo and I was off...
Gnome has a native keyboard switcher, which works great, I've got the Swedish characters written on my 'board in permanent marker. Right click on panel add/utilities/keyboard switcher.
:D
Re: Gnome Panel Applet--Keyboard Switcher
Just a comment, but you should try out Datacal's overlays:
http://www.datacal.com/dce/finnish-swedish-overlays.htm
I had them once on a US keyboard and they seemed to work pretty well. Of course, I admire the person who actually installed them. I fumble at replacing RAM...
Re: Setting Up FC2 to Speak Your Language
Do you know how to get localized font support in mozilla mail? (for writing emails).
Re: Setting Up FC2 to Speak Your Language
HI
I can write my mail in Mozilla mail and KMAIL both in my local language. Nothing needs to be done, you just have to change your language using kkbswitch as explained in the article and then you can type mails in your local language.