सहाय्य:Setup For Devanagari/Linux
GNU/Linux General Description
संपादन- On most of the distributions, the basic set of utilities and environment is similar (though not exactly same). Hence if you don't find the distribution of your interest listed here (or if present and distribution details are missing) then try tips from general section of linux. C-DAC (former NCST) has involvment in Devanagari support for Linux/UNIX operating system. Following document should be useful to many users. NCST Devanagari-HOWTO
GNU/Linux Display
संपादनPlease refer to this section for details.
GNU/Linux Input
संपादनDebian Linux
संपादन$ apt-get install ttf-indic-fonts
Fedora Core Linux
संपादनFedora Core 3 comes with GNOME 2.8 and KDE 3.3 releases. Similarly from following table, please locate GNOME and KDE sections to refer.
Fedora Core Release | GNOME Release | KDE Release |
Core 4 | GNOME 2.10.x | KDE 3.4.x |
Core 3 | GNOME 2.8.x | KDE 3.3.x |
Core 2 | GNOME 2.6.x | KDE 3.2.x |
Core 1 | GNOME 2.4.x | KDE 3.1.x |
Red Hat Linux
संपादनRed Hat | GNOME Release | KDE Release |
Red Hat Linux 9.0 | ?? | ?? |
Red Hat Linux 8.0 | ?? | ?? |
Red Hat Linux 7.x | ?? | ?? |
Novell SuSE Linux
संपादनUbuntu Linux
संपादनDebian based Linux distro that uses GNOME as desktop.
There is another distro called Kubuntu that is same like above but using KDE as desktop.
Knoppix
संपादनGNOME
संपादनGNU Network Object Model Environment=>GNOME
(Version) 2.8.x - 2.6.x - 2.4.x
General Description
संपादनDisplay
संपादनPango is used by GNOME and related applications, as default font renderer. According to Indian Script Input System(ISIS), Pango is the best renderer for Linux system. However, to display Devanagari scripts, Pango requires Devanagari fonts, installed in the system. Please refer this section about how to install fonts in X11.
Input
संपादनThis section provides general description about Input Methods and Keyboard Layouts and which to select. Based on this knowledge, one can select keyboard layout. However, Phonetic-layout is recommended for general users.
GNOME Phonetic-based keyboard Layouts
संपादनBecause Phonetic-based keyboard Layouts are intuitive, it is recommended for general users.
a. Indian Script Input System (ISIS)
It can be downloaded from Indian Script Input System Home Page.
GNOME 2.8.x
संपादनPhonetic-based Keyboard Layout
संपादनPlease refer to this section (Recommended)
Inscript Keyboard Layout
संपादनTo enable support, following two steps are required:
1. To enable add Keyboard Indicator Applet to panel
1. Right click on panel 2. Choose Add to Panel... 3. Choose Keyboard Indicator 4. Click Add |
|
2. To add Hindi keyboard layout using Keyboard Indicator Applet
1. Right click on Keyboard Indicator 2. Choose Open Keyboard Preferences 3. Choose Layout tab 4. Select Hindi in Available Layouts list 5. Click Add |
As of now, explicit 'Marathi' keyboard layout is not available, or generic Devanagari layout may be termed as 'Hindi'. But it serves purpose of generic Inscript layout for Devanagari .
GNOME 2.6.x
संपादनPhonetic-based Keyboard Layout
संपादनPlease refer to this section (Recommended)
Inscript-based Keyboard Layout
संपादनTo enable support, following two steps are required:
1. To enable add Keyboard Indicator Applet to panel
1. Right click on panel 2. Choose Add to Panel 3. Select Utility 4. Choose Keyboard Indicator |
|
2. To add Hindi keyboard layout using Keyboard Indicator Applet
1. Right click on Keyboard Indicator 2. Choose Open Keyboard Preferences 3. Choose Layout tab 4. Select Hindi in Available Layouts list 5. Click Add |
As of now, explicit 'Marathi' keyboard layout is not available, or generic Devanagari layout may be termed as 'Hindi'. But it serves purpose of generic Inscript layout for Devanagari .
GNOME 2.4.x
संपादनPhonetic-based Keyboard Layout
संपादनPlease refer to this section (Recommended)
Inscript-based Keyboard Layout
संपादनTo enable support, following two steps are required:
1. To enable add Keyboard Switcher Applet to panel
1. Right click on panel 2. Choose Add to Panel 3. Select Utility 4. Choose Keyboard Layout Switcher |
|
2. To add Hindi keyboard layout using Keyboard Switcher |
Red Hat Linux
संपादनRed Hat | GNOME Release | KDE Release |
Red Hat Linux 9.0 | ?? | ?? |
Red Hat Linux 8.0 | ?? | ?? |
Red Hat Linux 7.x | ?? | ?? |
Novell SuSE Linux
संपादनUbuntu Linux
संपादनDebian based Linux distro that uses GNOME as desktop.
There is another distro called Kubuntu that is same like above but using KDE as desktop.
Knoppix
संपादनGNOME
संपादनGNU Network Object Model Environment=>GNOME
(Version) 2.8.x - 2.6.x - 2.4.x
General Description
संपादनDisplay
संपादनPango is used by GNOME and related applications, as default font renderer. According to Indian Script Input System(ISIS), Pango is the best renderer for Linux system. However, to display Devanagari scripts, Pango requires Devanagari fonts, installed in the system. Please refer this section about how to install fonts in X11.
Input
संपादनThis section provides general description about Input Methods and Keyboard Layouts and which to select. Based on this knowledge, one can select keyboard layout. However, Phonetic-layout is recommended for general users.
GNOME Phonetic-based keyboard Layouts
संपादनBecause Phonetic-based keyboard Layouts are intuitive, it is recommended for general users.
a. Indian Script Input System (ISIS)
It can be downloaded from Indian Script Input System Home Page.
Inscript keyboard Layout
संपादनInscript comes with almost every distribution of Linux with GNOME. However one needs to know which version of GNOME a user is running on his/her system, to enable this support. Following major releases of GNOME are discussed here. Please refer to respective release.
GNOME 2.8.x
संपादनPhonetic-based Keyboard Layout
संपादनPlease refer to this section (Recommended)
Inscript Keyboard Layout
संपादनTo enable support, following two steps are required:
1. To enable add Keyboard Indicator Applet to panel
1. Right click on panel 2. Choose Add to Panel... 3. Choose Keyboard Indicator 4. Click Add |
|
2. To add Hindi keyboard layout using Keyboard Indicator Applet
1. Right click on Keyboard Indicator 2. Choose Open Keyboard Preferences 3. Choose Layout tab 4. Select Hindi in Available Layouts list 5. Click Add |
As of now, explicit 'Marathi' keyboard layout is not available, or generic Devanagari layout may be termed as 'Hindi'. But it serves purpose of generic Inscript layout for Devanagari .
GNOME 2.6.x
संपादनPhonetic-based Keyboard Layout
संपादनPlease refer to this section (Recommended)
Inscript-based Keyboard Layout
संपादनTo enable support, following two steps are required:
1. To enable add Keyboard Indicator Applet to panel
1. Right click on panel 2. Choose Add to Panel 3. Select Utility 4. Choose Keyboard Indicator |
|
2. To add Hindi keyboard layout using Keyboard Indicator Applet
1. Right click on Keyboard Indicator 2. Choose Open Keyboard Preferences 3. Choose Layout tab 4. Select Hindi in Available Layouts list5. Click Add || |
As of now, explicit 'Marathi' keyboard layout is not available, or generic Devanagari layout may be termed as 'Hindi'. But it serves purpose of generic Inscript layout for Devanagari .
GNOME 2.4.x
संपादनPhonetic-based Keyboard Layout
संपादनPlease refer to this section (Recommended)
Inscript-based Keyboard Layout
संपादनTo enable support, following two steps are required:
1. To enable add Keyboard Switcher Applet to panel
1. Right click on panel 2. Choose Add to Panel 3. Select Utility 4. Choose Keyboard Layout Switcher |
|
2. To add Hindi keyboard layout using Keyboard Switcher |
Firefox Indic languages support
संपादन- Make sure hindi fonts are installed
- On Fedora/Redhat systems you can do following
- Command to verify: `rpm -q fonts-hindi`
- Command to install: `yum install fonts-hindi`
- Go the greasemonkey site : http://greasemonkey.mozdev.org/
- Install GreaseMonkey Firefox extension ( probably you will have to allow pop ups for this site.)
- Just click on "Install Greasemonkey" hyperlink and procced as it guides you.
- Close firefox. Start firefox again.
- GO to this site : http://userscripts.org/scripts/show/1480
- On the Right Hand Corner click "Install this Script" which will install a ".js" file .(The greasemonkey extension will take care of the .js install)
UNIX-like Operating Systems
संपादन- See below.
X11
संपादन- (Applicable across all UNIX/Linux systems)
This section describes procedure to install fonts on any X11R5/6/7 based system. Nowdays almost all of the UNIX/Linux systems are eligible for this category because they run the latest X11R6 implementations.
X Display
संपादन- First download Devanagari available from Yudit site, Raghu Font. Now a series of commands needs to be typed in a terminal window or command shell. Only administrator ('root' or user with equivalent power) can issue following commands successfully. Also, you can copy these commands to a new file and execute it from command promt.
$ cp raghu.ttf /usr/share/fonts $ cd /usr/share/fonts $ fc-cache -fv $ ttmkfdir > fonts.scale $ mkfontdir
- Alternatively one can use following set of commands.
$ ( [ -d /usr/X11R6/lib/X11/fonts/TrueType ] \ && cp raghu.ttf /usr/X11R6/lib/X11/fonts/TrueType) \ || ( [ -d /usr/X11R6/lib/X11/fonts/TTF ] \ && cp raghu.ttf /usr/X11R6/lib/X11/fonts/TTF)\ || echo "Neither directory is found, font is not installed" $ mkfontdir $ xset fp rehash