Last active
September 13, 2025 21:13
-
-
Save claudemirtech/ead2af7dda7905eb78735b50dfdb4e50 to your computer and use it in GitHub Desktop.
Mapear ponto suara pro ubuntu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # lista todas as teclas mapeadas | |
| xmodmap -pke | |
| # Para encontrar o keycode exato de uma tecla, use: | |
| xev | grep keycode # pressione a tecla desejada | |
| # keycode 91 = KP_Delete KP_Separator KP_Delete KP_Separator | |
| # xmodmap -e "keycode 91 = KP_Delete KP_Separator KP_Delete KP_Separator" | |
| # xmodmap -e "keycode 91 = KP_Separator period KP_Separator period" | |
| # 1. Crie um arquivo .Xmodmap no seu diretório home: | |
| echo "keycode 91 = KP_Separator period KP_Separator period" >> ~/.Xmodmap | |
| # 2. Adicione ao seu startup (.xinitrc ou configurações de autostart) para carregar automaticamente: | |
| xmodmap ~/.Xmodmap | |
| # 3. Edite ou crie o arquivo ~/.xprofile | |
| vi ~/.xprofile | |
| # 4. Adicione a linha: | |
| [ -f ~/.Xmodmap ] && xmodmap ~/.Xmodmap |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment