Adding Greek support

From MEPIS Documentation Wiki

Jump to: navigation, search

!!! Warning! The info contained in this article pertains to older versions of MEPIS !!!
UPDATED 02 March 2005

From console type


and then the password for super user mode.

Type in console

dpkg-reconfigure locales 

and select el_GR.iso8859-7, el_GR.UTF-8, en_US.UTF-8,en_US.iso8859-1. If you want Greek support, but the environment in English, select en_US.UTF-8 as default.

Without closing console go to the Mepis OS Control Center and in System Tweaks select en_US.UTF-8 and then click Apply.

Return to console and type

kwrite /etc/fstab 

and enter in the line EITHER:

/dev/hda10/mnt/hda10 vfat auto, users, iocharset=utf8, codepage=737,exec,umask=000 0 0 

(where hda10 is my vfat) for VFAT. OR

/dev/hdb1/mnt/hdb1 ntfs noauto, users, exec, nls=utf8,ro, umask=0222 0 0 

(where hdb1 is my ntfs) for NTFS. AND

/dev/cdrom /mnt/cdrom udf,iso9660 noauto,iocharset=utf8,dev,ro 0 0 for CDROM.

Select the line that begins with # and put it at the end of the file so as not to reset the changes made on every boot. Click Save.

Then in console

apt-get install x-ttcidfont-conf defoma ttf-freefont ttf-thryomanes xfonts-intl-european xfonts-efont-unicode xfonts-efont-unicode-ib msttcorefonts

Bear in mind that I could not find Windows Tahoma already installed. To solve this find the fonts via google and copy in home directory in the ~/.fonts or better still transfer/copy all ttf files from windows/fonts to ~/.fonts.

Close console and open KDE Control Center. In Appearance -> Fonts select ttf fonts that support iso8859-7 (for example I selected arial for all).

Then go to KDE Components -> File Manager and also select ttf fonts that support iso8859-7. In Regional and Accessibility - Keyboard select the last one from Global Shortcuts and the combination of keys to toggle/change from English->Greek and vice-versa (I chose Alt + `)

For those who want Greek filenames displayed correctly in Mp3s, in Beep-Media-Player from Preferences -> Plugins -> Mpeg audio plugin select Preferences -> Title and convert non-UTF8 ID3 tags to UTF8 and in the ID3 encoding: iso8859-7

For Greek subtitles in xine.


apt-get install libxine1 libxine-dev

Then download

Create ~/.xine/fonts folder and go to ~/.xine/fonts and copy there a ttf e.g. arial.ttf. From a xine-lib-1.0.tar.gz you find through window konqueror xine-fontconv.c and copy also in ~/.xine/fonts.

Open console and go to ~/.xine/fonts and then type su and password. Then enter

gcc xine-fontconv.c -o xine-fontconv `freetype-config --cflags --libs` -lz 

and after that enter ./xine-fontconv arial.ttf arial iso8859-7 iso8859-15 iso8859-1 and the fonts are created.

Open xine and settings -> setup -> subtitles and there in font for subtitles we give: arial and in the encoding: iso8859-7.

Now Greek works perfectly everywhere with these changes.

Personal tools