Linux.com: Creating Custom Keyboard Layouts for X11 using XKB

Written By
Web Webster
Web Webster
Jun 11, 2004

“In most modern desktop environments there is a small applet
that allows users to quickly switch between keyboard layouts when
they need to type text in more than one language. However, there
are situations where this solution is not quite satisfactory. Some
writing jobs (that of a translator, for example) require writing
text in which words from several languages are intermixed, which
would make frequent switches between keyboard layouts necessary.
This is a big inconvenience, even when keyboard shortcuts are used
to switch between layouts. Another problem is that the logical
keyboard layouts used may sometimes not fit the physical keyboard
layout very well, resulting in a confusing setup.

“One solution is to use layouts with so called dead keys. This
is a way of generating accented characters by first pressing a key
which corresponds to the accent (the dead key) and then a letter
key (e.g. pressing ~ and then n generates ñ)…”

Advertisement

Complete
Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.