WSL2 Link para o cabeçalho


Fontes Link para o cabeçalho

Corrige problemas com fontes no GUI do Emacs.

sudo apt update
sudo apt upgrade
sudo apt install fontconfig fonts-hack-ttf

ln -s /mnt/c/Windows/Fonts ~/.fonts
fc-cache -fv

Teclado ABNT2 Link para o cabeçalho

Sempre iniciar o terminal do WSL2 antes do Emacs, essa é a única solução que funciona no momento

sudo apt install x11-xkb-utils
sudo dpkg-reconfigure locales #Descer a lista e ativar pt_BR.UTF8 e pt_BR.ISO
sudo update-locale LANG=pt_BR.UTF8

echo "setxkbmap -model abnt2 -layout br -variant abnt2" >> ~/.profile
echo "setxkbmap -model abnt2 -layout br -variant abnt2" >> ~/.zshrc

# Set wayland to user xkbmap
echo "WAYLAND_DISPLAY=\"wayland-1\"" >> ~/.profile
echo "WAYLAND_DISPLAY=\"wayland-1\"" >> ~/.zshrc

Emacs Link para o cabeçalho


sudo apt update
sudo apt upgrade

sudo apt install git emacs sqlite3 libsqlite3-dev
git clone https://github.com/syl20bnr/spacemacs ~/.emacs.d

# Minha configuração do spacemacs
git clone https://github.com/RebertiCS/spacemacs-dotfiles.git ~/.spacemacs.d

Python Link para o cabeçalho

LSP Link para o cabeçalho

pip install -U pip
pip install flake8 isort yapf importmagic autoflake 'python-lsp-server[all]'