Hi,

  I found this trick: remove the callout for some/all keyboards.
No modifications/deletions of /usr/share/hal files needed.

<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
  <device>
    <!-- prevent console-setup automagic -->
    <match key="input.xkb.layout" exists="true">
      <remove key="info.callouts.add" 
type="strlist">debian-setup-keyboard</remove>
    </match>
    <!-- use console-setup automagic except for my remote control -->
    <match key="input.xkb.layout" exists="true">
      <match key="info.product" contains_not="HID 3353:3713">
        <append key="info.callouts.add" 
type="strlist">debian-setup-keyboard</append>
      </match>
    </match>
    <!-- set layout for remote control -->
    <match key="info.capacities" contains="input.keys">
      <match key="info.product" contains="HID 3353:3713">
        <merge key="input.xkb.layout" type="string">us</merge>
        <merge key="input.xkb.variant" type="string" />
      </match>
    </match>
  </device>
</deviceinfo>

  Seems to work well.

-- 
 Sylvain Sauvage



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to