Solved Installing Persian keyboard

Hi,
I can add Arabic keyboard with IBUS Preferences > Input method but how can I install Persian keyboard?
The Persian keyboard is not on the input method list!
 
You probably first want to have a properly installed virtual terminal console driver vt(4) which uses UTF-8. Then look for a UTF-8 farsi font you can use for this Vt. For Vt installation see this wiki: https://wiki.freebsd.org/Newcons

Read
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/l10n.html
http://www.freebsd.org/doc/en_US.IS...k/using-localization.html#locale-lang-country

If you want Farsi on Xorg only, there is x11-fonts/farsifonts.
If you are running KDE4 there is misc/kde4-l10n-fa.

Come back with more specific questions. :)

PS: This was written before you edited your original message.
 
I use gdm with mate desktop
Code:
root@unix:/usr/home/user # Xorg -version

X.Org X Server 1.14.7
Release Date: 2014-06-05
X Protocol Version 11, Revision 0
Build Operating System: FreeBSD 10.1-RELEASE-p8 i386
Current Operating System: FreeBSD unix 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401: Tue Nov 11 22:51:51 UTC 2014  root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386
Build Date: 26 March 2015  06:19:32AM
Current version of pixman: 0.32.6
   Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
root@unix:/usr/home/user #
 
Please enter setxkbmap -layout ir. It seems to work on my system using UTF8. By pressing keys I get symbols instead of the letters I usually use. Unfortunately I have no idea what the signs mean. If it woks for you just add the command to your ~/.xinitrc or whatever is applied at startup with x11/gdm.
 
Dear Beastie,
ok, then the layout option is required only if other options need to be specified?

I think I have applied the option because of the example in https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-understanding.html, section 6.10, Troubleshooting.

Just for the record and all who might be interested in the topic, /usr/local/share/X11/xkb/rules/base.lst which is mentioned in the handbook is very informative about all the possible keyboard and language options and variants.
 
Back
Top