Cannot type symbols on dead keys (e.g., to write ', ", or ^)

80 visualizaciones (últimos 30 días)
Andreas
Andreas el 23 de Mzo. de 2023
Respondida: Franklin Ronald el 28 de Jul. de 2025
Using MATLAB R2022b Update 5 on Fedora Linux 37, but also confirmed not working on Ubuntu 22.04. I cannot write symbols that are on "dead keys", such as ', ", or ^. Normally, I would press the key and then space and the character appears, but now, only a space is inserted. It does work when switching to a keyboard layout that does not contain such dead keys (e.g., US International). Is this a bug or a problem on my side? I could not find anything about this issue.
  7 comentarios
Luis Henríquez
Luis Henríquez el 15 de Jun. de 2025
Editada: Luis Henríquez el 15 de Jun. de 2025
Similar problem in MATLAB 2025a (OpenSUSE 15.6, Spanish keyboard) when dark theme desktop is used, the caret symbol can not be typed.
No idea what to do.
Sebastián Gómez Jorge
Sebastián Gómez Jorge el 24 de Jun. de 2025
same issue, latin america layout and I can't type any symbols no mather the theme. I'm using linux mint

Iniciar sesión para comentar.

Respuestas (4)

Tommi Heikkilä
Tommi Heikkilä el 26 de Abr. de 2023
I had the same issue with MATLAB R2023a, Finnish keyboard and Ubuntu 22.04. The workaround for the issue was the same as here: https://ubuntuforums.org/showthread.php?t=1911860
In Ubuntu settings I set the keyboard to 'Finnish (classic, no dead keys)' instead of 'Finnish' and now the keys work fine in Matlab.
Of course the behaviour is also slightly different: the symbols '¨ ^ ~' are typed straight away instead of being able to write accented characters but to me it's no big deal.
  2 comentarios
Andreas
Andreas el 26 de Abr. de 2023
That's also the solution I used (select a keyboard layout without dead keys). Still, it'd be nice if this were fixed.
Tommi Heikkilä
Tommi Heikkilä el 26 de Abr. de 2023
Yes, there is definitely something wrong with how Matlab or Ubuntu currently treats the dead keys because they used to work just fine. I just wanted to offer a workaround / bandaid solution because it is a super annoying problem.

Iniciar sesión para comentar.


Cris LaPierre
Cris LaPierre el 26 de Mzo. de 2023
If those keys are only not working in MATLAB, please report this as a bug to customer support: https://www.mathworks.com/support/contact_us.html
  7 comentarios
Antonio Sala
Antonio Sala el 14 de En. de 2024
This bug seems to have been resolved in 24a prerelease... Well it's still unreleased/beta so who knows if fixing something else will break that again but, for the moment being, there is hope in the horizon.
Ramz
Ramz el 29 de Mayo de 2024
Editada: Ramz el 29 de Mayo de 2024
I tried the MATLAB 24a pre release and the 24a official release but the problem was still there for me on Ubuntu 22.04. With a normal (German) keyboard, either "normal" keyboard settings and also "no dead key" settings all result in some weird state change that after a bracket { or [ i can not continue typing unless i press escape or click on the cursor. It is really annoying, disturbing the workflow. Also If by accident the esc key is pressed twice or to long, all previously typed text on the commandline dissapears. Later i found that this could be solved for me by using: com.mathworks.desktop.mnemonics.MnemonicsManagers.get.disable
The problem was that to write brackets and other characters the Alt Gr key was necessary, but this was some how assigned to other short cuts, not visible in the short cut menu.

Iniciar sesión para comentar.


Daniel
Daniel el 16 de Jun. de 2024
I had the same problem with Ubuntu 24.04 and MATLAB R2024a.
To solve it, I just start matlab as super user with the command "sudo ./matlab" from the folder ......../MATLAB/R2024a/bin

Franklin Ronald
Franklin Ronald el 28 de Jul. de 2025
Same issue with Fedora 42 and MATLAB R2025a.
The Classic UI (written in Java) did not have this problem, while the new desktop (HTML+JS) has always exhibited this problem since the beta.
It is clear that the issue lies in the Qt layer that hosts MATLAB’s webview, because when using it via the browser (https://matlab.mathworks.com), the problem does not occur.

Categorías

Más información sobre Entering Commands en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by