[Lunar-commits] <moonbase> XOrg7: keyboard and mouse drivers removed from dependency

Zbigniew Luszpinski zbiggy at o2.pl
Wed Dec 10 01:05:04 CET 2008


Monday 08 December 2008 22:06:41 Jens Luedicke napisał(a):
> Samuel wrote:
> >  depends xinit
> >  depends xkeyboard-config
> >  # DEPENDS: libxkbui
> > -depends xf86-input-keyboard
> > -depends xf86-input-mouse
> > +depends xf86-input-evdev
>
> This change broke my keyboard layout. My german keyboard layout
> is ignored and not picked up bz the xserver. When I run startx,
> the lazout defaults to en_US.
>
> do I need a new configuration file or something?
>
>
> Jens

Save this to /etc/hal/fdi/policy/10-keymap.fdi and comment all input devices 
from xorg.conf (and add Option "AllowEmptyInput" "on")
You need to restart hald service and X to make it working. I think this will 
be default behaviour for future Lunar distros. (With small script keeping in 
sync X/hal *.fdi with Lunar's console language settings). Currently I have no 
computer at home so can not commit any changes to Lunar's repo or do 
development work. When my new machine will arrive will look at this more 
deeply.

have a nice day,
Zbigniew 'zbiggy' Luszpinski

<?xml version="1.0" encoding="ISO-8859-1"?>
<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">de</merge>
      <merge key="input.xkb.variant" type="string">basic</merge>
    </match>
  </device>
</deviceinfo>



More information about the Lunar-dev mailing list