From owner-freebsd-questions@freebsd.org Sun Jun 10 21:52:37 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4AB0B100D2EB for ; Sun, 10 Jun 2018 21:52:37 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B1CFC7A82E for ; Sun, 10 Jun 2018 21:52:36 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([92.195.97.38]) by mrelayeu.kundenserver.de (mreue004 [212.227.15.167]) with ESMTPA (Nemesis) id 0Lj7Eo-1fyQnN32J4-00dD1c; Sun, 10 Jun 2018 23:47:15 +0200 Date: Sun, 10 Jun 2018 23:47:15 +0200 From: Polytropon To: AikiZen Cc: freebsd-questions@freebsd.org Subject: Re: =?ISO-8859-1?Q?b=E9po?= on gdm FreeBSD 11 Message-Id: <20180610234715.d4f6eae6.freebsd@edvax.de> In-Reply-To: <20180605141026.2e1db51f@Dell-Precision> References: <20180605141026.2e1db51f@Dell-Precision> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:RO1EmIsk7c2e8PIXdKsHUyf/P4FGlNxjGYWdXRlNCj9eRd4AfLj BqV6QhyMOKFuNeYs9/LWr9KSAJ6P4XhwaWNx9oIlbx5U0dHL5Z3UOpa2L8nRjrlyZtHnaHk /JbvoyvGGNoyRr4YXaElvKNEUvSMlP7Nvc4wFWh4ZEf0H+NuYjALmElUWGddQyCi0K8XhNd cos/UiEcFQvrDDlfhXo0Q== X-UI-Out-Filterresults: notjunk:1;V01:K0:A7Qvx57diE0=:KG6Q7usnnkU/3owISQ+Oxm wBdPQjFh2g2iQNl+6TpIWLW7XbxcgbAdFEIHHuZ11itjI7SFeG/x77b4VwvljlV3U/eIM8t42 kPEOp9nTarAIwU5VY7/1KPirUVJJpvDLpJxC8EdJElKstFdpGqWc8xv2eb8xUUBO8WMl/uf+g u/vHIC6ooUo01KfewTiHwM3hG4r00iWtFeJi5hxn29DoaeoWvr0Erl/X50YuGDCaJ7RCg2+2t +tuyoN5lTS7WruxZ/vlMzU7V4zfjcyJMtaO0BXxkqxYpLyWTedJjR59wCMMqVhWCWagk2efJM ZL+rikdMyTeE+ksxR3jhd+77o/CDkOvrHxFYvx87Ob0RsU/fMRWwJVTkbn+c3pakrkzbAwQ7p AqCPGppZndZHkQKtSsXMhReS1f6zTIoxQ7I1HGLFTZD7mmdFO8PNOWik1u4hrT8tKmfmoQiTZ 65iLrGKMTIOCAE/SO+G0eKDG77sl/A65kvWmNEEB1hzFrZjWMN8cj3ZEl9iQtfLALCyozwqLG ultNTC6uYxjWUcoicMaj1EFn2aLcb880TT8Vfh++SBI3oBSIcib4KkmCR3MhQGOGCFPpWKjtG SQHngFNqo6aPcVoCWMdw0wTJzLeCO2xpvkVu7zZOBXKWOrY1jA+J3UN7/IWJrbuOd0BA5obVF 1RcIZMpl7NxvqQ8AX9meznHWl+IWwNZq5r8GxxQM3pV4dUNgICfXK4B1TM40w5Sg/GQYNcFiq XvQDyrhK3YBc/b1Z X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jun 2018 21:52:37 -0000 On Tue, 5 Jun 2018 14:10:43 +0200, AikiZen wrote: > my /usr/local/etc/X11/xorg.conf.d/10-keyboards.conf : > > Section "InputClass" > Identifier "Keyboards" > Driver "evdev" > Option "XKBOptions" "terminate:ctrl_alt_bksp" # and so on > > # If you save this file under xorg.conf.d/ : > Option "AutoServerLayout" "on" > > MatchIsKeyboard "on" > MatchProduct "TrulyErgonomic.com Truly Ergonomic Computer Keyboard" > > ### at-home-modifier options begin here. > # The basic option. > Option "XkbLayout" "fr" > Option "XkbVariant" "bepo" > Option "XKbOptions" "lv3:ralt_switch_multikey,numpad:pc" > Option "TransMod" "36:64" # Defines key/modifier pairs. Use xev. e.g. > Enter (real key):Alt (virtual key). EndSection If this is the whole file, something seems to be missing. Is there no "EndSection" marker? I'm using a similar approach for the regular german keyboard layout. Maybe this is helpful? % cat /usr/local/etc/X11/xorg.conf.d/keyboard-de.conf Section "InputClass" Identifier "KeyboardDefaults" Driver "keyboard" MatchIsKeyboard "on" Option "XkbLayout" "de" EndSection That's the whole file, nothing else seems to be needed. Check section 5.4.7.1. of The FreeBSD Handbook for further details. Source: https://www.freebsd.org/doc/handbook/x-config.html > my rc.conf : > [...] > keymaps="fr.bepo.kbd" This only affects console, not X. For X, there are two competing setuo mechanisms: X.org configuration file (or partial files), and HAL (for software that still uses it, for example Gnome). > gdm_enable="YES" > gnome_enable="YES" > dbus_enable="YES" > hald_enable="YES" And _here_ seems to be the "problem". HAL has been obsoleted many years ago on Linux, but it still lives on in FreeBSD's Gnome inner workings. Check the documentation on how to set the keyboard layout using HAL. Section 5.9. of The FreeBSD Handbook covers this topic. Create /usr/local/etc/hal/fdi/policy/x11-input.fdi as per the following example: pc102 fr Source: https://www.freebsd.org/doc/handbook/x11-understanding.html > ~ % cat /var/log/Xorg.0.log | grep WW > (WW) warning, (EE) error, (NI) not implemented, (??) unknown. > [ 39.745] (WW) Unresolved symbol: fbGetGCPrivateKey > [ 39.770] (WW) VGA arbiter: cannot open kernel arbiter, no > multi-card support Those are not related to keyboard. > i search on duckduckgo but no find, > please help me, > best regard, > Aiki Zen. The FreeBSD handbook usually has this kind of (more or less) trivial information. :-) Additional resources: https://www.freebsd.org/gnome/docs/halfaq.html http://www.ping.de/sites/kite/xorg-hal-migration.html -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...