[Desktop Entry]
Name=Keyboard-toggle
GenericName=
Comment=Toggle between 2 layouts with Alt-Shift
Encoding=UTF-8
Exec=setxkbmap -option grp:switch,grp:alt_shift_toggle,grp_led:scroll us,ar
Icon=/usr/share/icons/gnome/48x48/devices/keyboard.png
Terminal=false
Type=Application
Categories=GTK;GNOME;Application;Utility;System;Monitor;X-MandrivaLinux-CrossDesktop
StartupNotify=false
Copy the text above and paste it into a text editor. Save the file as ~/.local/share/applications/Keyboard-toggle.desktop. That is, save the file as Keyboard-toggle.desktop to /home/yourusername/.local/share/applications directory. The .local folder is hidden, so you will need to show hidden files in your file browser. The entry will be shown in More Applications > Monitoring section of the menu for your user only. If you want system wide access, (access for all users on the system), copy the desktop file as user root to the /usr/share/applications directory.
On the e17 desktop, go to Settings > Settings Panel. Click the Apps icon at the top and then the Startup Applications entry. Scroll down to the Keyboard-toggle entry. Select it by clicking on it, click Add, then click Apply. Close all windows. Log out and log back in. Open a text editor and try it out. To toggle between keyboard languages, use the Alt-Shift key combination.
Make a copy of the Keyboard-toggle.desktop file somewhere for safekeeping.