Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Mar 2020 10:36:42 -0500
From:      Bob Willcox <bob@immure.com>
To:        Michael Gmelin <freebsd@grem.de>
Cc:        Mark Martinec <Mark.Martinec+freebsd@ijs.si>, freebsd-current@freebsd.org,  freebsd-stable@freebsd.org
Subject:   Re: New Xorg - different key-codes
Message-ID:  <20200312153629.GA7853@rancor.immure.com>
In-Reply-To: <20200312122416.GB1053@rancor.immure.com>
References:  <20200311222327.GD5435@rancor.immure.com> <9674EB7F-393B-43DB-9892-83B4F1C88451@grem.de> <20200312122416.GB1053@rancor.immure.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <bob@immure.com> wrote:
> > > 
> > > ???On Wed, Mar 11, 2020 at 11:04:18PM +0100, Michael Gmelin wrote:
> > >> 
> > >> 
> > >>>> On 11. Mar 2020, at 22:58, Bob Willcox <bob@immure.com> wrote:
> > >>> 
> > >>> ???On Wed, Mar 11, 2020 at 02:48:56PM +0100, Michael Gmelin wrote:
> > >>>> ???
> > >>>>>> On 11. Mar 2020, at 10:29, Mark Martinec
> > >>>>>> <Mark.Martinec+freebsd@ijs.si> 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     |



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200312153629.GA7853>