[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

X.org Keyboard repeat rate through hal



Hi .*,

	I have upgraded X to v1:7.4+1 and now I'm struggling with hal
to reproduce the same configuration I had before. I managed to set up
the keyboard layouts and the xkb options, but I can't find how to change
the keyboard repeat rate. For the moment, I have created a policy file
in /etc/hal/fdi/policy/ called 12-davide.fdi (see below for the content
of the file). The "input.x11_options.AutoRepeat" key is my latest
unsuccessful attempt.

	It would be nice if there were a comprehensive translation
guide for the xorg.conf --> hal transition.

Cheers,
Davide

============= START =============
<?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.x11_options.AutoRepeat" type="string">220 50</merge>
      <merge key="input.xkb.options" type="string">grp:shifts_toggle,compose:menu</merge>
      <merge key="input.xkb.layout" type="string">it,se</merge>
      <merge key="input.xkb.variant" type="string" />
    </match>
  </device>
  <device>
    <match key="info.capabilities" contains="input.mouse">
        <merge key="input.x11_options.Emulate3Buttons" type="string">yes</merge>
    </match>
  </device>
</deviceinfo>
============= END =============

-- 
Time flies like an arrow.  Fruit flies like a banana.
--
If anything can go wrong it wSegmentation fault
core dumped


Reply to: