UNIX programming under Windows 10: Dead key issue

Typing the shortcuts to your home directory with the tilde (~) sign, requires an extra space after the character when using an 'US International keyboard' layout which could be rather annoying since I type a lot.

Setting keyboards and languages is a mess under windows GUI settings, luckaly powershell to the rescue (thanks to this reddit post for the suggestion):

# Set some sane defaults (for NL programmer)
Set-WinUserLanguageList en-NL -Force

PS C:\Users\info> Get-WinUserLanguageList
LanguageTag     : en-NL
Autonym         : English (Netherlands)
EnglishName     : English
LocalizedName   : English (Netherlands)
ScriptName      : Latin
InputMethodTips : {2000:00000409}
Spellchecking   : True
Handwriting     : False


# Default keyboard layout of en-NL is 'US International', which includes dead keys
# really annoying for (UNIX) programming input.
PS C:\Users\info> Set-WinUserLanguageList en-NL -Force
PS C:\Users\info> Get-WinUserLanguageList


LanguageTag     : en-NL
Autonym         : English (Netherlands)
EnglishName     : English
LocalizedName   : English (Netherlands)
ScriptName      : Latin
InputMethodTips : {2000:00020409}
Spellchecking   : True
Handwriting     : False


# Change to 'US' to get rid of dead-keys
PS C:\Users\info> $someVar = Get-WinUserLanguageList
PS C:\Users\info> $someVar[0].InputMethodTips.Remove('2000:00020409')
True
PS C:\Users\info> $someVar[0].InputMethodTips.Add('2000:00000409')
PS C:\Users\info> Set-WinUserLanguageList $someVar -Force

PS C:\Users\info> Get-WinUserLanguageList


LanguageTag     : en-NL
Autonym         : English (Netherlands)
EnglishName     : English
LocalizedName   : English (Netherlands)
ScriptName      : Latin
InputMethodTips : {2000:00000409}
Spellchecking   : True
Handwriting     : False

Comments

1. anonymous -- 4 months ago

The dead key issue has been discussed here. UNIX programming and nova resume service have been discussed in detail on this blog page for the help of new students. People who are using windows 10 should visit this site. Thanks for sharing this with us.

2. anonymous -- 4 months ago

I know how hard it is to create a resume, you have to be creative and organize. I am happy because I discovered https://resumecompaniesreview.com/resumes-planet-review/ they helped me a lot to have a good one. I just have to give them the information they need and they will deliver it to you. My employer always notices how good my resume is and they expect so much from me. It is a good thing for me because I love challenges.

3. Mike Rooney -- 4 months ago

Good article, but it would be better if in future you can share more about this subject. Keep posting. https://www.celebsmoviejackets.com/elvis-presley-black-leather-jacket

4. anonymous -- 4 months ago

Programming is now spread in the world and every one has build the interest in it. Reviews

5. David Millar -- 3 months ago

It's always exciting to read articles from other writers and practice something from their web sites.https://www.filmstaroutfits.com/john-dutton-season-3-jacket

6. anonymous -- 3 months ago

I admire this article for the well-researched content and excellent wording. I got so involved in this material that I couldn’t stop reading. I am impressed with your work and skill. Thank you so much. WElcome go to site https://www.titovid.com/

7. anonymous -- 6 weeks ago

Here are some reviews that our customers have written about our products and our site https://popvapereview.shutterfly.com/

Add New Comment