3

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?

2
  • 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 '
    – graham
    Commented Nov 11, 2019 at 12:45
  • Maybe the English (US, intl., with dead keys) layout would fit your needs better. Commented Nov 11, 2019 at 14:55

3 Answers 3

3

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.

2
  • Is there a service that I need to restart in order to apply these changes? Commented Nov 11, 2019 at 15:37
  • Nevermind, switching layout refreshes the map Commented Nov 11, 2019 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.

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

0

With English (UK, intl., with dead keys)/English (US, intl., with dead keys) you can use ` (to the left of 1 key) and press the letter you want to write. Result: à è ì ò ù

With English (intl., with AltGr dead keys) you can use AltGr + ` (to the left of 1 key) and press the letter you want to write. Result: à è ì ò ù

Tested in Ubuntu 22.04 LTS.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .