You are not logged in.

#1 2010-07-19 08:32:31

v6ak
Member
Registered: 2010-07-19
Posts: 30
Website

[SOLVED] Keyboard layout after upgrade

I upgraded my system by pacman (  http://pastebin.com/6KAKpc3C ). Before upgrade I had Czech qwertz keyboard. Then, I've English qwerty keyboard.
Following lines are from /etc/rc.conf:

LOCALE="cs_CZ.UTF-8"
HARDWARECLOCK="UTC"
TIMEZONE="Europe/Prague"
KEYMAP="cz-qwertz"
CONSOLEFONT=lat2-16
CONSOLEMAP=
USECOLOR="yes"

xorg.conf: http://pastebin.com/DhjLWSQp

Can you help me with problem, please?

Last edited by v6ak (2010-07-21 11:41:14)


Archlinux 32b and 64b
Login manager: SLIM, Window manager: Openbox (plain)
HP ProBook 4710s

Offline

#2 2010-07-19 08:37:09

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Keyboard layout after upgrade

Try this http://wiki.archlinux.org/index.php/Xor … d_settings
http://wiki.archlinux.org/index.php/Beginners'_Guide#B:_Input_hotplugging
Do you have English layout also in the console or just in X?

Last edited by karol (2010-07-19 09:04:42)

Offline

#3 2010-07-19 09:16:30

v6ak
Member
Registered: 2010-07-19
Posts: 30
Website

Re: [SOLVED] Keyboard layout after upgrade

I've English layout in plain console (without X11) and in X11.

Command setxkbmap cz switches the layout. However, there are several problems:
* it does not affect plain console
* it does not affect SLIM (login manager)

KEYMAP="cz" didn't solve this problem.


Archlinux 32b and 64b
Login manager: SLIM, Window manager: Openbox (plain)
HP ProBook 4710s

Offline

#4 2010-07-19 09:22:36

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Keyboard layout after upgrade

grep -v "#" /etc/locale.gen

Try to fill in CONSOLEMAP=

Last edited by karol (2010-07-19 09:23:26)

Offline

#5 2010-07-19 09:41:53

v6ak
Member
Registered: 2010-07-19
Posts: 30
Website

Re: [SOLVED] Keyboard layout after upgrade

After I updated the file, ,it results in following output:

$ grep -v "#" /etc/locale.gen
cs_CZ.UTF-8 UTF-8  
cs_CZ ISO-8859-2  
en_US.UTF-8 UTF-8  
en_US ISO-8859-1

I updated rc.conf:

LOCALE="cs_CZ.UTF-8"
HARDWARECLOCK="UTC"
TIMEZONE="Europe/Prague"
KEYMAP="cz"
CONSOLEFONT=lat2-16
CONSOLEMAP=8859-2_to_uni
USECOLOR="yes"

These two operations have no effect on X11. I don't know if it has any effect on plain console (without X11). However, plain console is not very important for me.


Archlinux 32b and 64b
Login manager: SLIM, Window manager: Openbox (plain)
HP ProBook 4710s

Offline

#6 2010-07-19 09:43:28

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Keyboard layout after upgrade

> These two operations have no effect on X11.
Of course not.

> However, plain console is not very important for me.
Why didn't you bloody say so? ;-)


So apart from Slim you're all set?

Last edited by karol (2010-07-19 09:45:22)

Offline

#7 2010-07-19 09:49:20

v6ak
Member
Registered: 2010-07-19
Posts: 30
Website

Re: [SOLVED] Keyboard layout after upgrade

I think that the first modiffication (locale.gen) can affect X11.

There is my /etc/hal/fdi/policy/10-keymap.fdi: http://pastebin.com/FjPNexmD

Is there any list of enabled/disabled keyboard layouts like /etc/locale.gen?

EDIT: I can add setxkbmap cz to my autostart.sh to have Czech keyboard in X11 except SLIM.

Last edited by v6ak (2010-07-19 09:50:58)


Archlinux 32b and 64b
Login manager: SLIM, Window manager: Openbox (plain)
HP ProBook 4710s

Offline

#8 2010-07-19 10:03:26

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Keyboard layout after upgrade

> I think that the first modiffication (locale.gen) can affect X11
_Can_ - sure, but in your setup you need Czech and English and you got them both enabled.


To see a full list of keyboard models, layouts, variants and options, open /usr/share/X11/xkb/rules/xorg.lst


10-keymap.fdi works only if you still use HAL for devices.

/etc/X11/xorg.conf.d/10-evdev.conf

Section "InputClass"
    Identifier "evdev keyboard catchall"
    MatchIsKeyboard "on"
    MatchDevicePath "/dev/input/event*"
    Driver "evdev"
    Option "XkbLayout" "be"
EndSection

is the new way of doing things.

Offline

#9 2010-07-19 10:18:56

v6ak
Member
Registered: 2010-07-19
Posts: 30
Website

Re: [SOLVED] Keyboard layout after upgrade

Thank you very much. It works.


Archlinux 32b and 64b
Login manager: SLIM, Window manager: Openbox (plain)
HP ProBook 4710s

Offline

Board footer

Powered by FluxBB