From owner-freebsd-current@freebsd.org Thu Mar 12 15:54:16 2020 Return-Path: Delivered-To: freebsd-current@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 DFEF82643EC; Thu, 12 Mar 2020 15:54:16 +0000 (UTC) (envelope-from freebsd@grem.de) Received: from mail.evolve.de (mail.evolve.de [213.239.217.29]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (Client CN "mail.evolve.de", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48dYKf4Hp2z3yqJ; Thu, 12 Mar 2020 15:54:14 +0000 (UTC) (envelope-from freebsd@grem.de) Received: by mail.evolve.de (OpenSMTPD) with ESMTP id 5c58249b; Thu, 12 Mar 2020 15:54:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=grem.de; h=date:from:cc :subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=20180501; bh=brwvWf26 nfW+bhmv+XK/yx0JuvU=; b=tp8+wFREog9MWDbamych1mTwtpsLqEcUA9+GL/vC sV3lsvj7RKxR6MXDqzSmi5+OPulg3HyzkJKK2jG/3GHsZzmQZIt7BROwsMHVCAJm S/KLgL6OSzVPnU9YRPXj897fwiLYhrPepRdGDJzN12m596f/UC+Acav7tDnJyslX edtzJE2HDTm/qplp/leBfJYhhMAbjXtNoxxbjBSFbYU9m1tZHbKieLG+D5CJhoHz 8lM4TJF0MgVcAN45xW0SzDUptbNuA8HhZ8mwHXxVRUiZ39ctPOyDBHLHWq1LKU61 PVWIQ2RS1iCEThN/teyLQwjBbW3CcwHwA72kewSwXZeJ0g== DomainKey-Signature: a=rsa-sha1; c=nofws; d=grem.de; h=date:from:cc :subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; q=dns; s=20180501; b=RS 6DhMDtXDyWWBahF3X3qg7tLtaUbfzmQ6XbiNBf0Jn4n7TDD8begXjiYD4AhEXefz m9KU3Wc2H4O3Dc1w5IoRvdUYZW8ik7ZyIRhYlX3R/xhLz+vigO9ppbWYRSdH719W sv2nFlS2lWFR9QV/Q0CrREwv0aOXI9jLOxPdxnY3xDMRJPXzQWnVSt/zpfz30yDs +GUoo6rKKFcNEnf6pe1feERnIL4HSwyc6mMgRE8aKK1KdfuwgboNL1V87X6mty2e of3/TzPRHS5rfVMEdnWFfk+X/g6fDvL1tNHNQM6pzzsUPCG0CuD2PFeGmW8AfdwD lTLhEyw9mI+DGs8TMWIQ== Received: by mail.evolve.de (OpenSMTPD) with ESMTPSA id 8158bc19 (TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256:NO); Thu, 12 Mar 2020 15:54:03 +0000 (UTC) Date: Thu, 12 Mar 2020 16:53:32 +0100 From: Michael Gmelin Cc: Bob Willcox , Mark Martinec , freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: Re: New Xorg - different key-codes Message-ID: <20200312165332.58af13f7@bsd64.grem.de> In-Reply-To: <20200312153629.GA7853@rancor.immure.com> References: <20200311222327.GD5435@rancor.immure.com> <9674EB7F-393B-43DB-9892-83B4F1C88451@grem.de> <20200312122416.GB1053@rancor.immure.com> <20200312153629.GA7853@rancor.immure.com> X-Face: $wrgCtfdVw_H9WAY?S&9+/F"!41z'L$uo*WzT8miX?kZ~W~Lr5W7v?j0Sde\mwB&/ypo^}> +a'4xMc^^KroE~+v^&^#[B">soBo1y6(TW6#UZiC]o>C6`ej+i Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEWJBwe5BQDl LASZU0/LTEWEfHbyj0Txi32+sKrp1Mv944X8/fm1rS+cAAAACXBIWXMAAAsTAAAL EwEAmpwYAAAAB3RJTUUH3wESCxwC7OBhbgAAACFpVFh0Q29tbWVudAAAAAAAQ3Jl YXRlZCB3aXRoIFRoZSBHSU1QbbCXAAAAAghJREFUOMu11DFvEzEUAGCfEhBVFzuq AKkLd0O6VrIQsLXVSZXoWE5N1K3DobBBA9fQpRWc8OkWouaIjedWKiyREOKs+3PY fvalCNjgLVHeF7/3bMtBzV8C/VsQ8tecEgCcDgrzjekwKZ7TwsJZd/ywEKwwP+ZM 8P3drTsAwWn2mpWuDDuYiK1bFs6De0KUUFw0tWxm+D4AIhuuvZqtyWYeO7jQ4Aea 7jUqI+ixhQoHex4WshEvSXdood7stlv4oSuFOC4tqGcr0NjEqXgV4mMJO38nld4+ xKNxRDon7khyKVqY7YR4d+Cg0OMrkWXZOM7YDkEfKiilCn1qYv4mighZiynuHHOA Wq9QJq+BIES7lMFUtcikMnkDGHUoncA+uHgrP0ctIEqfwLHzeSo+eUA66AqzwN6n 2ZHJhw6Qh/PoyC/QENyEyC/AyNjq74Bs+3UH0xYwzDUC4B97HgLocg1QLYgDDO1v f3UX9Y307Ew4AHh67YAFFsxEpkXwpXY3eIgMhAAE3R19L919nNnuD2wlPcDE3UeT L2ytEICQib9BXgS2fU8PrD82ToYO1OEmMSnYTjSqSv9wdC0tPYC+rQRQD9ESnldF CyqfmiYW+tlALt8gH2xrMdC/youbjzPXEun+/ReXsMCDyve3dZc09fn2Oas8oXGc Jj6/fOeK5UmSMPmf/jL+GD8BEj0k/Fn6IO4AAAAASUVORK5CYII= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 48dYKf4Hp2z3yqJ X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=grem.de header.s=20180501 header.b=tp8+wFRE; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@grem.de designates 213.239.217.29 as permitted sender) smtp.mailfrom=freebsd@grem.de X-Spamd-Result: default: False [-0.77 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[grem.de:s=20180501]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+ip4:213.239.217.29/32]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; TAGGED_RCPT(0.00)[freebsd]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[grem.de]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[grem.de:+]; MISSING_TO(2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-1.77)[ip: (-7.24), ipnet: 213.239.192.0/18(-0.04), asn: 24940(-1.56), country: DE(-0.02)]; ASN(0.00)[asn:24940, ipnet:213.239.192.0/18, country:DE]; RCVD_TLS_ALL(0.00)[]; SUSPICIOUS_RECIPS(1.50)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Mar 2020 15:54:17 -0000 On Thu, 12 Mar 2020 10:36:42 -0500 Bob Willcox wrote: > On Thu, Mar 12, 2020 at 07:24:42AM -0500, Bob Willcox wrote: > > On Wed, Mar 11, 2020 at 11:46:49PM +0100, Michael Gmelin wrote: > > > > > > > > > SNIP SNAP > > > >> It might fix the ???Down key opens application launcher??? > > > >> problem by applying the correct keymap (you have to select the > > > >> correct one, ???de??? probably won???t cut it for you). At > > > >> least it did with xfce, where it was important to run it > > > >> before the wm starts - you could also try running it > > > >> afterwards to see if it makes a difference. > > > > > > > > I don't know about that problem. What I'm experiencing is the > > > > Alt-up,down,left,right keys don't work as they used to in my > > > > ctwm window manager. They used to move the current window to > > > > the closest boundry in the direction indicated by the key that > > > > is also pressed (while holding the Alt key down). Also, > > > > Alt-shift-up,down,left,right would expand the window in the > > > > direction indicated by the key. These actions seem to do > > > > nothing now. > > > > > > I don???t know much about ctwm, but why don???t you give it a > > > shot? > > > > I plan to sometime today when I get into the office. But since it's > > my work system and I am dependent on it to do my job, I've just > > been a little hesitant. > > Ok, I added this to my ~/.xinitrc file: > > setxkbmap -model pc105 -layout us > > and my ctwm window adjustment hot keys are working again. :) > > I do wonder why it was deemed ok to change the default behavior for > the key mappings? Couldn't the default mappings have remained the > same with change to evdev? This change certainly violated the > "principle of least surprise" for me. > > I think the change was unavoidable, but it could've been communicated better. Then again, time and resources are limited and I'm quite grateful the graphics team finally made that necessary push forward. I'm curious how people set their keyboard layout in the past though, is it possible that the defaults just worked for US users? I always had to set it explicitly (setxkbmap or in Xorg.conf), so I was never really affected by this change. -m p.s. What does "setxkbmap -query" show if you start X without setting the keymap in .xinitrc? -- Michael Gmelin