> Date: Fri, 2 Jul 2021 13:55:26 +0300
> From: Gregory Edigarov <edigarov@qarea.com>
> in my case it changes to the vterm0,
> but now I my app to react, not change terminal
you probably want
xmodmap(1) - utility for modifying keymaps... in X
the keysym that is the cause of your problems is
XF86Switch_VT_1
to see for yourself, try
xmodmap -pke | grep Switch_VT
i have never used xmodmap---i use xkbcomp(1)---
and i cant remember much about X keyboards stuff,
so dont just assume what i will say is right, but:
i think the following should fix your problem ???
xmodmap -e "F1 = F1 F1"
if not then good luck trying to understand X key maps.
or maybe this might work ???
xmodmap -pke | sed '/XF86Switch_VT_1/!d;s//F1/' | xmodmap -
No comments:
Post a Comment