LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can not write with greek fonts (https://www.linuxquestions.org/questions/linux-newbie-8/can-not-write-with-greek-fonts-503654/)

manolakis 11-21-2006 01:44 PM

Can not write with greek fonts
 
Hey there!!!
I am newbie to Linux(BackTrack) and i recently installed OpenOffice 2.0
I can read a doc consisting of Greek characters but I can not write with them
Any ideas?

Thanks for your time

Panagiotis_IOA 11-21-2006 02:45 PM

Hi Manolakis (I have to write in English :p).
I suppose you have already import the Greek keyboard. If you have done so, you need to set you locale to the following:

Code:

LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

That was how my problem with Greek in OpenOffice was solved.

manolakis 11-21-2006 02:57 PM

Can not write with greek fonts
 
Hey there!!!
Thanks really much for your reply
To be honest i am quite newbie to Linux and i dont think that i have installed the Greek keyboard. I would be really obliged if you show me the way.

Thanks for your time

Panagiotis_IOA 11-21-2006 04:05 PM

You should tell me first which distribution you are using :)

manolakis 11-21-2006 07:59 PM

I am using BackTrack.

Panagiotis_IOA 11-21-2006 09:00 PM

Hm... It's the first time I heard of it but I noticed that is Slackware based so the configuration files should be the same as Slackware.
You have to open the /etc/X11/xorg.conf file with a text editor and add or modify these lines to the "InputDevice" Section of the keyboard:

Code:

    Option      "XkbModel" "pc105"
    Option      "XkbLayout" "us+el"
    Option      "XkbOptions" "grp:alt_shift_toggle,grp_led:scroll"

My configuration is like this:

Code:

Section "InputDevice"

    Identifier  "Keyboard1"
    Driver      "kbd"
    Option      "XkbModel" "pc105"
    Option      "XkbLayout" "us+el"
    Option      "XkbOptions" "grp:alt_shift_toggle,grp_led:caps"

"alt_shift" indicates the combination of keys used to change from one language to another while "scroll" indicates which light of the keyboard you want to lights up when you switch into Greek.
After this you need to add the locale I gave you on my previous post in the end of the /etc/profile file.

manolakis 11-22-2006 10:20 AM

Hey again
I want to thank you for your help
I will try this and i hope it will work

Thanks again

manolakis 11-22-2006 05:13 PM

Same problem with Greek fonts
 
Hey again!!!
Well! I did all of what you said but didnt work
I noticed also that the LC_ALL in the locale is null!(Have a look on what you posted)
Is it something that you forgot to write down or it should be like that.
It will be grateful if you could help

Thanks for your time

Panagiotis_IOA 11-22-2006 06:00 PM

Hm... Let's take it from the beginning.
First you edit your xorg.conf file. Restart the X and then checkif you can switch from English to Greek and test writing to Firefox and to a text editor. Then try at OpenOffice. If this is not working then you have to set the new locale and restart X again. Have you done all these?
No, I didn't forget anything to the locale I gave you.

manolakis 11-23-2006 12:18 PM

Problem with Greek fonts
 
Thanks again for your reply.
I did everything as you said.
Will it be helpful if i say that when i try to change from US to Greek at the bottom rigth corner (on the taskbar) instead of Greek i get err (which probably indicates error).

Thanks again for your time

Panagiotis_IOA 11-23-2006 12:26 PM

"err" should indicates error. How did you got Greek option there? After the changes I told you?

manolakis 11-24-2006 11:06 AM

No. It was already there (in KDE keyboard tool).

Panagiotis_IOA 11-25-2006 08:59 AM

I'm sorry but I can't think of anything else. Maybe you should try to find some help at www.linux.gr or www.hellug.gr

gstath 11-26-2006 04:51 AM

Supposing that you can already type in Greek and your only problem is that the language KDE icon is not working properly, I'd suggest the following workaround:

Disable the KDE-build-in language indicator and download Leonid Zeitlin's kkbswitch. It is light and works great on slack. Since your distro is slack based it would probably work without issues.

manolakis 11-26-2006 05:50 PM

Hey again
Many thanks for your reply
I am quite newbie to Linux and i dont know how I disable the KDE-build-in language indicator.
Could you please show me?

Thanks again


All times are GMT -5. The time now is 11:51 AM.