Linux???????linux?????????
???????????? ???????[ 2015/2/5 15:51:37 ] ?????????????? Linux
???????????Fedora-19
????$ uname -a
????Linux localhost.localdomain 3.11.10-200.fc19.i686 #1 SMP Mon Dec 2 20:48:22 UTC 2013 i686 i686 i386 GNU/Linux
???????xmodmap??????????????man xmodmap???????н???????caplock(??Сд?л???)????ctrl?????????
??????????????????????????????滻???ɡ?????ο??????????????Alt????Ctrl???????????
???????????man?????????
!
! Swap Caps_Lock and Control_L
!
remove Lock = Caps_Lock
remove Control = Control_L
keysym Control_L = Caps_Lock
keysym Caps_Lock = Control_L
add Lock = Caps_Lock
add Control = Control_L
??????????????д???????????keymaprc?????xmodmap keymaprc??????Ч????????????????????????????е???ε????????????????????
???????????????????
?????????????????????????????????Ч?????????xmodmap keymaprcд???????????棬???keymaprc????????????: .keymaprc??????$HOME?????
$ cat ~/.keymaprc
remove Control = Control_R
remove mod1 = Alt_R
keysym Control_R = Alt_R
keysym Alt_R = Control_R
add Control = Control_R
add mod1 = Alt_R
????alt??MODIFIERNAME?mod1????????man??????????????MODIFIERNAME??????????xmodmap????window???????mod4
$ xmodmap
xmodmap: up to 4 keys per modifier?? (keycodes in parentheses):
shift Shift_L (0x32)?? Shift_R (0x3e)
lock Caps_Lock (0x42)
control Control_L (0x25)?? Control_R (0x69)
mod1 Alt_L (0x40)?? Alt_R (0x6c)?? Meta_L (0xcd)
mod2 Num_Lock (0x4d)
mod3
mod4 Super_L (0x85)?? Super_R (0x86)?? Super_L (0xce)?? Hyper_L (0xcf)
mod5 ISO_Level3_Shift (0x5c)?? Mode_switch (0xcb)
?????????????Ч????~/.bashrc??????????????????????????????????????????????????Σ??????????????????????????
????xmodmap $HOME/.keymaprc
???????????Ч??????????????source ~/.bashrc??????е???????Ч??
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11