[kde-freebsd] Set Keyboard Layout on KDM

Alexandre axelbsd at ymail.com
Tue Jun 5 16:22:25 UTC 2012


On Tue, Jun 5, 2012 at 3:04 PM, Alexandre <axelbsd at ymail.com> wrote:

> Hi,
>
> I want to setup keyboard layout on KDM to AZERTY.
> By default, QWERTY is configured.
> I searched in KDM Settings but have not found anything relating this.
>
> In the session, I have configured the keyboard layout to AZERTY without
> problem. It works fine.
>
> I am using FreeBSD 9-STABLE in a VirtualBox VM (as guest). I have
> configured HAL as described here :
> http://wiki.freebsd.org/VirtualBox#Installing_Guest_Additions_for_FreeBSD_guests
> KDE 4.8.3 is installed from ports using Portmaster(8).
>
> Thank you for your help.
>
> Regards,
> Alexandre
>

Hi,

I found how to change keyboard layout under KDM.
I just add a second file "x11-input.fdi" in /usr/local/etc/hal/fdi/policy
with these informations:

<?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.XkbModel"
type="string">pc105</merge>
          <merge key="input.x11_options.XkbLayout" type="string">fr</merge>
    </match>
  </device>
</deviceinfo>

I got two files in /usr/local/etc/hal/fdi/policy:
x11-input.fdi
90-vbboxguest.fdi

It works like a charm.

Regards,
Alexandre
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-freebsd/attachments/20120605/70dbe275/attachment.html>


More information about the kde-freebsd mailing list