PINE64
Keyboard Remapping? - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: General Discussion on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=127)
+--- Thread: Keyboard Remapping? (/showthread.php?tid=17957)



Keyboard Remapping? - jakfish - 02-21-2023

Has anybody successfully remapped keys in the physical kb? I've tried xmodmap and xbindkeys, and while I'm not producing errors in console, I'm not producing the changes either.

My goals:

/? = Right Shift
AltG+3 = Slash
AltG+4 = ?

Any advice about how to pull this off?

EDIT: specs = PinePhone + Manjaro Phosh Beta 29


RE: Keyboard Remapping? - jakfish - 02-23-2023

A working hack:

in /usr/share/X11/xkb/symbols/us

under:
Code:
name[Group1]= "English (US)";


change key <AB10> to:

Code:
key <AB10> {[ Shift_R, question, slash ]};

This generates:

/? = Right Shift
Shift + /? = question mark
AltG + /? = slash