You are not logged in.

#1 2010-06-12 17:31:32

YellowSnowIsBad
Member
From: /dev/null
Registered: 2010-06-11
Posts: 46

Keyboard Layout, Bug? Bad Config?

Hey, love arch, love the support, love kittens.

after reading through the wiki and setting up arch i ran into a problem.

it seems my keyboard keeps reverting to the us layout.

here is my 10-keymap.fdi, it's placed in hal\policy.

<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->
<deviceinfo version="0.2">
  <device>
    <match key="info.capabilities" contains="input.keymap">
      <append key="info.callouts.add" type="strlist">hal-setup-keymap</append>
    </match>

    <match key="info.capabilities" contains="input.keys">
      <merge key="input.xkb.rules" type="string">base</merge>

      <!-- If we're using Linux, we use evdev by default (falling back to
           keyboard otherwise). -->
      <merge key="input.xkb.model" type="string">keyboard</merge>
      <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name"
             string="Linux">
        <merge key="input.xkb.model" type="string">evdev</merge>
      </match>

      <merge key="input.xkb.layout" type="string">gb</merge>
      <merge key="input.xkb.variant" type="string" />
    </match>
  </device>
</deviceinfo>

i have tried both gb and uk. no luck.


when it didn't work i decided to specify it in my rc.conf.

LOCALE="en_US.UTF-8"
HARDWARECLOCK="localtime"
TIMEZONE="Europe/London"
KEYMAP="uk"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"

that worked for a while, an hour or two, then changed. i am using kdemod. 4.xx,  my system is fully up to date.


Thanks. smile

Offline

#2 2010-06-12 18:55:13

YellowSnowIsBad
Member
From: /dev/null
Registered: 2010-06-11
Posts: 46

Re: Keyboard Layout, Bug? Bad Config?

got it working,

setxkbmap gb

curteous of your irc channel. thanks guys.

Offline

Board footer

Powered by FluxBB