You are not logged in.

#1 2010-07-28 11:04:33

yabasta
Member
Registered: 2010-05-01
Posts: 167

[SOLVED]Keyboard layout changed.

Hi smile i did a major upgrade yesterday, having waited to do an upgrade for a few weeks because of wonky nvidia drivers i finally managed to Syu yesterday and upgraded 133 packages. Everything works fine it seems apart from one thing i noticed this morning, my keyboard layout has changed from the english GB one. any suggestions how i can change it?
here's the relative part of my rc.conf -

LOCALE="en_GB.utf8"
HARDWARECLOCK="UTC"
USEDIRECTISA="no"
TIMEZONE="Europe/London"
KEYMAP="uk"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"

not sure where else to look for changes. i run openbox desktop btw

Last edited by yabasta (2010-07-28 11:56:34)

Offline

#2 2010-07-28 11:20:41

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: [SOLVED]Keyboard layout changed.

Did xorg get updated.  If so any hal rules you set won't work.  You will need to set the keyboard layout using xorg conf files.

http://www.archlinux.org/news/502/


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#3 2010-07-28 11:50:29

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: [SOLVED]Keyboard layout changed.

rc.conf has nothing to do at all with the layout used in X,  See the link that loafer pasted, and the wiki page it links to.


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#4 2010-07-28 11:52:48

yabasta
Member
Registered: 2010-05-01
Posts: 167

Re: [SOLVED]Keyboard layout changed.

Thanks for the help loafer smile i'd changed /etc/X11/xorg.conf like so -

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
    Option "XkbLayout" "gb"
EndSection

but that didn't work. so i followed the archwiki link http://wiki.archlinux.org/index.php/Xorg#InputClasses from the news article you pasted. Seemed i needed to make a keyboard.conf file in /etc/X11/xorg.conf.d, which i did -

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

A quick logout and login and now i have my gb layout. Sadly my keyboard model isn't in /usr/share/X11/xkb/rules/base.lst so i can't set
"Xkbmodel" and get all the functions from my keyboard. never mind. thanks again for the help loafer

@Mr.Elendig
yes, i thought as much. but i'm still a newb and was just trying to give some info, seems it was a futile gesture.

Last edited by yabasta (2010-07-28 11:55:48)

Offline

#5 2010-07-28 12:00:40

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

Re: [SOLVED]Keyboard layout changed.

> can't get all the functions from my keyboard
http://wiki.archlinux.org/index.php/Ext … ys_in_Xorg

Offline

Board footer

Powered by FluxBB