Open ixrock opened 5 years ago
For those using Ubuntu 20.04. After a long searching I found out that vscode depends on ibus for the accents work on integrated terminal. the workaround :
1.Install ibus: sudo apt install ibus ibus-gtk3
cat <<EOF >ibus.dconf
[general]
preload-engines=['xkb:br::por']
[general/hotkey] triggers=@as []
[panel] show-icon-on-systray=false EOF
3. import it to dconf: `dconf load /desktop/ibus/<ibus.dconf`
4. init ibus with proper config: ` im-config -n ibus`
5. activate ibus on GNOME: `gsettings set org.gnome.desktop.input-sources sources "[('ibus', 'xkb:br::por')]"`
### and now everything is just working fine:
![Seleção_329](https://user-images.githubusercontent.com/16307350/160263549-6f699dab-f9af-462e-8884-fe8f07d8cbac.png)
Now I'm not using Ubuntu 20.04 anymore, I upgraded to Ubuntu 21.10 and VSCode 1.66. I noticed that ibus
and ibus-gtk3
are already installed. I believe that since I reinstalled, I hadn't done the accent test in VSCode terminal. And to my surprise, it now worked normally, without having to change any settings.
To type
~
with Finnish/Swedish keyboard I have to press hotkeyalt+^
:After that it shows something similar to
~
but right after when I press any other character (except Enter) it will erase "pre-tilde" symbol. PressEnter
"converts" to normal ~ and nothing more (without real Enter).I checked how this works with vanilla JS and it seems something wrong at browser-level:
Is it fixable? Wdyt?
Related bugs:
https://github.com/xtermjs/xterm.js/issues/174
Details
Chrome (latest)
MacOS X (latest)
3.14.0
Steps to reproduce