You are not logged in.
kbd package is installed.
my layout's file is there:
[geoff@arch ~]$ find /usr/share/kbd/keymaps/ -name '*cf*'
/usr/share/kbd/keymaps/i386/qwerty/cf.map.gzcan't change using either commands mentionned in the wiki on configuring keyboard layouts or KEYMAP:
[geoff@arch ~]$ localectl set-keymap cf
[geoff@arch ~]$ localectl set-x11-keymap cf
[geoff@arch ~]$ setxkbmap -layout cf
Error loading new keyboard descriptionthe file /etc/rc.conf is empty (this is strange)
the file /etc/X11/xorg.conf.d/01-keyboard-layout.conf contains:
Section "InputClass"
Identifier "keyboard-layout"
Driver "evdev"
MatchIsKeyboard "yes"
Option "XkbLayout" "cf"
EndSectionusing ArchBang.
Last edited by geoffm (2013-08-31 21:21:19)
Offline
the file /etc/rc.conf is empty (this is strange)
/etc/rc.conf has been obsoleted a while ago https://www.archlinux.org/news/end-of-i … s-support/ , that part of the wiki is out of date.
Edit: What's the output of 'localectl '?
There's https://bugs.archlinux.org/task/36689 but I'm not sure if it's related.
Edit 2
# localectl set-keymap cfworks for me.
Last edited by karol (2013-08-31 16:45:14)
Offline
What's the output of 'localectl '?
[geoff@arch ~]$ localectl
System Locale: LANG=en_DK.utf8
LC_NUMERIC=en_DK.UTF-8
LC_TIME=en_DK.UTF-8
LC_MONETARY=en_DK.UTF-8
LC_PAPER=en_DK.UTF-8
LC_MEASUREMENT=en_DK.UTF-8
VC Keymap: cf
X11 Layout: cfOffline
So ... did it work?
Offline
Did what work?
localectl set-keymap cf ?
Same result as shown in my first post: nothing.
Offline
What do you mean 'nothing'? If there's no error, just the prompt, it means the command executed OK. http://www.linfo.org/rule_of_silence.html
See e.g.
$ localectl
System Locale: LANG=en_US.UTF-8
LC_COLLATE=C
LC_MESSAGES=C
VC Keymap: pl2
X11 Layout: pl
$ sudo localectl set-keymap cf
$ localectl
System Locale: LANG=en_US.UTF-8
LC_COLLATE=C
LC_MESSAGES=C
VC Keymap: cf
X11 Layout: ca
X11 Model: pc105
X11 Options: terminate:ctrl_alt_bksp
$ sudo localectl set-keymap pl
$ sudo localectl set-x11-keymap pl
$ localectl
System Locale: LANG=en_US.UTF-8
LC_COLLATE=C
LC_MESSAGES=C
VC Keymap: pl2
X11 Layout: plOffline
the command provided no output, and the keyboard map stayed US.
Now I found the culprit, thanks to this post
in /usr/share/X11/xkb/rules/xorg.lst , the code for the French Canadian keyboard was ca. Weird, because it's always been cf on all platforms.
I changed it for cf. I also had to go to cinnamon Region & Language settings and change the input type de French (Canada). Seems to work both in console and DE now.
Thank you for participating.
Offline