I’ve never thought that some day I’ll use an Arabic Keyboard on linux but I CHOOOOKED it is very simple, just edit your Xorg file and add arabic code in addition to (ALT+SHIFT) key, below is Configuration file - part keyboard :
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbLayout" "us,ar"
Option "XKbOptions" "grp:alt_shift_toggle"
EndSection
