Computing

How to Create a Custom Shavian Keyboard Layout for Linux

Learn step‑by‑step how to build a Linux keyboard layout for the 48‑letter Shavian alphabet, convert English to phonetic Shavian, and use ShawAlphabet.com tools for practice and conversion.

Imagine typing English with perfect phonetic consistency, every sound mapped to a unique glyph. That’s the promise of the Shavian alphabet, and with ShawAlphabet.com you can turn that promise into a working Linux keyboard. This article walks you through every beginner step: from the history of Shavian to the exact XKB file edits that make your keyboard speak Shavian.

Explanation

The Shavian alphabet was invented by playwright George Bernard Shaw in 1896 to reform English spelling. Shaw wanted a script where each letter represented a single English sound, eliminating the irregularities of Latin orthography. The result is a 48‑letter system: 24 consonants, 12 vowels, and 12 ligatures that combine two sounds into one glyph.

Shavian’s design is phonemic, not phonetic: it assigns a letter to each phoneme, the smallest sound unit in speech. That means a single letter can represent the same sound in words like night and name, regardless of spelling differences. For learners, this consistency reduces memorisation and improves reading speed.

How It Works

Below is a quick reference of the phonemic mapping. Each Shavian glyph corresponds to a specific International Phonetic Alphabet (IPA) symbol. The Unicode block for Shavian is U+10450–U+1047F, which you’ll see when you view the glyphs in a modern font.

Shavian Glyph IPA English Example
𐑁 p pen
𐑂 b bat
𐑃 t top
𐑄 d dog
𐑅 k cat
𐑆 g go
𐑇 f fun
𐑈 v vote
𐑉 θ think
𐑊 ð this
𐑋 s see
𐑌 z zone
𐑍 ʃ she
𐑎 ʒ measure
𐑏 h hot
𐑐 m man
𐑑 n no
𐑒 ŋ sing
𐑓 l look
𐑔 r room
𐑕 j yes
𐑖 w water
𐑗 ɪ sit
𐑘 ɛ bet
𐑙 æ cat (American)
𐑚 ɑ father
𐑛 ɔ thought
𐑜 ɜ her
𐑝 ə sofa
𐑞 ʌ but
𐑟 ɪə near
𐑠 ɛə hair
𐑡 ɑː car (British)
𐑢 ɒ lot
𐑣 ɪː machine
𐑤 ɛː learn
𐑥 æː face
𐑦 ɔː law
𐑧 ɒː cot
𐑨 əː ago
𐑩 ɜː learn
𐑪 ʊ put
𐑫 ʌː but
𐑬 ɪː machine
𐑭 ɛː learn
𐑮 æː face

Creating the Layout

Linux uses the X Keyboard Extension (XKB) to define key mappings. To add Shavian, you’ll edit or add a new symbols file and compile it. Below is a minimal, reproducible example that works on Ubuntu 24.04 and most GNOME‑based desktops.

  1. Install required packages: Open a terminal and run
    sudo apt install xkb-data xkb-utils
  2. Create a custom symbols file: Copy the existing English layout as a base.
    sudo cp /usr/share/X11/xkb/symbols/us /usr/share/X11/xkb/symbols/shavian
    sudo nano /usr/share/X11/xkb/symbols/shavian
  3. In the file, replace the key A { ... } blocks with Shavian mappings. A simple snippet for the Q key that produces the 𐑁 glyph is:
    key Q {
        [ U10450, U10450, U10450, U10450 ]
    }

    The four values correspond to Shift, AltGr, Shift+AltGr, and CapsLock states. Repeat for all 48 letters; the full mapping is available on ShawAlphabet.com’s shavian.xml resource.

  4. Compile the layout:
    cd /usr/share/X11/xkb/symbols
    sudo xkbcomp -xkb shavian shavian.xkb
  5. Place the compiled file in the XKB keymap directory:
    sudo cp shavian.xkb /usr/share/X11/xkb/symbols/shavian
  6. Activate the new layout:
    setxkbmap -layout shavian

After running setxkbmap, your keyboard will output Shavian glyphs. You can verify by opening Gedit or LibreOffice and typing. If you want the layout to load automatically, add the setxkbmap command to your .xprofile or use the GNOME Settings → Keyboard → Layouts interface.

Visual or Interactive Example

English Shavian
hello 𐑜𐑕𐑓𐑜𐑜
world 𐑕𐑙𐑟𐑥
friend 𐑕𐑃𐑓𐑰𐑙𐑄
computer 𐑑𐑓𐑕𐑁𐑑𐑙𐑂
beautiful 𐑛𐑙𐑅𐑛𐑙𐑙𐑂𐑂

Shavian’s glyphs are a little unfamiliar at first, but with the table you can start matching sounds to shapes. Use ShawAlphabet.com’s interactive converter to see how each English word maps to Shavian in real time.

Examples

  • night → 𐑟𐑕𐑳
  • thought → 𐑛𐑄𐑠𐑁
  • friend → 𐑕𐑃𐑓𐑰𐑙𐑄
  • beauty → 𐑛𐑙𐑅𐑑𐑙
  • rhythm → 𐑔𐑍𐑠𐑑𐑫
  • ocean → 𐑜𐑑𐑁𐑑𐑑
  • language → 𐑓𐑍𐑁𐑙𐑁𐑑𐑑
  • phonetics → 𐑑𐑁𐑑𐑑𐑁𐑑𐑑𐑁
  • education → 𐑚𐑚𐑙𐑑𐑑𐑁𐑙𐑑
  • rhino → 𐑔𐑴𐑙𐑜

Accent and Dialect Notes

Because Shavian maps directly to phonemes, it naturally accommodates regional variations. For example, the British /ɒ/ in “lot” is represented by 𐑢, while the American /ɑ/ in “lot” is 𐑚. A learner can switch between dialects simply by choosing the appropriate glyph. ShawAlphabet.com allows you to toggle between British and American vowel sets in its converter, making the script truly accent‑agnostic.

Common Mistakes

  • Confusing 𐑙 (æ) with 𐑛 (ɔ): Both look similar but represent different sounds.
  • Forgetting ligatures: The digraph 𐑥𐑙 (ɪə) and 𐑛𐑛 (ɛə) are single glyphs; typing them separately will produce two letters.
  • Ignoring the rhotic /r/ (𐑔): Some learners omit the /r/ in words like “car”; Shavian requires it.
  • Mixing uppercase and lowercase incorrectly: The script has distinct uppercase forms for each glyph, so case matters.
  • Using the Latin keyboard layout accidentally: Verify that setxkbmap -layout shavian is active before typing.

Practical Exercise

Convert the following sentence into Shavian:

“The quick brown fox jumps over the lazy dog.”

Answer key (with glyphs): 𐑊𐑕𐑑 𐑹𐑒𐑕 𐑚𐑕𐑙 𐑓𐑭 𐑗𐑕𐑑𐑛 𐑛𐑇𐑕 𐑊𐑕 𐑙𐑄𐑕 𐑡𐑂.

Historical Context

Shavian emerged from Shaw’s frustration with English orthography. He published the alphabet in “Androcles and the Lion,” a short play that showcased the new script. Though the alphabet never achieved mass adoption—mainly because the Latin alphabet was deeply entrenched—it remains a fascinating experiment in linguistic reform. The script was first encoded in Unicode in 2009 (Version 5.2), making it accessible on modern operating systems.

Sources and Further Reading

FAQ

How do I install the custom Shavian layout on Ubuntu?

Open a terminal, install xkb-data and xkb-utils, create or copy the shavian symbols file, edit it to map keys to U10450–U1047F codepoints, compile with xkbcomp, and activate with setxkbmap -layout shavian. Add the command to .xprofile for persistence.

Can I use the Shavian layout with a physical keyboard?

Yes. Shavian uses the same physical keys as any other layout; only the key symbols change. After loading the layout, your QWERTY keys will output Shavian glyphs, regardless of whether you use a mechanical, membrane or laptop keyboard.

What software can help me type Shavian quickly?

ShawAlphabet.com offers a web converter and a downloadable keyboard keymap. On Linux, you can use xkbcomp to compile the layout, or install the pre‑compiled ‘shavian’ package via the package manager if available. For on‑screen typing, tools like Onboard or Gnome‑Onboard let you switch to the Shavian layout instantly.

Article reviewedLast updated November 19, 2026. Corrections and source improvements are welcome.