[SOLVED] Cant's type right to left(Persian language) on centos7
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Cant's type right to left(Persian language) on centos7
Hello friends
I'd recently added persian language on my centos7, but when typing in persian the words become mess and in fact words are persian but align is english (left to right), it should be right to left, i didn't found any settings for it, how can i do this?
I'd recently added persian language on my centos7, but when typing in persian the words become mess and in fact words are persian but align is english (left to right), it should be right to left, i didn't found any settings for it, how can i do this?
What application are you typing in, and do you want this behavior to be for your entire desktop, or on an application-by-application basis?? I ask, because you can set things like vi/vim, LibreOffice, and others, to have the right-to-left, and leave others alone. Since you installed the language pack, have you changed the keyboard layout?
Gnome 2 - System >> Preferences >> Keyboard Preferences >> Layout tab >> Add >> *By language tab >> language: Persian >> Add
Gnome 3 - System Settings (click on the username on top right/left) -> Region and Language -> Layouts -> + -> Persian
KDE - System Settings, Regional and Language Section, Keyboard Layout
What application are you typing in, and do you want this behavior to be for your entire desktop, or on an application-by-application basis?? I ask, because you can set things like vi/vim, LibreOffice, and others, to have the right-to-left, and leave others alone. Since you installed the language pack, have you changed the keyboard layout?
Gnome 2 - System >> Preferences >> Keyboard Preferences >> Layout tab >> Add >> *By language tab >> language: Persian >> Add
Gnome 3 - System Settings (click on the username on top right/left) -> Region and Language -> Layouts -> + -> Persian
KDE - System Settings, Regional and Language Section, Keyboard Layout
i exactly done these recommendations but not worked, my problem is on all environments of my system
i exactly done these recommendations but not worked, my problem is on all environments of my system
Ok, but you need to answer the questions asked. Are you trying to do this for all your applications and your desktop GUI, or just SOME of your applications?? And if you did those things (and logged out/rebooted) and its not working, you've got larger problems.
What desktop environment are you using? I listed three...do you have all of them installed, and you tried ALL of them??? With which applications did you try?
Ok, but you need to answer the questions asked. Are you trying to do this for all your applications and your desktop GUI, or just SOME of your applications?? And if you did those things (and logged out/rebooted) and its not working, you've got larger problems.
What desktop environment are you using? I listed three...do you have all of them installed, and you tried ALL of them??? With which applications did you try?
My desktop is gnome and my problem is on command line, vi and all environments! i just switch between english and persian but my persian words become mess and strange, words exactly had english alignment (left to right), while should be right to left.
Ok, but you need to answer the questions asked. Are you trying to do this for all your applications and your desktop GUI, or just SOME of your applications?? And if you did those things (and logged out/rebooted) and its not working, you've got larger problems.
What desktop environment are you using? I listed three...do you have all of them installed, and you tried ALL of them??? With which applications did you try?
And again: did you log out and reboot??? Do you want this for ALL your applications or just some? If you're not going to answer questions, we can't guess.
And again: did you log out and reboot??? Do you want this for ALL your applications or just some? If you're not going to answer questions, we can't guess.
And again: did you log out and reboot??? Do you want this for ALL your applications or just some? If you're not going to answer questions, we can't guess.
Oh, one thing that i didn't saw was the layout tab, i added persian language but not in layout tab, but in "region and language " then " + " button and added persian (with persian keypad).
It's exactly like, suppose that you type "Hello" and you see "olleH" !!
...and....
Quote:
Originally Posted by Fardad74
Oh, one thing that i didn't saw was the layout tab, i added persian language but not in layout tab, but in "region and language " then " + " button and added persian (with persian keypad).
So when you said "i exactly done these recommendations but not worked", you actually meant "I didn't do the things listed at all", right? If you don't follow the instructions, it's not going to work. If you're using Gnome 2, that tab will be there. And since you want to type right to left, and when you type "Hello" and get "olleH"...not really seeing what's wrong.
Oh, one thing that i didn't saw was the layout tab, i added persian language but not in layout tab, but in "region and language " then " + " button and added persian (with persian keypad).
Quote:
Originally Posted by TB0ne
...and...
...and....
So when you said "i exactly done these recommendations but not worked", you actually meant "I didn't do the things listed at all", right? If you don't follow the instructions, it's not going to work. If you're using Gnome 2, that tab will be there. And since you want to type right to left, and when you type "Hello" and get "olleH"...not really seeing what's wrong.
Good luck.
Please take a look at these photos, all settings is ok, even i added all 3 persian languages that were available, but any of them didn't worked well (right to left).
Please take a look at these photos, all settings is ok, even i added all 3 persian languages that were available, but any of them didn't worked well (right to left).
Again: you did not set the layout as you said you did. Installing the language packs only takes you so far. I'm done...good luck to you.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.