2

I'm trying to use the English (intl. with dead keys AltGr) layout, since I have a US keyboard, but need to write italian text.

The combination of AltGr+accent+letter works fine, but the layout also offers the shortcut AltGr+letter that has the problem that by default outputs vowels with acute accent (á, é, etc), while most italian words use the grave accent (à, è, etc).

Is there a way to change the base layout to use grave accented letters instead?

  • I use the Compose key (in my case, the Right Win key) to do accents. For example é is generated by pressing Right Win (which latches) then e ' – User24601 Nov 11 '19 at 12:45
  • Maybe the English (US, intl., with dead keys) layout would fit your needs better. – Gunnar Hjalmarsson Nov 11 '19 at 14:55
2

You can open the file /usr/share/X11/xkb/symbols/us for editing, go to the xkb_symbols "altgr-intl" variant, and add these modified lines:

    key <AD03> { [     e,          E,        egrave,           Egrave ] };
    key <AC01> { [     a,          A,        agrave,           Agrave ] };

The change should be effective instantly. Please note that you may need to redo it if the xkb-data package is updated.

| improve this answer | |
  • Is there a service that I need to restart in order to apply these changes? – Matteo Riva Nov 11 '19 at 15:37
  • Nevermind, switching layout refreshes the map – Matteo Riva Nov 11 '19 at 15:42
0

We've tried to address this problem in the 'new' version of altgr-intl. Refer to this webpage for an explanation. The 'ground' rules:

acute versions on the key itself: a→á e→é i→í o→ó u→ú
diaeresis versions below-right of key: d→ë k→ï l→ö j→ü
grave versions available right of key: s→à r→è p→ò
all (sensible) variants ordered as close or ergonomically appropriate to the vowel as possible

Instructions on how to install this layout at the bottom of mentioned page.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.