
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+编译配置
- 最轻量的 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
- get all answers right blooket
- get+all+answers+right+blooket
- hack for blooket to get evrey answer right
- hack+for+blooket+to+get+evrey+answer+right
- get every questio 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
Recent search keywords
- Website Design Company Sydney
- 01878074300
- License plate
- Crdroid android 12.1 custom recovery
- Crdroid android 12.1 orangefox recovery ew
- Crdroid android 12.1 orangefox recovery
- Babu marma
- charger barril
- switch
- usbc c
- 公主日记
- Mame ching
- 里菜
- ipx-776
- 陈奕迅
- 斯巴达克斯
- 冰与火之歌
- 亚洲
- 色戒
- secret level
- 芭蕾女杀手
- 芭蕾复仇曲
- 死侍与金刚狼
- 毒液3
- 毒液
- 新妈妈
- 字幕库
- 异形
- 红雀
- 异世界舅舅
- 急诊室的故事
- 寿司
- 异次元骇客
- Notting Hill
- 黄石
- 名侦探柯南
- AND559
- Yellowstone S02
- geographical aspects of cyber crime
- Forced Nightmare
- ABP-168
- justvisiting
- 守法公民
- gexp-64
- 狮子王
- Poison.Ivy.The.New.Seduction.1997.UNRATED.1080p.BluRay.x265-RARBG
- 张国荣2000年热情演唱会
- lucy.2014
- Lucy.2014.2160p.BluRay.REMUX.HEVC.DTS-HD.MA.TrueHD.Atmos.7.1-FGT
- lucy
- 超体
- 胆大党 / Dandadan - 10
- 锦衣夜行
- 黑吃黑
- banshee
- In the Realm Of the Senses
- 海洋奇缘2
- 日子
- The Invasion 2007
- obsidian
- 雪国
- 寮國
- 星期天的人们
- 星期天的人
- 全领域异常解决室
- 射精執行官
- ABP984
- 984
- apb-984
- The.Expendables.2
- R3字幕组
- 纸牌屋
- booty shorts
- 周荣华
- 喋血双雄
- baptise kempf
- 我来自潮州
- Getting Started with Rust on a Raspberry Pi Pico
- Nail charms
- blooket global
- stefanzweifel.dev
- weak
- dim screen
- creatie
- figma
- Jons
- Antique cross
- How to Use the PostgreSQL Date Data Type
- 巴黎陷落
- ac8257
- hacks
- kali linux vitual images
- 10003
- JCAC
- mapboxgl
- sjh7742
- Certified Mechanical
- CustomerID
- 行高
- wichary