0
Linux 上通过 Xmodmap 配置up down left right 几个键位到Caps Lock + hjkl
配置up down left right 几个键位到Caps Lock + hjkl
- xmodmap 实际修改的是
/usr/share/X11/xkb/symbols/
里面键盘布局对应的键。所以可以用xmodmap修改, 也可以直接修改键盘布局的配置文件。 .Xmodmap 配置! clear Lock ! keycode 66 = ISO_Level3_Shift ! clear mod1 ! keycode 64 = ISO_Level3_Shift keycode 66 = Mode_switch Mode_switch keycode 43 = h H Left Left keycode 44 = j J Down Down keycode 45 = k K Up Up keycode 46 = l L Right Right keycode 56 = b B Home keycode 31 = i I Insert Insert keycode 26 = e E End keycode 40 = d D Delete keycode 39 = s S BackSpace keycode 58 = m M Menu keycode 57 = n N Return keycode 33 = p P XF86Paste keycode 54 = c C XF86Copy keycode 53 = x X XF86Cut keycode 30 = u U Caps_Lock keycode 34 = bracketleft braceleft Prior Prior keycode 35 = bracketright braceright Next Next
然后运行 xmodmap ~/.Xmodmap 即可 随X11自动启动, 在/etc/X11/Xsession 添加 xmodmap ~/.Xmodmap
xmodmap -pek 查看映射情况 可以安装xev 查看keycode
- keycode 对应解释:
keycode <x> = <1> <2> <3> <4> <5> <6> <7> <8>
<1> <key> nomodifier <2> <shift-key> shift <3> <"Mode_switch"-key> Mode_switch <4> <"Mode_switch"-key> Mode_switch and shift <5> <"Num_Lock"-key> AltGr <6> - <7> <"Num_Lock"-"Mode_switch"-key> <8> -
回复
Recommend
相关搜索关键词
- 最轻量的 es2015 编译配置
- 最轻量的+es2015+编译配置
- blooket hacks all anwer right
- get all the answers right
- get every question right blooket
- get all questions right
- get every answer right.ns
- get every answer right
- all answers right
- blooket+hacks+all+anwer+right
- get+all+the+answers+right
- get+every+answer+right.ns
- get+every+answer+right
- get+all+questions+right
- defconst linux
- Linux
- kali linux custom image downloads
- kali linux virtual box
- kail linux
- kali linux offacive security virtual mation
- Kali Linux Custom Image Downloads - Offensive Security
- kali linux custom image downloads - offensive security
- kali linux.ova
- kali linux
- defconst on-linux
- linux
- [opengl and vulkan interoperability on linux] part 1
- [OpenGL and Vulkan Interoperability on Linux] Part 1
- Kali Linux Custom Image Downloads
- kali linux virtualbox
Recent search keywords
- YT9217b
- YT9217b firmware
- HW8227L
- tinystudio
- Slim odan
- Slim
- clash tun
- tun
- 国模
- 中文数据集
- 北邮人论坛十大_2024_04_18
- 北邮人论坛十大_2024_03_23
- JAC 8229B
- JCAC10003-OC2-V1.0.03B21041
- JCAC10003-OC2-V1.0.03B1
- atrust
- dallas.lu
- 知情同意的
- checking system health gpt
- checking system health
- iptv smart player
- LLM
- MLC
- mlc llm
- k4811_oh_s217101
- 8257 logo
- logo
- Oneplus 8t
- Kernel
- tab 4
- JCAC10003-OC2-V1.0.071R5-230413_0757
- SCSI
- incentivize
- Ergonomic Frozen Shirt
- Producer
- 4th generation
- parsing
- Berkshire
- Multi-tiered
- copy
- teal
- Hills
- card
- Wooden
- Northern Mariana Islands
- deliver
- syndicate
- Money Market Account
- Assurance
- Representative
- compress
- Iowa
- Cheese
- solid state
- extend
- withdrawal
- Taka
- Planner
- attitude
- impactful
- copying
- Savings Account
- Tuna
- Creative
- Indian Rupee Ngultrum
- District
- Fantastic
- Personal Loan Account
- functionalities
- Gorgeous
- enhance
- Noord-Holland
- Utrecht
- Kuwaiti Dinar
- Bedfordshire
- Baby
- Soap
- paradigms
- bypass
- USB
- Costa Rica
- Analyst
- Tactics
- 因研究計畫
- indea
- api管理系统源码
- dissertation conclusion
- 社工库源码
- version 2023.10.19.20
- mabbs.github.io
- mabbs
- 旧电脑
- old-pc
- interleaving in sap ewm
- marketplace
- gpt
- 学习强国
- tlink5 dingwei 5.3.47
- reverse
- 海角社区上车