You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Slovenian keyboard layout, and there are problems inputting characters that require AltGr (this includes , |, {, }, [, ]). Sometimes the character appears properly, other the terminal just beeps.
Reacted by Gustav Westling, Sam Neirinck, Attila Szeremi, Stephan, Zommuter and Francisco Angelo Cabelo
I think the problem is with ubuntu keyboard layout. Did you tried change that?
Probably something like this will help-
in bash type & install:
apt-get install console-common
Then you need reconfigure keyboard layout.
Try reboot PC.
There is many problems with this, I tried many methods, most of them don't work.
Same problem here with a French layout (azerty). I noticed that when bash is run from ConEmu, special characters are input correctly. Though arrow keys don't work anymore :(
Same issue with Danish keyboard layouts. I think this is an issue with the newly improved Windows Console Host, it only seems to support US layouts for now. Additionally, using an alternative console like ConEmu doesn't seem to work either (specifically arrow keys, del, ins, home etc.), presumably since bash.exe depends on some of those console host improvements.
Some kind of workaround: I noticed that pressing AltGr + 5 (that is [ on my french keyboard) then the desired combination (eg. AltGr + 6 for |) will input the character correctly. A bit tedious, though.
Reacted by Fredrik Boulund, Yngvar Johnsen, Fabian Löschner, Bryan Iotti, Dimitri Guala, Miguel C, Sam Neirinck, twinstef, Hamdi Akoğuz, edreess and 2 more
Reacted by Mikael O. Bonnier, smolleyes, Jacinto Ramirez Lahti and Hamdi Akoğuz
This laptop has Swedish keyboard. It's only when using Bash I have this problem not Cmd, that AltGr doesn't work for typing @£${[]}~|. Swedish characters also doesn't work åäöÅÄÖ even though they don't use AltGr.
I'm on a desktop with Swedish keyboard, experiencing the same issues as other people in this thread.
I noticed however that Etienne Baratte (@ebaratte)'s solution, typing AltGr+5 allows you to press a subsequent combination (e.g. the pipe character; reachable on my keyboard as AltGr+< (the key left of Z, to the immediate right of my left shift key).
This solution does not work for producing ÅÄÖ though... Also, when printing left bracket "[", the printed character isn't shown until the next key press (i.e. like thilde "~" or grave accent "`" normally does). Another interesting thing to note is that typing thilde (AltGr+¨, the key top left of Enter, to the right of Å) actually works without typing AltGr+5...
Reacted by per-lennartsson, Alexander Berg, Fabian Löschner and Dimitri Guala
I also have this issue with a french layout, and it is still present in build 14328.
AltGr basically does not do its job when the terminal is running bash. Works fine as usual when cmd is running.
Note that trying to paste non-ascii characters in the console when bash is running also does not work.
Using ConEmu instead of the console let ascii characters be written with the keyboard including with AltGr key, but unlike on the previous build non-ascii characters now can not be entered at all, including under ConEmu.
I have the exact same issue as Tedd (@tedd) with the Norwegian keyboard. AltGr+2 does not produce @ as expected, nor does AltGr+3 produce £, but instead a square �. This is with all Windows updates installed and Windows Bash installed for the first time today.
Gents, I know related existed on Japanese, Chinese ( simplified ), and
Korean last I checked.
I've seen a lot of updates recently, so I can rebuild the environment and
follow this protocol and see if the errors persist.
Thought I'd chime in with my findings on this. Turns out Asus GPU TweakII I have installed has global keyboard shortcut enabled for AltGr+2 (for the @ character). This introduces a slight delay in other programs when typing the keyboard combination as well, but the @ does show up. However, it seems like this slight delay somehow affects Windows Bash, as the character never appears.
Disabling the keyboard shortcut in Asus GPU TweakII resolved the problem in Windows Bash for me, but it seems like this could possibly be improved regardless (since, as mentioned, @ did show up after a small delay in regular applications).
I have an Italian Layout ,
I am not able to pass any to bash Alt+/[digit]+/ or AltGr+/[digit]+/ sequemce .
For ex. Tilde ~ , via ALT+126 ,
copy/paste also does not work .
On Windows 10 Pro version 1703 build 15063.483
In Bash :
uname -a
Linux mypc 4.4.0-43-Microsoft #1-Microsoft Wed Dec 31 14:42:53 PST 2014 x86_64 x86_64 x86_64 GNU/Linux
lxd --version
2.0.10
I'm able to use altGr for everything except the top-left key on my keyboard; I have a custom version of the Swedish keyboard that replaces the default function of that key (which is usually §, ½, and no altGr character) to <, >, and |. The greater than/less than symbols work. However, when trying to input |, it inputs the § character instead.
Running NeoVim for windows in a cmd.exe in Windows Terminal, I cannot type a $ sign (AltGr+4) inside NeoVim. It does not work in the legacy cmd.exe terminal either.
Activity
trapframe commentedon Apr 7, 2016
same thing with a french keyboard
christoh commentedon Apr 7, 2016
same with german keyboard AltGr (right alt key) doesn't work
alorle commentedon Apr 7, 2016
In Spanish, in addition to these symbols (eg '|'), you can not put accent marks
patryk9200 commentedon Apr 7, 2016
I think the problem is with ubuntu keyboard layout. Did you tried change that?
Probably something like this will help-
in bash type & install:
paulomorgado commentedon Apr 8, 2016
The same happens with the portuguese layout.
But it's strange because, usually, **Alt _+ ( _Num6, **Num4 _) is a good replacement for _AltGr+2 to get @, but not in this case.
ebaratte commentedon Apr 8, 2016
Same problem here with a French layout (azerty). I noticed that when bash is run from ConEmu, special characters are input correctly. Though arrow keys don't work anymore :(
Ordspilleren commentedon Apr 8, 2016
Same issue with Danish keyboard layouts. I think this is an issue with the newly improved Windows Console Host, it only seems to support US layouts for now. Additionally, using an alternative console like ConEmu doesn't seem to work either (specifically arrow keys, del, ins, home etc.), presumably since bash.exe depends on some of those console host improvements.
ebaratte commentedon Apr 8, 2016
Some kind of workaround: I noticed that pressing
AltGr + 5(that is[on my french keyboard) then the desired combination (eg.AltGr + 6for|) will input the character correctly. A bit tedious, though.jernejs commentedon Apr 8, 2016
I haven't noticed any such problems in cmd.
paulomorgado commentedon Apr 8, 2016
Nor the PowerShell console. It's only on the bash console.
mobluse commentedon Apr 9, 2016
This laptop has Swedish keyboard. It's only when using Bash I have this problem not Cmd, that AltGr doesn't work for typing @£${[]}~|. Swedish characters also doesn't work åäöÅÄÖ even though they don't use AltGr.
I tried this but it didn't work:
An idea is to have some script similar to raspi-config to configure keyboard etc, since normally in Ubuntu this is done using GUI tools, see https://github.com/RPi-Distro/raspi-config/blob/master/raspi-config
boulund commentedon Apr 10, 2016
I'm on a desktop with Swedish keyboard, experiencing the same issues as other people in this thread.
I noticed however that Etienne Baratte (@ebaratte)'s solution, typing AltGr+5 allows you to press a subsequent combination (e.g. the pipe character; reachable on my keyboard as AltGr+< (the key left of Z, to the immediate right of my left shift key).
This solution does not work for producing ÅÄÖ though... Also, when printing left bracket "[", the printed character isn't shown until the next key press (i.e. like thilde "~" or grave accent "`" normally does). Another interesting thing to note is that typing thilde (AltGr+¨, the key top left of Enter, to the right of Å) actually works without typing AltGr+5...
xilun commentedon Apr 22, 2016
I also have this issue with a french layout, and it is still present in build 14328.
AltGr basically does not do its job when the terminal is running bash. Works fine as usual when cmd is running.
xilun commentedon Apr 23, 2016
Note that trying to paste non-ascii characters in the console when bash is running also does not work.
Using ConEmu instead of the console let ascii characters be written with the keyboard including with AltGr key, but unlike on the previous build non-ascii characters now can not be entered at all, including under ConEmu.
28 remaining items
asteinlein commentedon Jan 13, 2017
I have the exact same issue as Tedd (@tedd) with the Norwegian keyboard. AltGr+2 does not produce @ as expected, nor does AltGr+3 produce £, but instead a square �. This is with all Windows updates installed and Windows Bash installed for the first time today.
sunilmut commentedon Jan 13, 2017
Anders Elieson Steinlein (@asteinlein) - This is a long post and difficult to keep track now. For quicker resolution, can you please open a new issue, following the template?
wayne-kirk-schmidt commentedon Jan 17, 2017
asteinlein commentedon Feb 7, 2017
Thought I'd chime in with my findings on this. Turns out Asus GPU TweakII I have installed has global keyboard shortcut enabled for AltGr+2 (for the @ character). This introduces a slight delay in other programs when typing the keyboard combination as well, but the @ does show up. However, it seems like this slight delay somehow affects Windows Bash, as the character never appears.
Disabling the keyboard shortcut in Asus GPU TweakII resolved the problem in Windows Bash for me, but it seems like this could possibly be improved regardless (since, as mentioned, @ did show up after a small delay in regular applications).
kappa77 commentedon Aug 1, 2017
I have an Italian Layout ,
I am not able to pass any to bash Alt+/[digit]+/ or AltGr+/[digit]+/ sequemce .
For ex. Tilde ~ , via ALT+126 ,
copy/paste also does not work .
On Windows 10 Pro version 1703 build 15063.483
In Bash :
uname -a
Linux mypc 4.4.0-43-Microsoft #1-Microsoft Wed Dec 31 14:42:53 PST 2014 x86_64 x86_64 x86_64 GNU/Linux
lxd --version
2.0.10
w-biggs commentedon Feb 13, 2018
I'm able to use altGr for everything except the top-left key on my keyboard; I have a custom version of the Swedish keyboard that replaces the default function of that key (which is usually §, ½, and no altGr character) to <, >, and |. The greater than/less than symbols work. However, when trying to input |, it inputs the § character instead.
s10g commentedon Mar 8, 2020
Running NeoVim for windows in a cmd.exe in Windows Terminal, I cannot type a $ sign (AltGr+4) inside NeoVim. It does not work in the legacy cmd.exe terminal either.
marcmarina commentedon Dec 4, 2020
I have this issue, I'm using WSL 1 with a Spanish layout.
Fix CVE-2026-26127: bump .NET runtime from 10.0.0 to 10.0.4
Fix CVE-2026-26127: bump .NET runtime from 10.0.0 to 10.0.4
Fix CVE-2026-26127: bump .NET runtime from 10.0.0 to 10.0.4 (#14421)
merge master -> feature/wsl-for-apps (#14465)
merge master -> feature/wsl-for-apps (#14537)
Merge latest master into feature/wsl-for-apps (#40254)
Add WSLCVolumes class to track volumes with Docker event-driven synch…