From owner-freebsd-questions@freebsd.org Fri Feb 2 16:08:48 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 ABD0BEE1068 for ; Fri, 2 Feb 2018 16:08:48 +0000 (UTC) (envelope-from opsyspref@gmail.com) Received: from mail-ot0-x241.google.com (mail-ot0-x241.google.com [IPv6:2607:f8b0:4003:c0f::241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3B4C6717AF for ; Fri, 2 Feb 2018 16:08:48 +0000 (UTC) (envelope-from opsyspref@gmail.com) Received: by mail-ot0-x241.google.com with SMTP id a2so9372387otf.2 for ; Fri, 02 Feb 2018 08:08:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=YsAjGV3DY9AxSSlKKjBEWhzA3SKLi8Moz06VtOr9YnQ=; b=iMVf3xaDQCk40e8lP3UW2Pt61awLwPUTVjZpTRiOcNwGJjyb+g9gpo45yHyd2bl9u1 zUBdhnzp6GKTSi21YGWtM3GtEGdeNtKSXUH/LzG9hM5TzghnKcAFv+aUlVQukldW7KoA Q8/Y6XBm36t7fwk0pYNysaHFYIzH26SybyBqZKqNJ9j6qQ5MeMx+GPttuuPpQ8oFwZic wfxJhUgH/FVioZ4zJJbn0FtiIHTPCZKhyv84BsIT9Url/q5ftaxg0qzlB3rJ9j0y3vNQ GgDJPoCdOVgprWwY384WNrSWfuNUTduJ229lwb33LzAWzzX8anzdeQOBRHY/cuTmgFTj dkGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=YsAjGV3DY9AxSSlKKjBEWhzA3SKLi8Moz06VtOr9YnQ=; b=cjkFK9yARXyXn6fqm9wOwXGUz77BuDqERSEvP2kHa1Bv89erY8e53FhteLlDERqcDo H+LYQA6TFNiWQ+/wmz5Y4LMwtjWvLQYsHpmJQfkt8HRZ17kvyqh9P6OFWRi5b3QqHyDq idhag/KcTUonvugp+wLaJwrBX1l1RSl5n1vAzPNV10TBzVTpbDUUAEUqo/Pcq/mBDGLu rzNbMfotLk86sw07CfWEneDfYByvH+oQBC3RpnqbK22j+VxJVqZSIGlN1FkV96wVU6p0 Vwr2Ep3Pohn5xFFPG0uRlf1t1OItFHQWpx2l0EkQMXHKpftOv6PeWJG79+wPiOFUQry+ 5Plg== X-Gm-Message-State: AKwxytfsnw/0X9ClOZLT/00Y0JkgUWJjp/ozebbtyJE73lz9duqVLFA+ 1H+d4mSwwLcN5Y0wURmu1ZcFjXh35BcjOMoswecFX8sW X-Google-Smtp-Source: AH8x224xLRUlu5lPcG1zJKrizdWxxECPnZENx34oeok5Szc2+cnIQELzbIXdbk6hN39MMrLuLb0U7vQBPCOujf9Nv6I= X-Received: by 10.157.0.8 with SMTP id 8mr12436022ota.69.1517587727468; Fri, 02 Feb 2018 08:08:47 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.11.203 with HTTP; Fri, 2 Feb 2018 08:08:46 -0800 (PST) In-Reply-To: <20180202141115.aa7bbf16.freebsd@edvax.de> References: <20180202141115.aa7bbf16.freebsd@edvax.de> From: Peter Ulrich Kruppa Date: Fri, 2 Feb 2018 17:08:46 +0100 Message-ID: Subject: Re: German keyboard support for gdm??? To: Polytropon Cc: freebsd-questions@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 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 16:08:49 -0000 (I hope this webmailer doesn't produce any HTML mess - it's the first time I try it on a mailing-list) 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. > 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 :-) And by the way: The space in (behind pc102) will produce some error. > 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 ... 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. Greetings Peter > > > > I can find many discussions, hints and ideas in the web, but whatever I > > try, gdm stubbornly insists on using en_US default keyboard. > > Which idea(s) did you already test? > > > > > I am running gdm-3.16.4_3 from ports on FreeBSD 11.1-RELEASE amd64 . > > My german keyboard is supported on console and "inside" Gnome 3 , but not > > on gdm's username/password dialog. > > Which can cause lots of "fun" if you're user name or password > includes german Umlauts, Eszett, and special characters. ;-) > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... >