From owner-freebsd-questions@freebsd.org Fri Feb 2 19:18:06 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 7E8D7EEA643 for ; Fri, 2 Feb 2018 19:18:06 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.134]) (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 E31A37B65E for ; Fri, 2 Feb 2018 19:18:04 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([92.195.213.55]) by mrelayeu.kundenserver.de (mreue004 [212.227.15.167]) with ESMTPA (Nemesis) id 0MIAwM-1ejL0O2mMA-003ukp; Fri, 02 Feb 2018 20:18:02 +0100 Date: Fri, 2 Feb 2018 20:18:02 +0100 From: Polytropon To: Peter Ulrich Kruppa Cc: freebsd-questions@freebsd.org Subject: Re: German keyboard support for gdm??? Message-Id: <20180202201802.4a9b70f5.freebsd@edvax.de> In-Reply-To: References: <20180202141115.aa7bbf16.freebsd@edvax.de> 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:K0:1uxY9TP8hm8fiB6hKqXizE4OW9qCbHA4UDdh4jpkk3J5BF+Ky8p q16dwi9cl5YGxfZLNXM7oAM+XI+NAvEUGJ+n7bJ4jZ/uFj2s7oR4D2icMRg5Q/xOkynAl0O k2b8fPzUjZJrPOgupLpGP/D3hFlpcH5I6a/vM91NsBQCa01BBnpAWo9aEpVWFFfvHPZJtlA imBRIlWZblut75l/qDTeQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:zsnYxYJuYzs=:3ub+dULZbGhqVEIJ81YRII /vfQwG3cDW2kowIBUOFiMbhwI1KkkFEiE53e8FY1C05h77NwL/k3JPQEgOn/XTyNTOacZPo2H Lc+pLlRKdIpVakhbhZcNnVmFibta6U08x8rRjWqV4C4RW97ukSeTg8bEjARmmtbk3NXuSjzzy Toa+5Jfpi0vASr4lY+sNJXQEUdA0gaQzhB/poi5cdAL2WQXsg4x/MqpfY4QXTG2INZnEy9byH LrR4qB1EGz2uuPDL7wEaB2g6v1cHxxoiRWMuN/wwP2MwOmJokERhwzAGqRNh0wcpLlJzNkDKT D6/OwK8UfAaPlbwNmH+cbj+gk6s//VrkfjXYf2AFMUi7CtQCTptern9dktyNk6zGbCzStCoEE cwgfQUd98evm6llMLuQ9+9n9x/PJpHQ3DBV5i/EmTx0aSZZD4YBy3k3zpkCHB76TmloTCKio8 Bu5eGyKB1aQ/xxHuEfMp4gARjXHkj3V8lkB7VVs2J+H7JZrMkMWsQSG2rhuzXSDF9NKEe4sQB lTXaMzjO2tPSmFhK8lktUhg+cWJvR5rTiTMXEvAPtlB31UM19wbetxhrgHaPlxByjdWdfEJKZ nZt1iBMRl9XUwHC09lsbcxNsU/W8pBLYejdltNm7+sBtxXR+FLY26l9Th36cfEAKCASMhqsDu Ke6h1nHTloybOQcZ/vDl66tcLQPJfpx2iViQmputuoX9jXilkYV8NQXoUEPBrx7NWq20n3a7z LCBrKmVwjfLY9UbUmfsU8bpcFv0uXk+E6pZVyA7J7eegJxLsxMkSPK2QY5Y= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Feb 2018 19:18:06 -0000 On Fri, 2 Feb 2018 17:08:46 +0100, Peter Ulrich Kruppa wrote: > (I hope this webmailer doesn't produce any HTML mess - it's the first time > I try it on a mailing-list) Everything alright, no HTML garbage. :-) > On Fri, Feb 2, 2018 at 2:11 PM, Polytropon wrote: > > > On Fri, 2 Feb 2018 05:04:24 +0100, Peter Ulrich Kruppa wrote: > > > does anyone know how to make gnome's display manager gdm understand > > german > > > keyboard input? > > > > Historically, you put an entry in /etc/X11/xorg.conf, > > but today, this is not so easy anymore. There are at > > least two options: > > > > a) Use X11 cofiguration /usr/local/etc/X11/xorg.conf.d/keyboard-de.conf > > > > Section "InputClass" > > Identifier "KeyboardDefaults" > > Driver "keyboard" > > MatchIsKeyboard "on" > > Option "XkbLayout" "de" > > EndSection > > > That one I have found myself. It's nice to set german keyboard in twm or > xfce4 , but is ignored by gdm. This should be a X-wide setting, so the only reason for gdm to ignore it is that somewhere else (!) a gdm setting says "en" (and "don't use system's setting"). By the way, I've been using Gnome 2 and gdm in the past, with german keyboard support, but as Gnome 3 became unusable, I switched the particular systems to Mate and slim. Both seem to honor the X-wide setting (global) for keyboard. By the way, you could also try a partial xorg.conf with the content mentioned above, located in /usr/local/etc/X11. > > b) Use HAL configuration /usr/local/etc/hal/fdi/policy/x11-input.fdi: > > > > > > > > > > > > > type="string">pc102 > > > type="string">fr > > > > > > > > > This one I didn't know. I tried it and checked if hald is started. Result: > Nothing, not even a french keyboard :-) I'm almost sure Gnome still requires HAL and DBus in order to run; do you have hald_enable="YES" dbus_enable="YES" in your /etc/rc.conf? Maybe gnome_enable="YES" implies them. > And by the way: The space in (behind pc102) will produce some > error. Yes, that seems to be a reformatting issue (indentation with one tab, manually). And of course it should be "de" instead of "fr". :-) > > c) Use Gnome's configuration utility (the one which can also > > configure gdm). I've never used that, so I cannot be more > > specific, sorry. :-) > > > Which one might that be: I have got gnome-control-center, gnome-tweak-tool > and dconf-editor and can't see where anything about gdm could be done ... That is very strange. Still I seem to remember that there was a tool to configure gdm, but I cannot remember what it was... > But in the meantime I found this: > > https://help.gnome.org/admin/system-admin-guide/stable/keyboard-layout.html.en > To me it sounds as if I either need the program localectl , which is only > available on Linux or a /dev/input/event which can be produced by > installing libudev-devd and rebuilding xorg-server with DEVD option - see > the README at > > https://help.gnome.org/admin/system-admin-guide/stable/keyboard-layout.html.en > I will try that, but it will take some time on this old box. Both localectl and udev are Linuxisms. Maybe Gnome 3 isn't actually as cross-platform as it claims? ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...