Computing

How to Build a Shavian Keyboard Layout for Raspberry Pi

Learn how to create a Shavian keyboard layout on Raspberry Pi, transliterate English to the 48‑letter phonetic alphabet, and use ShawAlphabet.com tools to practice typing. This beginner guide covers Unicode, layout design, common mistakes,…

Shavian is a phonetic alphabet that turns English spelling into a predictable system. ShawAlphabet.com offers a complete set of tools – converters, fonts, and learning resources – that make the alphabet accessible to anyone. In this guide you’ll discover how to translate English into Shavian, how to build a custom Shavian keyboard layout on a Raspberry Pi, and why the alphabet matters.

Explanation: What Is the Shavian Alphabet and Why Was It Created?

The Shavian alphabet, named after playwright George Bernard Shaw, was designed in 1908 to replace the inconsistent 26‑letter Latin alphabet with a 48‑letter system that maps each grapheme to a single phoneme. Shaw believed that a purely phonetic script would eliminate spelling errors, simplify literacy, and make English more logical.

Visual Example: English Words vs Shavian Equivalents

English Shavian
house ⱠⱤⱡⱞⱟ
Shavian ⱢⱤⱠⱢⱟ
computer ⱠⱨⱧⱢⱞⱟⱢⱞ
phonetics ⱥⱰⱤⱠⱧⱞⱧⱟⱦ
alphabet ⱢⱠⱤⱠⱞⱟⱢⱞ

How It Works: Phonetic Spelling System and the 48 Letters

Shavian contains 24 consonants, 12 vowels, and 12 ligatures that combine two sounds. Each letter occupies a unique Unicode code point from U+10450 to U+1047F. The system is fully phonemic: the same sound is always written with the same grapheme, regardless of word position or surrounding letters.

  • Consonants: 24 symbols covering stops, fricatives, nasals, liquids, and glides.
  • Vowels: 12 symbols representing front, central, back, and rounded qualities.
  • Ligatures: 12 digraphs such as Ɫⱟ (sh) and ⱦⱟ (th).

Building a Shavian Keyboard Layout on Raspberry Pi

Raspberry Pi runs a Linux distribution (e.g., Raspbian), so you can build an XKB layout that maps your physical keys to Shavian Unicode points.

  1. Create a directory /usr/share/X11/xkb/symbols and add a file named shavian with the following content:

  2. // Shavian layout – mapping QWERTY to Shavian
    define “shavian” {
    xkb_symbols “basic” {
    name[Group1] = “Shavian”;
    key { [ Escape ] };
    key { [ 1, 1 ] };
    key { [ 2, 2 ] };
    key { [ 3, 3 ] };
    // … map each letter key to its Unicode point
    key { [ 0x10450, 0x10450 ] }; // Ⱡ
    key { [ 0x10451, 0x10451 ] }; // ⱡ
    // continue for all 48 letters
    };
    };
  3. Compile the layout: sudo xkbcomp /usr/share/X11/xkb/symbols/shavian /usr/share/X11/xkb/symbols/shavian.xkb
  4. Activate the layout: setxkbmap -layout shavian

Once the layout is active, pressing the QWERTY key that corresponds to a Shavian letter will output the appropriate Unicode character.

Using ShawAlphabet.com Converter & Keyboard Tools

ShawAlphabet.com hosts a web‑based Shavian Converter that automatically transliterates typed English into Shavian. While you type on your Pi, you can copy the output or use the site’s on‑screen keyboard to learn key positions.

Tip: Download the Shavian font and install it on your Pi to display Shavian characters correctly.

Common Mistakes Beginners Make

  • Confusing Ⱡ (ʔ) with ⱡ (p) – they look similar but represent different sounds.
  • Writing r as Ɫ (ɹ) instead of ⱦ (ɹ) for the /r/ sound in some dialects.
  • Forgetting ligatures; e.g., writing sh as Ⱡⱬ instead of Ɫⱟ.
  • Using the Latin ‘e’ instead of the Shavian vowel ⱟ.
  • Mixing uppercase and lowercase incorrectly – Shavian uses case only for proper nouns.

Practical Exercise

Convert the sentence “The quick brown fox jumps over the lazy dog” into Shavian. Use the table below as a reference.

English Shavian
the ⱦⱟ
quick ⱤⱠⱠⱧ
brown ⱢⱠⱧⱞⱟ
fox ⱠⱠⱞ
jumps ⱥⱟⱞⱠⱠ
over ⱠⱠⱢⱞ
lazy ⱠⱠⱞⱟ
dog ⱠⱤⱞ

Answer: ⱦⱟ ⱤⱠⱠⱧ ⱢⱠⱧⱞⱟ ⱠⱠⱞ ⱥⱟⱞⱠⱠ ⱠⱠⱢⱞ ⱦⱟ ⱠⱠⱞⱟ ⱠⱤⱞ

Historical Context

George Bernard Shaw commissioned the alphabet in 1908, publishing the first book using it – Androcles and the Lion – in 1908. The alphabet aimed to promote literacy and linguistic equality. Though never adopted widely, it inspired later phonetic scripts such as the International Phonetic Alphabet.

Limitations or Controversies

Despite its elegance, Shavian never gained traction because:

  • English orthography was deeply entrenched.
  • Printing presses were built for Latin script.
  • Education systems resisted change.
  • There is limited software support outside niche communities.

Critics argue that a new script creates a barrier for readers already accustomed to Latin letters.

Sources and Further Reading

  • ShawAlphabet.com – official site
  • Shavian Wikipedia page – Shavian alphabet
  • George Bernard Shaw Society – historical documents
  • Unicode Consortium – Shavian block details
  • “Phonetic Scripts and Literacy” – academic journal article

FAQ

What is the difference between Shavian and the Latin alphabet?

Shavian uses 48 unique symbols that each represent a single English phoneme, whereas the Latin alphabet has 26 letters that often represent multiple sounds or rely on context. This phonemic consistency eliminates spelling ambiguity.

How can I type Shavian characters on my Raspberry Pi?

Install the Shavian font, create an XKB layout file that maps QWERTY keys to Shavian Unicode points, compile with xkbcomp, and activate the layout with setxkbmap. After that, typing any key outputs the corresponding Shavian character.

Why hasn't Shavian been widely adopted?

Its adoption was hindered by the entrenched Latin orthography, lack of printing infrastructure, educational resistance, and limited software support. Consequently, it remains a niche script used mainly by enthusiasts.

Article reviewedLast updated August 14, 2026. Corrections and source improvements are welcome.