Posts: 15
goro.ddaimonx
Joined: 04 Jun 2016
#1
My notebook uses PTBR layout but the keyboard in control center gives me only one option to portuguese. That runs wrong in my keyboard please help me.
Last edited by goro.ddaimonx on 10 Dec 2016, 22:52, edited 1 time in total.
Posts: 64
reverseDog
Joined: 13 Jul 2016
#2
If you want to change keyboard layout for the current session only, it will do to run

Code: Select all

setxkbmap br
on command line.

But probably you're looking for a permanent setting. In that case there are two alternatives I know of: Either edit the file / etc/default/keyboard with root permission and change the line starting with"XKBLAYOUT" to

Code: Select all

XKBLAYOUT="br,us"
Or use the the keyboard setting tool

Code: Select all

sudo dpkg-reconfigure keyboard-configuration
In both cases you have to apply the new settings by running

Code: Select all

sudo service keyboard-setup restart
afterwards.
Posts: 15
goro.ddaimonx
Joined: 04 Jun 2016
#3
Okay the two last commands solved my problem. See ya!