You are not logged in.

#1 2012-12-15 00:06:13

shaurz
Member
Registered: 2004-02-02
Posts: 364

Suddenly my keyboard layout reverts to US?

A while back I set my keyboard layout to UK by creating /etc/X11/xorg.conf.d/10-keyboard.conf with the following contents:

Section "InputClass"
    Identifier      "Keyboard Defaults"
    MatchIsKeyboard "yes"
    Option          "XkbLayout" "gb"
EndSection

This has worked fine for a long time, but suddenly it has stopped working for no apparent reason.

Offline

#2 2012-12-15 22:11:24

ximun
Member
From: Montreal, QC
Registered: 2012-08-14
Posts: 26

Re: Suddenly my keyboard layout reverts to US?

Does the gb layout work if you set it manually with setxkbmap?


"The problem is, after a week of intense googling, we’ve started to burn out on knowing the answer to everything. God must feel that way all the time. I think people in the year 2020 are going to be nostalgic for the sensation of feeling clueless." Douglas Coupland - jPod

Offline

#3 2012-12-16 15:31:27

shaurz
Member
Registered: 2004-02-02
Posts: 364

Re: Suddenly my keyboard layout reverts to US?

Yes, setxkbmap gb works.

Offline

#4 2012-12-16 17:36:39

chris_l
Member
Registered: 2010-12-01
Posts: 390

Re: Suddenly my keyboard layout reverts to US?

Try changing it to this:

Section "InputClass"
	Identifier "Keyboard-layout"
	Driver "evdev"
	MatchIsKeyboard "yes"
	Option "XkbLayout" "gb"
EndSection

"open source is about choice"
No.
Open source is about opening the source code complying with this conditions, period. The ability to choose among several packages is just a nice side effect.

Offline

#5 2012-12-17 00:02:47

shaurz
Member
Registered: 2004-02-02
Posts: 364

Re: Suddenly my keyboard layout reverts to US?

Thanks but that didn't make a difference.

Offline

#6 2012-12-17 06:49:30

chris_l
Member
Registered: 2010-12-01
Posts: 390

Re: Suddenly my keyboard layout reverts to US?

ximun wrote:

Does the gb layout work if you set it manually with setxkbmap?

shaurz wrote:

Yes, setxkbmap gb works.

how about adding setxkbmap gb to your .xinitrc ?

Dirty hack? yeah, I know tongue

Say, if you change the "gb" to another thing, like "es" or "fr" on your conf file, does that work? Im wondering if is a problem that affects only gb, or it affects other layouts too


"open source is about choice"
No.
Open source is about opening the source code complying with this conditions, period. The ability to choose among several packages is just a nice side effect.

Offline

Board footer

Powered by FluxBB