[TriLUG] xkb / xmodmap

Kenneth Parker via TriLUG trilug at trilug.org
Mon Jun 21 22:44:18 EDT 2021


On Mon, Jun 21, 2021, 7:15 PM David Brain via TriLUG <trilug at trilug.org>
wrote:

> Hi,
>
> Have a laptop where up/down keys don't work - had originally used xmodmap
> to remap Right-ALT Left/Right to Up Down.  No, with Ubuntu 21.04 xmodmap
> has been deprecated and xkb seems to be the way to go - does anyone have
> any pointers as to how to achieve the remapping with xkb, so far my
> attempts have not been successful.
>

This actually looks like a job for an external, usb Keyboard. My guess is
that your current Keyboard may be defective.

With xmodmap I was using as my .Xmodmap:
>
> keycode 108 = Mode_switch
> keysym Left = Left Left Up
> keysym Right = Right Right Down
>

The problem is, if it *is* a hardware problem, another key may go out, just
as soon as you make these changes.

Thanks,
>
> David.
>

Good luck!

Kenneth Parker

>


More information about the TriLUG mailing list