From owner-freebsd-questions@freebsd.org Sun Jun 21 12:56:35 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 75F2934E6CA for ; Sun, 21 Jun 2020 12:56:35 +0000 (UTC) (envelope-from jacques+freebsd@foucry.net) Received: from mail.foucry.net (fournil.foucry.net [95.217.83.231]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49qXc20zbsz3g0Y for ; Sun, 21 Jun 2020 12:56:33 +0000 (UTC) (envelope-from jacques+freebsd@foucry.net) Received: from mithril.localdomain (2a01cb0400bb0900ea6a64fffe0795a1.ipv6.abo.wanadoo.fr [IPv6:2a01:cb04:bb:900:ea6a:64ff:fe07:95a1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.foucry.net (Postfix) with ESMTPSA id AAE493F6AF for ; Sun, 21 Jun 2020 12:56:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foucry.net; s=dkim; t=1592744185; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xowti3kqK5Y14syvnVsZFNRPHSpHvIXMUiYilVZQMvM=; b=sJV9x4tqRIh+CpAgNVQHD8twexE/aeQPVdrIIwwv1XNQWgoj85MPK9NbS8/hsyQwm5gkNj XdPhBww0NpR0f2dx625EmgfaSTrW9bukG4x6McigwcUpkfyUhFNc0fEXHKgKol0A2oaFsV CKLKxZ5NchPq0LOE5trer8GhAcyro28= Received: from mithril (localhost [IPv6:::1]) by mithril.localdomain (Postfix) with ESMTP id 19B4313154 for ; Sun, 21 Jun 2020 14:56:25 +0200 (CEST) Date: Sun, 21 Jun 2020 14:56:25 +0200 From: Jacques Foucry To: freebsd-questions@freebsd.org Subject: Re: Xorg, lightdm, xfce & German Keyboard Message-ID: <20200621125625.GU16409@mithril> Mail-Followup-To: freebsd-questions@freebsd.org References: <636e8210-85df-6142-22c8-5393333494d3@chemie.uni-hamburg.de> <20200621101222.576d5977@archlinux> <92c75d0893dcbb9ba395b1e8352f02be25d45d7e.camel@riseup.net> <3e3de7a2-fe5a-ec9a-1755-dd1b3f383408@chemie.uni-hamburg.de> <20200621143043.d1fa826f.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200621143043.d1fa826f.freebsd@edvax.de> X-Spam-Status: No, score=-2.60 X-Rspamd-Server: mail.foucry.net X-Spam-Score: -2.60 X-Rspamd-Queue-Id: 49qXc20zbsz3g0Y X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=foucry.net header.s=dkim header.b=sJV9x4tq; dmarc=pass (policy=none) header.from=foucry.net; spf=pass (mx1.freebsd.org: domain of jacques@foucry.net designates 95.217.83.231 as permitted sender) smtp.mailfrom=jacques@foucry.net X-Spamd-Result: default: False [-3.56 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[foucry.net:s=dkim]; NEURAL_HAM_MEDIUM(-1.03)[-1.029]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.05)[-1.048]; RCVD_COUNT_THREE(0.00)[3]; MID_RHS_NOT_FQDN(0.50)[]; DKIM_TRACE(0.00)[foucry.net:+]; DMARC_POLICY_ALLOW(-0.50)[foucry.net,none]; NEURAL_HAM_SHORT(-0.98)[-0.979]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:24940, ipnet:95.217.0.0/16, country:DE]; TAGGED_FROM(0.00)[freebsd] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Jun 2020 12:56:35 -0000 Le dimanche 21 juin 2020 à 14:30:43 (+0200), Polytropon à écrit: > On Sun, 21 Jun 2020 10:59:16 +0200, Christian Schmidt wrote: > > Good "morning" Ralf, ;-)) > > > > On 6/21/20 10:24 AM, Ralf Mardorf wrote: > > > I still didn't read/understand correctly. > > > > > > I apologize again! > > > > No, I have to apologize: I should have mentioned that I already defined > > > > Section "InputClass" > > Identifier "system-keyboard" > > MatchIsKeyboard "on" > > Option "XkbLayout" "de" > > Option "XkbModel" "pc105" > > Option "XkbVariant" "nodeadkeys" > > EndSection > > > > in /usr/local/etc/X11/xorg.conf.d/keyboard.conf. KB layout in general > > works as expected - except from umlauts. > > I recently had the same problem after upgrading X - the keyboard > settings for the german language in a /usr/local/etc/X11/xorg.conf.d/ > file did no longer work (nor did the keyboard work at all); I had > to set them in a per-user manner using setxkbmap in ~/.xsession, > as you already correctly did, with the exception that display managers > don't read ~/.xinitrc, they use ~/.xsession (problem already solved). Hum… that strange for me to. I made a symlink lsn -s .xinitrc .xsession but many commands are not executed: xrandr --output DP2-1 --mode 2560x1440 xrandr --output DP2-1 --primary xrandr --output eDP1 --off setxkbmap -model logitech_base -layout us -variant altgr-intl -option terminate:ctrl_alt_bksp,misc:typo,compose:lwin if [ -f ~/.Xmodmap ]; then xmodmap ~/.Xmodmap fi exec i3 The keybaord iѕ ok but the xrandr commandせ are not executed. If I launch `sh .xinitrc` after login it works. I suppose they are not in the right file, but which is the good one? If someboday had an advice… Thanks in advance. -- Jacques Foucry