Arabic Typing on Linux: Complete Setup Guide for Ubuntu, Fedora & Arch
Arabic keyboard setup on any Linux desktop — GNOME, KDE, XFCE — with IBus and Fcitx input methods, plus Arabic font installation and web alternatives.
Linux has excellent built-in Arabic support through its Unicode text system. Setting up an Arabic keyboard on Linux is straightforward on modern distributions with GNOME or KDE desktops. This guide covers setup for Ubuntu (GNOME), Fedora, and Arch Linux, including input method configuration, Arabic font installation, and troubleshooting.
Method 1: GNOME Settings (Ubuntu 22.04+ / Fedora)
Adding Arabic Keyboard Layout
- Open Settings (gear icon from top menu or Applications)
- Go to Keyboard
- Click the + button under "Input Sources"
- Search for "Arabic" in the search box
- Select Arabic (standard layout) or Arabic (QWERTY)
- Click Add
Switching Between Arabic and English
- Click the language indicator in the top bar to switch
- Or use Super + Space to cycle through input sources
- Customize the shortcut: Settings → Keyboard → Keyboard Shortcuts → Typing → Switch to next input source
Method 2: KDE Settings (Kubuntu, Fedora KDE)
- Open System Settings
- Go to Input Devices → Keyboard
- Click the Layouts tab
- Check "Configure layouts"
- Click Add and search for Arabic
- Select and click OK
KDE's switching shortcut is Alt + Shift by default, configurable in the keyboard settings.
Method 3: Command Line Setup (All Distributions)
You can add Arabic keyboard layout from the terminal. First, check current layouts:
localectl status
Add Arabic to existing layout:
setxkbmap -layout us,ara -option grp:alt_shift_toggle
This sets US English + Arabic with Alt+Shift as toggle. To make persistent across reboots, add to
your ~/.bashrc or ~/.profile.
For a permanent system-level change on Ubuntu/Debian:
sudo dpkg-reconfigure keyboard-configuration
Arabic Fonts on Linux
Install Arabic fonts for the best rendering quality:
Ubuntu / Debian
sudo apt install fonts-arabeyes fonts-arphic-uming fonts-hosny-amiri fonts-noto-core
Fedora / RHEL
sudo dnf install google-noto-sans-arabic-fonts amiri-fonts
Arch Linux
sudo pacman -S noto-fonts-arabic ttf-amiri
Arabic in LibreOffice on Linux
LibreOffice has the best Arabic support of any free office suite:
- Install LibreOffice:
sudo apt install libreoffice-l10n-ar(Arabic language pack) - RTL direction: Format → Text → Right-to-Left, or use Ctrl+Shift+D
- Arabic fonts work automatically after installing the font packages above
Arabic in the Linux Terminal
The standard Linux terminal has limited Arabic support. For Arabic in terminal:
- Kitty terminal:
sudo apt install kitty— excellent bidirectional text support - GNOME Terminal: Enable BiDi: Edit → Preferences → Text → Text Bidi setting
- mlterm: Specifically designed for multilingual terminals including Arabic
Web-Based Alternative for Linux
If you find Linux keyboard setup complex or you're using a distribution without GUI settings, our Arabic Typing Keyboard works perfectly in any Linux browser (Firefox, Chromium, Chrome). No installation needed — just open and type.
⌨ Arabic Typing Works in Any Linux Browser
No setup required — works in Firefox, Chromium, and Brave on Linux.
Open Arabic KeyboardFrequently Asked Questions
Yes. Linux uses the Unicode BiDi (Bidirectional) algorithm at the system level, so Arabic text displays correctly right-to-left in all GTK and Qt applications. LibreOffice, Firefox, Chromium, and most modern Linux apps handle Arabic RTL perfectly. The terminal has more limited BiDi support and may require a specialized terminal emulator like Kitty.
The same methods apply in a VM (VirtualBox, VMware, QEMU). The keyboard layout settings are inside the guest OS, not the host. Add Arabic keyboard in the guest's Settings → Keyboard. Note: VM keyboard pass-through may occasionally cause shortcut conflicts between host and guest — using our web keyboard in the VM's browser avoids this issue entirely.
Ubuntu and Fedora have the most straightforward Arabic keyboard setup with their GNOME interfaces. Ubuntu also has the largest Arabic-language Linux community for support. For a fully Arabic-localized Linux experience, look into distros specifically built for Arabic users like Ojuba (Fedora-based, Arabic GNOME interface) or Arabic-localized Ubuntu variants.