単に CapsLock を Ctrl にするには、 /etc/default/keyboard の XKBOPTIONS を "ctrl:nocaps" に書き換える。CapsLock と Ctrl を交換する場合は "ctrl:swapcaps" とする。要リブート。 # Check /usr/share/doc/keyboard-configuration/README.Debian for # documentation on what to do after having modified this file. # The following variables describe your keyboard and can have the same # values as the XkbModel, XkbLayout, XkbVariant and XkbOptions options # in /etc/X11/xorg.conf. XKBMODEL="pc105" XKBLAYOUT="jp" XKBVARIANT="" XKBOPTIONS="ctrl:nocaps" # If you don't want to use the XKB layout on the console, you can # specify an alternative keymap. Make sure it will be accessible # before /usr is mounted. # KMAP=/etc/console-setup/defkeymap.kmap.gz
コメントの実験
返信削除エラーになる?
返信削除気のせいか
返信削除