You are not logged in.
Pages: 1
Hello,
I've trying to change my current keyboard layout to br-abnt2. After reading several topics about this subject and the arch wiki, I still can not succeed.
Any insights?
Thank you
Last edited by Gauss (2017-10-08 15:34:42)
Offline
I still can not succeed.
What exactly did you try? Please see: How To Ask Questions The Smart Way and provide information that will allow the community to assist you.
Offline
Ok, I opened /etc/vconsole.conf with nano (it was empty) and added KEYMAP="br-abnt2". After rebooting, nothing happened.
I have also changed some configurations with localectl. Now if I enter "localectl" on the terminal, it displays:
"System Locale: LANG=C
VC Keymap: br-abnt2.map.gz
X11 Layout: br-abnt2"
It made no difference.
Last edited by Gauss (2016-10-31 18:43:36)
Offline
Try with this:
localectl set-x11-keymap br-abnt2It will save it as persistent mode
Offline
Try with this:
localectl set-x11-keymap br-abnt2It will save it as persistent mode
Hello, it did not work.
Thank you anyway.
Offline
Hi, Gauss.
Are you trying to set the keyboard for TTY ("terminal") or for X (GUI)?
What is the output of "uname -a"?
Offline
Hi, Gauss.
Are you trying to set the keyboard for TTY ("terminal") or for X (GUI)?
What is the output of "uname -a"?
Hello, I'm trying to set the keyboard to the whole system (terminal and applications).
output of "uname -a":
"Linux 150client83.wireless.ufsc.br 4.8.4-1-ARCH #1 SMP PREEMPT Sat Oct 22 18:26:57 CEST 2016 x86_64 GNU/Linux"
Offline
First, clear any changes you made. Please delete these configuration files (if they exist):
rm /etc/vconsole.conf
rm /etc/X11/xorg.conf.d/00-keyboard.confPlease reboot.
Now, try this command to set the keyboard layout:
setxkbmap -model abnt2 -layout br -variant abnt2Is the keyboard good?
Offline
First, clear any changes you made. Please delete these configuration files (if they exist):
rm /etc/vconsole.conf rm /etc/X11/xorg.conf.d/00-keyboard.confPlease reboot.
Now, try this command to set the keyboard layout:
setxkbmap -model abnt2 -layout br -variant abnt2Is the keyboard good?
The keyboard is now good on my programs, but not on the terminal. How can I change it on terminal?
Thank you for your help.
Offline
I'm sorry, I don't know.
Please try using Google to search "br-abnt2 vconsole.conf". Most of the answers are in Portuguese.
Offline
https://wiki.archlinux.org/index.php/Ke … in_console
Regards
Martin
Offline
https://wiki.archlinux.org/index.php/Ke … in_console
Regards
Martin
Hello, I have added a line on vconsole.conf that says:
"KEYMAP= br-abnt2"
However, the keyboard layout did not change.
If I type "setxkbmap -model abnt2 -layout br -variant abnt2" as suggested by drcouzelis, the keyboard becomes br-abnt2 until I reboot the system,
Offline
Hello, I have added a line on vconsole.conf that says:
"KEYMAP= br-abnt2"However, the keyboard layout did not change.
Remove the " " and then reboot. The wiki I linked to write the follwing under the persistent configuration section:
"A persistent keymap can be set in /etc/vconsole.conf, which is read by systemd on start-up. The KEYMAP variable is used for specifying the keymap. If the variable is empty or not set, the us keymap is used as default value. See man 5 vconsole.conf for all options. For example:"
/etc/vconsole.conf
KEYMAP=uk
...Regards
Martin
Last edited by onslow77 (2016-11-02 18:37:33)
Offline
Gauss wrote:Hello, I have added a line on vconsole.conf that says:
"KEYMAP= br-abnt2"However, the keyboard layout did not change.
Remove the " " and then reboot. The wiki I linked to write the follwing under the persistent configuration section:
"A persistent keymap can be set in /etc/vconsole.conf, which is read by systemd on start-up. The KEYMAP variable is used for specifying the keymap. If the variable is empty or not set, the us keymap is used as default value. See man 5 vconsole.conf for all options. For example:"
/etc/vconsole.conf KEYMAP=uk ...Regards
Martin
There was no "", only:
KEYMAP= br-abnt2
After rebooting, nothing changed.
Offline
There was no ""
The space. The suggestion was to remove the space from "/etc/vconsole.conf".
What is the output of this command?
ls -l /usr/share/kbd/keymaps/i386/qwerty/br-abnt2.map.gzAlso, does this command change the keyboard layout?
loadkeys br-abnt2EDIT:
WAIT. Wait, wait, wait, wait, wait...
Gauss, delete "/etc/vconsole.conf". You don't need it.
Just copy and paste the command "setxkbmap -model abnt2 -layout br -variant abnt2" into the file "~/.xinitrc". Done! ![]()
What window manager or desktop environment are you using? Openbox? KDE?
Last edited by drcouzelis (2016-11-02 20:27:36)
Offline
Gauss wrote:There was no ""
The space. The suggestion was to remove the space from "/etc/vconsole.conf".
What is the output of this command?
ls -l /usr/share/kbd/keymaps/i386/qwerty/br-abnt2.map.gzAlso, does this command change the keyboard layout?
loadkeys br-abnt2EDIT:
WAIT. Wait, wait, wait, wait, wait...Gauss, delete "/etc/vconsole.conf". You don't need it.
Just copy and paste the command "setxkbmap -model abnt2 -layout br -variant abnt2" into the file "~/.xinitrc". Done!
What window manager or desktop environment are you using? Openbox? KDE?
Hello again, Im currently using GNOME 3.
I dont have a xinitrc file, where should I create one?
Offline
I dont have a xinitrc file, where should I create one?
Stop for a moment and think, because now you are being a Help Vampire!
@Gauss It is expected of you to put some effort into doing your own research. The above question can easily be answered by a search on DuckDuckGo/Google with: "arch linux xinitrc".
There was no "", only:
KEYMAP= br-abnt2After rebooting, nothing changed.
Then you did not folllow the keyboard configuration wiki or you have messed up other configurations that prevent systemd from reading and implement the contens of "/etc/vconsole.conf"
I suggest you backtrack your steps and start over again, either with the setxkbmap or vconsole.conf solution that has been suggested in this thread.
Regards
Martin
Last edited by onslow77 (2016-11-02 21:43:01)
Offline
Gnome3 has a really nice GUI to setup the keyboard layout, why not use that???
Offline
Gauss wrote:I dont have a xinitrc file, where should I create one?
Stop for a moment and think, because now you are being a Help Vampire!
@Gauss It is expected of you to put some effort into doing your own research. The above question can easily be answered by a search on DuckDuckGo/Google with: "arch linux xinitrc".
Gauss wrote:There was no "", only:
KEYMAP= br-abnt2After rebooting, nothing changed.
Then you did not folllow the keyboard configuration wiki or you have messed up other configurations that prevent systemd from reading and implement the contens of "/etc/vconsole.conf"
I suggest you backtrack your steps and start over again, either with the setxkbmap or vconsole.conf solution that has been suggested in this thread.
Regards
Martin
I did my own research before posting on the forum, I came here as last resort. If I am annoying you, please forgive me and dont bother looking back on this topic.
Offline
Gnome3 has a really nice GUI to setup the keyboard layout, why not use that???
Hello, I have not downloaded all the GNOME applications. I currently have GNOME Commander, Display and Control Center.
I'll look into more applications.
Thank you.
Offline
Gnome3 has a really nice GUI to setup the keyboard layout, why not use that???
Solved the problem with your advice, thank you again.
Offline
Pages: 1