Created
September 3, 2025 04:11
-
-
Save danilogco/c2eefc066d63fe7d6f49ce18a9c40037 to your computer and use it in GitHub Desktop.
Revisions
-
danilogco created this gist
Sep 3, 2025 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,30 @@ sudo cp /usr/share/X11/xkb/symbols/us /usr/share/X11/xkb/symbols/us_shiftaccents sudo nano /usr/share/X11/xkb/symbols/us_shiftaccents # No arquivo, adicione uma nova variante que herde do us(intl): partial alphanumeric_keys xkb_symbols "shift_accents" { include "us(intl)" // Acentos com Shift key <AC01> { [ a, A, aacute, Aacute ] }; // A key <AC02> { [ s, S, s, S ] }; // S key <AC03> { [ d, D, d, D ] }; // D key <AD03> { [ e, E, eacute, Eacute ] }; // E key <AC07> { [ o, O, otilde, Otilde ] }; // O key <AC08> { [ u, U, uacute, Uacute ] }; // U key <AC08> { [ k, K, k, K ] }; // K sem acento key <AC07> { [ c, C, ccedilla, Ccedilla ] }; // C // Outros acentos podem ser adicionados da mesma forma }; # Editar /etc/default/keyboard XKBLAYOUT="us_shiftaccents" XKBVARIANT="shift_accents" XKBOPTIONS="" setxkbmap -option lv3:ralt_switch