Skip to content

Instantly share code, notes, and snippets.

@1player
Created September 12, 2025 10:10
Show Gist options
  • Select an option

  • Save 1player/adb5dcbf80175263ccb89614307647e4 to your computer and use it in GitHub Desktop.

Select an option

Save 1player/adb5dcbf80175263ccb89614307647e4 to your computer and use it in GitHub Desktop.
Easy Italian accents on any keyboard layout (Linux)
# If you need to a more ergonomic way to write Italian accents
# on a keyboard which doesn't have them natively, this might help.
# It requires you to set a Compose key (I use the Menu key) on your system
#
# There are only 6 accented vowels in Italian, àèìòù and é
# With this setup, for the first five, you only have to press
# Compose + vowel + vowel (i.e. à is Compose + a + a)
#
# For é I use Compose + e + i because on my keyboard layout
# "e" and "i" are close to each other, on QWERTY
# you might want to use "e" and "r"
#
# Save as ~/.XCompose
include "%L"
<Multi_key> <a> <a> : "à"
<Multi_key> <e> <e> : "è"
<Multi_key> <e> <i> : "é"
<Multi_key> <u> <u> : "ù"
<Multi_key> <o> <o> : "ò"
<Multi_key> <i> <i> : "ì"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment