xmodmap doesn't work, because
copilot KeyPress is recognized by xev as a Supr + Shift_L
The difference is at state 0x1 and state 0x40
COPILOT KEY:
KeyRelease event, serial 38, synthetic NO, window 0xa00001,
root 0x3c8, subw 0x0, time 3990946, (181,204), root:(231,281),
state 0x41, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
SHIFT_L KEY:
KeyRelease event, serial 38, synthetic NO, window 0xa00001,
root 0x3c8, subw 0x0, time 4144674, (181,204), root:(231,281),
state 0x1, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
Fn+Copilot Key
activate the Menu
Option.
On the old keyboardlayout the PrtSc was easy to remap by xmodmap
xmodmap -pke > ~/keymaptable
sudo sed -i 's/Print,/w,/g' /usr/share/X11/xkb/symbols/pc
sudo rm -rf /var/lib/xkb/*
Now`PrintKey` = F9.
Solved it with keyd https://github.com/rvaiya/keyd leftshift+leftmeta =w This way you're able to close tabs with Ctrl and the Copilot key.
Обсуждают сегодня