Date: Thu, 12 Mar 2020 00:01:43 +0100 From: Steffen Nurpmeso <steffen@sdaoden.eu> To: Bob Willcox <bob@immure.com> Cc: Michael Gmelin <freebsd@grem.de>, Mark Martinec <Mark.Martinec+freebsd@ijs.si>, 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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 |>>> <Mark.Martinec+freebsd@ijs.si> 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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200311230143.0jnF_%steffen>