hello friends,
i need to know how shoud add persian keyboard layout.
and reading in midori is hard how should i fix this is there any package that i have to install?
thank you so much!
persian reading and writing
(2 posts) (2 voices)-
Posted 8 months ago #
-
Hi MADMAN,
Let's solve your problem together.
I know that:
- your language code is fa_IR (/usr/share/i18n/locales/fa_IR);
- your keyboard code is ir (/usr/share/X11/xkb/symbols/ir).
Where these files are? Let's search.
There is glibc-locale and xorg-xkeyboard-config packages. Install them.Next, what is type of your SliTaz installation?
You can start it with lang=fa_Ir kmap=ir kernel options.Now, open your TazPanel → Settings → System language → select fa_IR, then log off and log in again.
For keyboard you can … hmm (maybe you know simple way?) … edit as root user this file /etc/X11/xorg.conf.d/40-Keyboard.conf
Put your keyboard codes to the line Option "XkbLayout"… Like this:
Section "InputClass" Identifier "Keyboard Defaults" MatchIsKeyboard "yes" Option "XkbLayout" "ir,en" Option "XkbOptions" "grp:ctrl_shift_toggle, grp_led:scroll, compose:ralt" Option "XkbOptions" "terminate:ctrl_alt_bksp" EndSectionDon't forget to remove this line from /etc/X11/xorg.conf.d/40-evdev.conf:
Option "XkbOptions" "terminate:ctrl_alt_bksp"You'll see effects after log out/log in or after reboot.
You can setting up your keyboard immediately by this command in the terminal:
setxkbmap "ir,us"
Right now you can switch keyboard layout from ir to us and type your text in text editor or in browser.
By the way, I can.Next your question about Midori.
reading in midori is hard
What do you mean?
PS. If you get a wrong keys, maybe you need to add next line to file /etc/X11/xorg.conf.d/40-Keyboard.conf
Option "XkbVariant" ",pes_keypad"
Put it next to first "Option" line.Posted 8 months ago #
Reply
You must log in to post.