9

Is there a way to have my US keyboard behaving the same as Windows and Mac when I use an US international keyboard layout?

My current status is:

  • I can type accents on vowels [OK]

  • I can type ç as ' + c on certain apps, like Firefox, but on others I get ć, like Telegram. I'm aware I can use Alt+, instead. [Partially working]

  • I always need to press space after ', otherwise I can't type I'd or it's or anything like that, which is not the case on Windows or Mac. For my language I'm only interested in accents on vowels other than the ç, and if I type a consonant after ' I'd expect to have it immediately show up as '. [Not OK]

Bani
  • 453
  • 2
  • 4
  • 9
  • This ç thing with ALT also plagues me :/ – Tiago César Oliveira Aug 09 '18 at 11:56
  • AltGr+, will give you ç in US International with dead keys. The keyboards are not the same in Windows, Mac and Linux. There are multiple alternatives, choosing between them is rather subjective, each has its pros and cons, but each layout is normally language-orriented. In what language do you need to write? French? Using multiple layouts is the logical way when writing in different languages, but that can be tough when the physical keyboard is too different; hence the "dead keys" version of a given layout trying to provide a compromise. I would recommend https://askubuntu.com/a/1045362/925128 – cipricus Sep 09 '19 at 08:44

8 Answers8

8

I used 'international with AltGr dead keys' or something like that in 16.04. I could keep the right Alt key depressed to add an accent to just a single letter, and have , ' and " work normally otherwise.

In 18.04 it seems hidden. In "Region & Language" I selected a US keyboard first, and then I could add the "English (intl. with AltGr dead keys)" - after which I could remove the plain US keyboard.

Note that I also moved from IBus to XIM method (it's under Manage Installed Languages - ???) while I did that - no idea if that helped with this change, but I could change it back to IBus anyway.

  • 1
    Indeed it's kind of hidden in 18.04, see https://askubuntu.com/questions/1032056/english-us-international-with-dead-keys-missing-on-ubuntu-18-04 – Étienne Sep 01 '18 at 11:09
  • @Bani IMO, this is the best answer. Might you be able to mark this one? – eacousineau May 02 '20 at 20:13
5

The best solution I've found is to have 2 keyboards installed. In my case:

  1. English (US)
  2. English (US, intl. with dead keys)

I use #1 for no accents where I just type "I'd" and get just that. I use #2 for accents. The keyboard can be selected globally or for each individual window (setting/ Region&Language) the option button to the right of input sources.

Super + space changes between the 2 keyboards.

I have no idea how to address your bullet item 2.

Pablo Bianchi
  • 15,657
rkeaing
  • 1,584
3

To answer number 2 - English (US, intl. with AltGr dead keys) works for ç by using the Alt+, (comma) keys. To capitalize you can simply add Shift.

Hope it helps... I too get annoyed switching back and forward from writing in Portuguese and English. By the way, several other special characters show up on this keyboard, make sure to click the little keyboard button under the Add Language selection to see the layout.

1

Use the English (US, international AltGr Unicode combining) keyboard. This enables the AltGr (right alt key) to act as an option to access more characters. However, all characters work normally without having to add a space (this is the AltGr combining behavior rather than dead keys enabled).

jeffmcneill
  • 255
  • 2
  • 8
1

In XUbuntu 18.04:

Open the keyboard window:

enter image description here

Then, Select keyboard layout selection by clicking on Edit and chose the option you like more. In this case English (intl., with AltGr dead keys)

enter image description here

I write this also for myself: for the next laptop, I will have again the same problem and I will search for the solution again and again and again.

Leos313
  • 1,926
1

I had the same problem with AltGr not working and found that in Region & Language you have to Manage Installed Languages and select Keyboard Input Method System to XIM - 18.04 defaults to IBus

John Bell
  • 11
  • 1
  • What exactly will change when changing this? Or rather, what was supposed to happen? I tried and didn't notice a difference – lucidbrot Mar 27 '20 at 16:46
0

I had a similar problem: connecting in ssh with MobaXterm to an Ubuntu 18.04, the AltGr key wasn't working although it was working with other Ubuntu or Centos flavours.

I've fixed that by changing the properties of the terminal from xterm to xterm-r6 .

I do not know what this implies but I'm now happy to not be forced to use ALT+codenumber etc, etc to write a single char. Life is too short! :-)

Zanna
  • 70,465
0
  • install dconf-editor and open it
  • search for key "org.gnome.desktop.input-sources"
  • set "Custom value" to "[('xkb', 'us'), ('xkb', 'us+intl')]"
  • that doesn't help, I already have those layouts and they don't have the behavior I was hoping for. – Bani Sep 21 '20 at 01:38
  • Other layouts that exist include ('xkb', 'us+alt-intl') and ('xkb', 'us+altgr-intl') the latest being the one I was looking for. You can find a list of the layouts by doing:

    man -P cat xkeyboard-config

    – YvesQuemener Dec 30 '20 at 05:14