$cat /etc/vconsole.conf
KEYMAP=us-acentos
FONT=ter-114n
FONT_MAP=8859-1
For console /etc/vconsole.conf setting, "KEYMAP=" refer to the actual keymap you are using. Try keymap files inside /usr/share/kbd/keymaps/ or define a new one if needed.
man vconsole.conf
To activate setxkbmap setting for every Xorg session, put your command inside ~/.xinitrc or /etc/X11/xinit/xinitrc.
Alternatively, you can generate a /etc/X11/xorg.conf.d/00-keyboard.conf file using
man localectl # localectl set-x11-keymap us "" altgr-intl
First of all, I apologize if I answer only now, but I haven't had a moment of time these days.
Second, thanks for your reply!
The fact is that I already knew I had to modify /etc/vconsole.conf in order to set the default console layout, by writing
KEYMAP=
but it is right after that "=" that I don't know what to write in order to set the layout called "English (US intl., with dead keys)". I've tried looking for the right layout with both the man command and the Arch Wiki page on keyboard layouts, but can't find the exact name of the layout I'm looking for.
As for the command to insert in the ~/.xinitrc file thank you very much: everything works fine.
man vconsole.conf
To activate setxkbmap setting for every Xorg session, put your command inside ~/.xinitrc or /etc/X11/xinit/xinitrc.
Alternatively, you can generate a /etc/X11/xorg.conf.d/00-keyboard.conf file using
man localectl
# localectl set-x11-keymap us "" altgr-intl
I bring you first what I would like, then what I have tried.
I wish I could set the default keyboard layout, which in other distros is called "English (US intl., with dead keys)" if I remember correctly, both for the console and for the rest of the OS.
For the console I should edit /etc/vconsole.conf, but I don't know what I have to write in it to get the layout in question.
For the general system, I noticed the command
setxkbmap -layout us -variant intl
fulfills the function I seek, but only for the current session.
This keyboard layout for the console and for the system however, I would like it to coexist with the system language set differently, ie in en_GB.UTF-8.
I then changed /etc/locale.gen like this:
en_GB.UTF-8 UTF-8
and /etc/locale.conf as follows:
LANG=en_GB.UTF-8
But I'm not totally sure it's the right procedure.
I have read all both this Wiki page and this one, but I admit I don't understand what and how to change xinit.
Thank you in advance!
]]>