On Wednesday 21 April 2010 01:44:15 Harry Putnam wrote:
> Mick <michaelkintz...@gmail.com> writes:
> > I think you did not read the link properly.  You are meant to copy
> > the relevant .fdi file from
> > /usr/share/hal/fdi/policy/10osvendor/10-keymap.fdi to
> > /etc/hal/fdi/policy/10-keymap.fdi and then modify the last
> > paragraph:
> 
> Yes, I did misread apparently... it doesn't say that at all... maybe
> that is why.
> 
> http://www.gentoo.org/proj/en/desktop/x/x11/xorg-server-1.6-upgrade-guide.x
> ml

The penultimate paragraph says that you should copy _some_ file from 
/usr/share/hal/fdi/policy/10osvendor/ to /etc/hal/fdi/policy/ 

> There is no mention of copying:
>    /usr/share/hal/fdi/policy/10osvendor/10-keymap.fdi
> to
>   /etc/hal/fdi/policy/10-keymap.fdi

The file that I mentioned is the one relevant to key inputs, but you could 
have used say the 10-input.fdi or made one up yourself that ends in fdi.


> I'm sorry to be so dense here... but I'm missing something still.

No, I was rather incomplete in my reply, which ended up confusing the matter.

> > <merge key="input.xkb.layout" type="string">us</merge>
> >       <merge key="input.xkb.options"
> 
> That second line above  is not present in my copy of:
>  /usr/share/hal/fdi/policy/10osvendor/10-x11-input.fdi
> 
> Mick wrote:
> > type="string">terminate:ctrl_alt_bksp</merge>
> >       <merge key="input.xkb.variant" type="string" />
> >
> > by the adding the above line starting with type= ...
> 
> I see (showing line numbers
>    from:[...]10osvendor/10-x11-input.fdi
> 
> [...]
> 17     </match>
> 18
> 19      <merge key="input.xkb.layout" type="string">us</merge>
> 20     <merge key="input.xkb.variant" type="string" />
> 21   </match>
> [...]
> 
> So do you mean to replace 19 and 20 with:
> 
> ,----
> 
> | <merge key="input.xkb.layout" type="string">us</merge>
> | <merge key="input.xkb.options"
> | type="string">terminate:ctrl_alt_bksp</merge>
> 
> `----
> 
> Or add the two in box quote after 19... or what?

This is mine:
============================================
<?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,se</merge>
      <merge key="input.xkb.options" 
type="string">grp:alt_shift_toggle,grp_led:scroll,compose:menu,terminate:ctrl_alt_bksp</merge>
      <merge key="input.xkb.variant" type="string" />
    </match>
  </device>
</deviceinfo>
============================================

Now, if you are only using one language, you only need line 19 in your example 
and insert a new line between your 19 and 20 that says: <merge 
key="input.xkb.options" type="string">terminate:ctrl_alt_bksp</merge>
      
(all on one line)

HTH and sorry for giving an incomplete answer at the start.
-- 
Regards,
Mick

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to