Daily Archives: 24'-03:00'-03:00 February'-03:00 2021

Changing the keyboard layout to ABNT2 in CentOS 8 via terminal

Which of us has never been through the situation of typing a bar and exiting a semicolon in the terminal? Here's a simple tip to change the layout of your keyboard in CentOS 8.

To see your current layout, type with the command:

localectl

In the output of this command, look for the VC Keymap property, which will probably be us. Now, let's change it to the good old ABNT2 keyboard by entering with the command:

localectl set-keymap br-abnt2

One more tip: If you need to see what layouts are available, just sign in with the following command:

list-keymaps localectl

Deepin 20 repositories in Brazil

Brazilian Mirrors for the Deepin v20.

Open the Terminal and typ
e:sudo nano /etc/apt/sources.list

In the file you open, replace all the information with any of the lines below:

Federal University of Paraná (UFPR)

deb[by-hash=force] https://deepin.c3sl.ufpr.br/deepin apricot main contrib non-free

University of São Paulo (USP)

deb[by-hash=force] http://sft.if.usp.br/deepin apricot main contrib non-free

Paulista State University (UNESP)

deb[by-hash=force] http://mirror.unesp.br/deepin apricot main contrib non-free

Federal University of Amazonas (UFAM)

deb[by-hash=force] http://mirror.ufam.edu.br/deepin apricot main contrib non-free

Next, in The Terminal type:s
udo apt update && sudo apt dist-upgrade

Source: @deepinbrasil / Author: Alex Wender