tag: keyboard mapping

FreeBSD 9 Keyboard mapping

18 Aug, 2012 - 1 minutes
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