Skip to content

begbaj/us_it

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

us_it

A X11 US keyboard layout for italians, explained steb by step

Windows Support

us_it now supports Windows 11. You'll find the .klc file in the win directory, and a zip containing a pre-compiled installer.

After installation, if it doesn't work, try to reboot. Yes. Windows never changes.

Fix xkb update on Arch Linux

To fix the following error message:

xkeyboard-config: /usr/share/X11/xkb exists in filesystem

run the following:

sudo mv /usr/share/X11/xkb /usr/share/X11/xkb.bak  # backup the directory  
sudo pacman -Syu

Then reinstall using the install.sh script.

Introduction

We italians all know how annoying it is to switch between two layouts just to type accented characters, while the us layout is still more comfortable for coding.

Documentation

First off, I want to make it clear: I don’t fully understand what’s happening or why it works—but it does. xkb’s documentation is vague and confusing, so I followed this tutorial that roughly outlines the steps.

Since there’s already a tutorial on creating a layout, I won’t explain how I made it—just how to install and use it.

The relevant files are:

  • /usr/share/X11/xkb/symbols/us
  • /usr/share/X11/xkb/rules/base.lst
  • /usr/share/X11/xkb/rules/evdev.lst
  • /usr/share/X11/xkb/rules/base.xml
  • /usr/share/X11/xkb/rules/evdev.xml

To install the new layout, simply replace these files with the ones in the repo. Then go into your keyboard settings and select the layout: US > English (US for Italians).

Here’s what the result looks like: layout

Accented Letters

For accents, just hold AltGr and press the corresponding letter. For example:

  • à = AltGr + a
  • À = AltGr + a (with caps lock on) or AltGr + Shift + a

Same applies to the other vowels.

The only exception is the accented e:

  • é = AltGr + e
  • è = AltGr + Shift + e

To type uppercase É or È, just turn on caps lock.

Resources

About

An English-based keyboard layout with Italian accents support (Windows/Linux)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages