Naf*_*Kay 5 keyboard keyboard-layout shortcut-keys
在 Apple 键盘上,我在 Linux 上最喜欢的功能之一是,如果我按住Fn+ Left,它会触发Home键、Fn+Right触发器End、Fn+Up触发器PageUp和Fn+Down触发器PageDown
这使得文本导航变得非常简单:无需离开主行,我就可以轻松地浏览文档和行。
由于原因(触摸栏:'[),我将不再使用 Apple 硬件,现在我使用的是 ThinkPad X1 Yoga。我想重新映射很多键以反映我的 Apple 键盘上发生的情况。
这是我按下和释放Fn键的结果:
KeyPress event, serial 53, synthetic NO, window 0x4400001,
root 0x13c, subw 0x0, time 110088308, (71,-372), root:(1262,292),
state 0x0, keycode 151 (keysym 0x1008ff2b, XF86WakeUp), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 53, synthetic NO, window 0x4400001,
root 0x13c, subw 0x0, time 110088318, (71,-372), root:(1262,292),
state 0x0, keycode 151 (keysym 0x1008ff2b, XF86WakeUp), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
Run Code Online (Sandbox Code Playgroud)
这是按下和释放的结果Left:
KeyPress event, serial 53, synthetic NO, window 0x4400001,
root 0x13c, subw 0x0, time 110150520, (-320,-320), root:(871,344),
state 0x0, keycode 113 (keysym 0xff51, Left), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 53, synthetic NO, window 0x4400001,
root 0x13c, subw 0x0, time 110150591, (-320,-320), root:(871,344),
state 0x0, keycode 113 (keysym 0xff51, Left), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
Run Code Online (Sandbox Code Playgroud)
最后,这是按下 的结果Home:
KeyPress event, serial 53, synthetic NO, window 0x4400001,
root 0x13c, subw 0x0, time 110552974, (56,-93), root:(1247,571),
state 0x0, keycode 110 (keysym 0xff50, Home), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 53, synthetic NO, window 0x4400001,
root 0x13c, subw 0x0, time 110553021, (56,-93), root:(1247,571),
state 0x0, keycode 110 (keysym 0xff50, Home), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
Run Code Online (Sandbox Code Playgroud)
我读了很多矛盾的信息xmodmap和xkbcomp。我不确定我必须做什么,但我想它涉及映射尚不存在的快捷方式。
我错过了什么,我该如何继续?