Yamli is all the rage these days. It's an Arabic search engine and "smart" keyboard that lets you type in Arabic letters in way of their similarly sounding English letters. So, if you want to type " الاردن اولا," you would type "alordn aola" in English and Yamli's text box will generate the Arabic text for you. However, Yamli only works within the browser. (last time I checked). So, to be able to do the same system wide, I figured I will just modify the system's Arabic keymap to type the letter I want when pressing the English letter. This way, I can press M and get م, N-->ن, and the number 3 and get ع, the number 7 and get ح. and this works system wide. You can use it with open office text editor, renaming files, naming songs, i.e. everywhere. This is how I did it:
in terminal (Applications-->Accessories-->Terminal) type
this will grant you access to modify system files. So, be careful!
a window will open and ask you for a password.
it's the same password you created when you set up ubuntu
after you successfully enter a password:
the root file browser opens showing the desktop
click on "file System" in the left side panel and navigate to usr/share/X11/xkb/symbols/ara
this will open, in a text editor, the Arabic keyboard layout/keymap that is pre-installed.
delete all text, copy the keymap from this page, and paste it in. Save, reboot, enjoy!
the layout I am using is based on this, windows only, Arabic keyboard. of course, you can add, delete, move, replace all you want!