Not Just Paranoid

Another site by Pete Maynard

FreeBSD 9 Keyboard mapping

To get HAL to set your keyboard mapping on boot create the below file:

vi /usr/local/etc/hal/fdi/policy/x11-input.fdi

Enter this into it:

<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
    <match key="info.capabilities" contains="input.keyboard">
      <merge key="input.x11_options.XkbLayout" type="string">gb</merge>

For this to work you will need to have HAL enabled in rc.conf.

echo 'hald_enable="YES"' >> /etc/rc.conf
echo 'dbus_enable="YES"' >> /etc/rc.conf

18 Aug 2012 | Tags ( FreeBSD HAL keyboard mapping )

Website Last Updated on 15 Sep 2023 (CC BY-SA 4.0)

This site uses JQuery and nanogallery2 hosted by
for the Flickr photo feed and GoatCounter for user insights.