Using a non-US keyboard in X with Slackware -current (13.0) without xorg.conf

xorg.conf is dead – long live xorg.conf

For a UK layout keyboard, stick the following in /etc/hal/fdi/policy/10-keymap.fdi (for other layouts, change gb and/ or add as appropriate).

This is just enough to merge with the existing file & blat the keyboard layout (without having to resort to re-implementing the default Slackware FDI).

<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->
<deviceinfo version="0.2">
  <device>
    <match key="info.capabilities" contains="input.keys">
      <merge key="input.xkb.layout" type="string">gb</merge>
    </match>
  </device>
</deviceinfo>
Posted on June 10, 2009 at 11:05 pm by Carlos Corbacho · Permalink
In: Linux

Leave a Reply

You must be logged in to post a comment.