Skip to content

kokoye2007/myanmar-linux-keyboards

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

9 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Myanmar Linux Keyboards

License: MIT GitHub release GitHub issues GitHub stars Ubuntu Fedora Arch

Complete keyboard layout package for Myanmar scripts on Linux systems. Supporting all major Myanmar languages with multiple input methods.

๐ŸŒ Languages Supported

Language ISO Code Script Status Keyboards
๐Ÿ‡ฒ๐Ÿ‡ฒ Burmese (Myanmar) my Myanmar โœ… Complete Standard, Zawgyi
๐Ÿ“œ Mon mnw Myanmar โœ… Complete Standard, A1
๐Ÿ”๏ธ Shan shn Myanmar โœ… Complete Standard, Zawgyi
๐ŸŒพ Karen (Sgaw) ksw Myanmar โœ… Complete Kawthoolei
๐ŸŒพ Karen (Eastern Pwo) kjp Myanmar โœ… Complete Unicode
๐ŸŒพ Karen (Western Pwo) pwo Myanmar โœ… Complete Kawthoolei
๐Ÿ”๏ธ Kayah kyu Myanmar ๐Ÿšง Planned -

๐Ÿš€ Quick Installation

Install All Keyboards

# Clone repository
git clone https://github.com/kokoye2007/myanmar-linux-keyboards.git
cd myanmar-linux-keyboards

# Install all XKB layouts (system-level)
sudo ./installers/install-all-xkb.sh

# Install all ibus-table input methods
sudo ./installers/install-all-ibus.sh

Install Specific Language

# Install only Karen keyboards
sudo ./installers/install-specific.sh karen

# Install only Mon keyboards  
sudo ./installers/install-specific.sh mon

# Install only Shan keyboards
sudo ./installers/install-specific.sh shan

Interactive TUI Installer

For a guided installation experience, use our Text-based User Interface installer:

# Run the interactive TUI installer
sudo ./installers/tui-installer.sh

The TUI installer provides an easy-to-use menu system that allows you to:

  • Choose between XKB layouts, IBus tables, or both
  • Select specific languages to install
  • Get real-time feedback during installation

โŒจ๏ธ Input Methods Available

XKB Layouts (System-level)

  • Integrates with desktop environment
  • Works across all applications
  • Standard Linux keyboard layout system
  • Usage: setxkbmap mm <variant>

ibus-table (Input Method)

  • Direct character mapping
  • No candidate selection needed
  • Windows KLC compatible behavior
  • Usage: Add via Settings โ†’ Input Sources

KeyMagic (Advanced)

  • Automatic ligature generation
  • Smart character corrections
  • Context-aware input
  • Usage: Install KeyMagic + load .kms files

๐ŸŽฏ Character Access Examples

Common Patterns (All Languages)

Numbers: 1-9,0 โ†’ แ-แ‰,แ€ (Myanmar digits)
Basic:   q,w,e,r,t โ†’ แ€†,แ€,แ€”,แ€™,แ€ก (consonants)
Vowels:  d,g,k,l โ†’ แ€ญ,แ€ซ,แ€ฏ,แ€ฐ (vowel signs)
Marks:   f,h,j โ†’ แ€บ,แ€ท,แ€ผ (diacritics)

Language-Specific Characters

Karen (Eastern Pwo):

P โ†’ แ€…, Shift+P โ†’ แฎ (nna)
[ โ†’ แ€Ÿ, Shift+[ โ†’ แฏ (ywa)  
] โ†’ โ˜†, Shift+] โ†’ แฐ (ghwa)

Karen (Western Pwo):

R โ†’ แ€™, Shift+R โ†’ แฉ (tone-1)
T โ†’ แ€ก, Shift+T โ†’ แช (tone-2)
A โ†’ แฆ (pwa), Shift+A โ†’ แก (sha)

Karen (Sgaw):

Q โ†’ แ€†, Shift+Q โ†’ แก (sha)
E โ†’ แ€”, Shift+E โ†’ แข (eu)
R โ†’ แ€™, Shift+R โ†’ แค (kepho)

Mon:

I โ†’ แš (mon nga)
B โ†’ แœ (mon bba)

Shan:

U โ†’ แฅ (shan tone)
Specific Shan characters and tone marks

๐Ÿ“ฑ Desktop Integration

GNOME

  1. Settings โ†’ Region & Language โ†’ Input Sources
  2. Click "+" โ†’ Other โ†’ Select Myanmar script
  3. Choose your language variant
  4. Switch: Super + Space

KDE Plasma

  1. System Settings โ†’ Input Devices โ†’ Keyboard โ†’ Layouts
  2. Add โ†’ Myanmar โ†’ Select variant
  3. Switch: Alt + Shift

XFCE

  1. Settings โ†’ Keyboard โ†’ Layout
  2. Add โ†’ Myanmar โ†’ Select variant
  3. Configure switching hotkey

๐Ÿ› ๏ธ Development

Building from Source

# Generate XKB layouts
cd scripts/
./build-xkb.sh

# Generate ibus-table files
./build-ibus.sh

# Test layouts
./test-layouts.sh

Contributing

  1. Fork the repository
  2. Create feature branch: git checkout -b feature/new-language
  3. Commit changes: git commit -am 'Add new language support'
  4. Push branch: git push origin feature/new-language
  5. Submit Pull Request

Adding New Languages

  1. Create language directory in scripts/
  2. Add XKB symbols file
  3. Create ibus-table definition
  4. Add KeyMagic script (optional)
  5. Update installers and documentation

๐Ÿ“‹ System Requirements

Supported Distributions

  • Ubuntu 20.04+ / Debian 11+
  • Fedora 35+ / CentOS 8+
  • Arch Linux / Manjaro
  • openSUSE Leap 15.3+

Required Packages

# Ubuntu/Debian
sudo apt install xkb-data ibus-table

# Fedora
sudo dnf install xkeyboard-config ibus-table

# Arch Linux
sudo pacman -S xkeyboard-config ibus-table

Recommended Fonts

# Install Myanmar Unicode fonts
sudo apt install fonts-noto-myanmar fonts-myanmar  # Ubuntu
sudo dnf install google-noto-sans-myanmar-fonts    # Fedora
sudo pacman -S noto-fonts                          # Arch

๐Ÿ› Troubleshooting

XKB Issues

# Check current layout
setxkbmap -query

# Reset to US layout
setxkbmap us

# Clear XKB cache
sudo rm -f /var/lib/xkb/*.xkm

# Restart display manager
sudo systemctl restart gdm  # or sddm/lightdm

ibus Issues

# Restart ibus
ibus restart

# Check available engines
ibus list-engine | grep myanmar

# Debug mode
ibus-daemon -drx

Character Display Problems

  1. Install Myanmar Unicode fonts
  2. Check system language support
  3. Verify font fallback configuration
  4. Test with different applications

๐Ÿ“š Documentation

๐Ÿค Community

Communication

  • Issues: Bug reports and feature requests
  • Discussions: General questions and ideas
  • Wiki: Community documentation
  • Releases: Stable versions and changelogs

Contributors

  • Language experts and native speakers
  • Linux distribution maintainers
  • Unicode and typography specialists
  • Community translators

Acknowledgments

  • Myanmar Unicode Initiative - Standardization efforts
  • KNU (Karen National Union) - Karen layout specifications
  • Mon Language Project - Mon script expertise
  • Shan Digital Heritage - Shan keyboard layouts
  • Linux Internationalization Community - Technical foundation

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

Font Licenses

Recommended fonts have their own licenses:

  • Noto Sans Myanmar: SIL Open Font License
  • Myanmar3: Custom license
  • Padauk: SIL Open Font License

๐ŸŒŸ Star History

Star History Chart


Made with โค๏ธ for the Myanmar digital community

Supporting linguistic diversity and digital inclusion across all Myanmar languages.

Releases

No releases published

Packages

 
 
 

Contributors

Languages