Browse Source

always use jp keymap

pull/1/head
10sr 11 years ago
parent
commit
bdf4990098
2 changed files with 2 additions and 1 deletions
  1. +1
    -1
      20-keyboard.conf
  2. +1
    -0
      xinitrc

+ 1
- 1
20-keyboard.conf View File

@@ -4,6 +4,6 @@ Section "InputClass"
Identifier "Keyboard Defaults" Identifier "Keyboard Defaults"
MatchIsKeyboard "yes" MatchIsKeyboard "yes"
# Option "XkbModel" "acer_laptop" # Option "XkbModel" "acer_laptop"
# Option "XkbLayout" "jp"
Option "XkbLayout" "jp"
Option "XkbOptions" "ctrl:nocaps,ctrl:menu_rctrl" Option "XkbOptions" "ctrl:nocaps,ctrl:menu_rctrl"
EndSection EndSection

+ 1
- 0
xinitrc View File

@@ -2,6 +2,7 @@ test -n "$DISPLAY" || return
test -z "$ROXTERM_PID" || return test -z "$ROXTERM_PID" || return
test -z "$SSH_CONNECTION" || return test -z "$SSH_CONNECTION" || return


setxkbmap -layout "jp"
test "`hostname`" == "arch-aspireone" && test "`hostname`" == "arch-aspireone" &&
setxkbmap -model "acer_laptop" -layout "jp" # this line must comes first setxkbmap -model "acer_laptop" -layout "jp" # this line must comes first




Loading…
Cancel
Save