Hi, there’s this issue I’ve been having since forever, about which I can’t find anything useful online. So, maybe someone here knows what’s going on and how to fix this.
I use multiple keyboard layouts, as I write in different languages. My native language (Latvian) has many diacritic marks that are written using a dead key. For example, the default keyboard for Latvian is the normal US QWERTY with a dead key on the apostrophe, which when pressed directly before another letter produces something like “ā”. So far so good. Then I installed an alternative ‘ergonomic’ layout (Latvian Modern) with different key positions. It’s somewhat like a Latvian Dvorak if you will. That one also has the apostrophe as the dead key, however, the apostrophe is now located where ‘H’ is on QWERTY. The weird thing is that, if I switch back to the original Latvian layout, both dead keys produce the diacritic marks. The apostrophe, as well as ‘h’ (if the next key is pressed quickly enough).
On top of that, if I switch to English US QWERTY, both dead keys also have an effect. Normally, if you press a letter and keep it pressed, it keeps printing that letter. Like soooooooo. However, with the keys that are the dead keys in other layouts, this doesn’t happen, the key event is just registered once. Like so: h. This is super annoying when using vim.
So - can anyone shed some light on what might be going on and how to fix this?
P.S. I use gnome.