Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Sep 2013 20:43:11 +0300
From:      Vitaly Magerya <vmagerya@gmail.com>
To:        Matthieu Volat <mazhe@alkumuna.eu>
Cc:        ports@freebsd.org, x11@freebsd.org
Subject:   Re: [CFT] Update of xorg libraries and MESA
Message-ID:  <523894AF.90608@gmail.com>
In-Reply-To: <3DE81815-D203-44BF-A1C0-BF9921EF57BC@alkumuna.eu>
References:  <522DC3EB.4060607@freebsd.org> <522DE093.9080504@freebsd.org> <5236C259.3020100@gmail.com> <20130916090354.GW33103@ithaqua.etoilebsd.net> <5236F136.5030905@gmail.com> <3DE81815-D203-44BF-A1C0-BF9921EF57BC@alkumuna.eu>

next in thread | previous in thread | raw e-mail | index | archive | help
On 09/17/2013 10:29, Matthieu Volat wrote:
> Just as a side note : I tested the devd backend and mouse & keyboard were detected.
> But what would be the best way to set the keyboard layout now?

You should add something like this to your xorg.conf:

    Section "InputClass"
        Identifier "All The Keyboards"
        MatchDevicePath "/dev/*kbd*"
        Option "XkbLayout" "us,ru"
        <-- any other kbd(4) options here -->
    EndSection

(Warning: not tested).

This should work with any backend, be it HAL or DEVD; see "INPUTCLASS"
section of xorg.conf man page for details on how it works.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?523894AF.90608>