From owner-freebsd-current@freebsd.org Thu Mar 12 15:38:22 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 90FB4263C05; Thu, 12 Mar 2020 15:38:22 +0000 (UTC) (envelope-from bob@rancor.immure.com) Received: from rancor.immure.com (108-84-10-9.lightspeed.austtx.sbcglobal.net [108.84.10.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "darth.immure.com", Issuer "darth.immure.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 48dXzJ4VDvz4HRY; Thu, 12 Mar 2020 15:38:20 +0000 (UTC) (envelope-from bob@rancor.immure.com) Received: from rancor.immure.com (localhost [127.0.0.1]) by rancor.immure.com (8.15.2/8.15.2) with ESMTPS id 02CFaio1007927 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 12 Mar 2020 10:36:44 -0500 (CDT) (envelope-from bob@rancor.immure.com) Received: (from bob@localhost) by rancor.immure.com (8.15.2/8.15.2/Submit) id 02CFagWf007926; Thu, 12 Mar 2020 10:36:42 -0500 (CDT) (envelope-from bob) Date: Thu, 12 Mar 2020 10:36:42 -0500 From: Bob Willcox To: Michael Gmelin Cc: Mark Martinec , freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: Re: New Xorg - different key-codes Message-ID: <20200312153629.GA7853@rancor.immure.com> Reply-To: Bob Willcox References: <20200311222327.GD5435@rancor.immure.com> <9674EB7F-393B-43DB-9892-83B4F1C88451@grem.de> <20200312122416.GB1053@rancor.immure.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200312122416.GB1053@rancor.immure.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Rspamd-Queue-Id: 48dXzJ4VDvz4HRY X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of bob@rancor.immure.com has no SPF policy when checking 108.84.10.9) smtp.mailfrom=bob@rancor.immure.com X-Spamd-Result: default: False [4.97 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[bob@immure.com]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; IP_SCORE(0.37)[ip: (0.18), ipnet: 108.64.0.0/11(0.08), asn: 7018(1.62), country: US(-0.05)]; TAGGED_RCPT(0.00)[freebsd]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[immure.com]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.91)[0.907,0]; REPLYTO_EQ_FROM(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[0.996,0]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[bob@immure.com,bob@rancor.immure.com]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7018, ipnet:108.64.0.0/11, country:US]; FROM_NEQ_ENVFROM(0.00)[bob@immure.com,bob@rancor.immure.com]; SUSPICIOUS_RECIPS(1.50)[]; RCVD_COUNT_TWO(0.00)[2] 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:38:22 -0000 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: > > > > > > > On 11. Mar 2020, at 23:25, Bob Willcox wrote: > > > > > > ???On Wed, Mar 11, 2020 at 11:04:18PM +0100, Michael Gmelin wrote: > > >> > > >> > > >>>> On 11. Mar 2020, at 22:58, Bob Willcox wrote: > > >>> > > >>> ???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. > > >>>>>> Indeed. This doesn't just affect -CURRENT: it happened to me on > > >>>>>> -STABLE last week, so I'm copying that list too. > > >>>>> > > >>>>> And a "Down" key now opens and closes a KDE "Application Launcher", > > >>>>> alternatively with its original function (which makes editing a > > >>>>> frustration). > > >>>>> > > >>>>> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244354 > > >>>>> > > >>>>> > > >>>> > > >>>> 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? > > >>> > > >> > > >> 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. > > Bob > > -- > Bob Willcox | It's possible that the whole purpose of your life is to > bob@immure.com | serve as a warning to others. > Austin, TX | -- Bob Willcox | It's possible that the whole purpose of your life is to bob@immure.com | serve as a warning to others. Austin, TX |