Skip to content

Instantly share code, notes, and snippets.

@ozscosta
Last active May 7, 2022 12:03
Show Gist options
  • Save ozscosta/4012998a26f2f58131240611ccda3f97 to your computer and use it in GitHub Desktop.
Save ozscosta/4012998a26f2f58131240611ccda3f97 to your computer and use it in GitHub Desktop.
Configurar teclado no wslg para qwerty pt-br
#!/bin/bash
# first step, configure your locale
sudo dpkg-reconfigure locales
# on the screen scroll down and choose pt_BR.UTF8
# then next you will do ok and ok, and run this on the command line
sudo update-locale LANG=pt_BR.UTF8
# in the end you run this
setxkbmap -model abnt2 -layout br -variant abnt2
# and don't restart WSL yet, just try...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment