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">
<device>
<match key="info.capabilities" contains="input.keyboard">
<merge key="input.x11_options.XkbLayout" type="string">gb</merge>
</match>
</device>
</deviceinfo>
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 4 Oct 2024 (CC BY-SA 4.0)
This site uses JQuery and nanogallery2 hosted by jsdelivr.net
for the Flickr photo feed and GoatCounter for user insights.