From owner-freebsd-stable@freebsd.org Wed Mar 11 23:01:52 2020 Return-Path: Delivered-To: freebsd-stable@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 BC92026D78B; Wed, 11 Mar 2020 23:01:52 +0000 (UTC) (envelope-from steffen@sdaoden.eu) Received: from sdaoden.eu (sdaoden.eu [217.144.132.164]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48d6sW5PfTz49K6; Wed, 11 Mar 2020 23:01:51 +0000 (UTC) (envelope-from steffen@sdaoden.eu) Received: by sdaoden.eu (Postfix, from userid 1000) id A6F1416054; Thu, 12 Mar 2020 00:01:44 +0100 (CET) Date: Thu, 12 Mar 2020 00:01:43 +0100 From: Steffen Nurpmeso To: Bob Willcox Cc: Michael Gmelin , Mark Martinec , freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: Re: New Xorg - different key-codes Message-ID: <20200311230143.0jnF_%steffen@sdaoden.eu> In-Reply-To: <20200311214930.GC5435@rancor.immure.com> References: <6897965B-8B8A-4B18-A4BB-BEC77D3D6DC7@grem.de> <20200311214930.GC5435@rancor.immure.com> Mail-Followup-To: Bob Willcox , Michael Gmelin , Mark Martinec , freebsd-current@freebsd.org, freebsd-stable@freebsd.org User-Agent: s-nail v14.9.17-52-g56288e6a OpenPGP: id=EE19E1C1F2F7054F8D3954D8308964B51883A0DD; url=https://ftp.sdaoden.eu/steffen.asc; preference=signencrypt BlahBlahBlah: Any stupid boy can crush a beetle. But all the professors in the world can make no bugs. X-Rspamd-Queue-Id: 48d6sW5PfTz49K6 X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of steffen@sdaoden.eu designates 217.144.132.164 as permitted sender) smtp.mailfrom=steffen@sdaoden.eu X-Spamd-Result: default: False [2.77 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.73)[-0.727,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; TAGGED_RCPT(0.00)[freebsd]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[sdaoden.eu]; RCPT_COUNT_FIVE(0.00)[5]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.99)[0.987,0]; MID_CONTAINS_FROM(1.00)[]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15987, ipnet:217.144.128.0/20, country:DE]; IP_SCORE(0.31)[asn: 15987(1.56), country: DE(-0.02)]; SUSPICIOUS_RECIPS(1.50)[] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Mar 2020 23:01:52 -0000 Bob Willcox wrote in <20200311214930.GC5435@rancor.immure.com>: |On Wed, Mar 11, 2020 at 02:48:56PM +0100, Michael Gmelin wrote: |>>> On 11. Mar 2020, at 10:29, Mark Martinec |>>> wrote: ... |>>>> I just updated my laptop from source, and somewhere along the way |>>>> the key-codes Xorg sees changed. ... |> This *might* help you: |> |> https://lists.freebsd.org/pipermail/freebsd-x11/2020-February/025046.html |> |> (Short version: run setxkbmap in ~/.xinitrc, e.g., |> setxkbmap -model pc105 -layout de) | |Will running that command return my key mappings back to what they \ |use to be? I for one am totally baffled that you all "just can go". My ~/.xinitrc is (in parts) if command -v setxkbmap >/dev/null 2>&1; then if [ -f ~/.${HOSTNAME}.xkbmap ]; then setxkbmap `cat ~/.${HOSTNAME}.xkbmap` elif [ -f ~/.xkbmap ]; then setxkbmap `cat ~/.xkbmap` fi fi if command -v xmodmap >/dev/null 2>&1; then [ -f ~/.xmodmaprc ] && xmodmap ~/.xmodmaprc [ -f ~/.${HOSTNAME}.xmodmaprc ] && xmodmap ~/.${HOSTNAME}.xmodmaprc fi if command -v xrdb >/dev/null 2>&1; then [ -f ~/.Xdefaults ] && xrdb -merge ~/.Xdefaults [ -f ~/.${HOSTNAME}.Xdefaults ] && xrdb -merge ~/.${HOSTNAME}.Xdefaults fi and i (i think ever) had to _have_ those (former being 'de(nodeadkeys)', the middle one too long to paste, but also works around the "g" key of that Lenovo notebook ever since that stopped working). --steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt)