Browse Source

update xinitrc

pull/1/head
10sr 10 years ago
parent
commit
91685a5219
1 changed files with 5 additions and 2 deletions
  1. +5
    -2
      xinitrc

+ 5
- 2
xinitrc View File

@@ -12,8 +12,11 @@ esac
unset TMUX unset TMUX


setxkbmap -layout "jp" setxkbmap -layout "jp"
test "`hostname`" == "arch-aspireone" &&
setxkbmap -model "acer_laptop" -layout "jp" # this line must comes first
# use localectl list-x11-keymap-models to get list of available models
test "`hostname`" = "arch-aspireone" && \
setxkbmap -model "acer_laptop" -layout "jp" # this line must comes first
test "`hostname`" = "arch-mba" && \
setxkbmap -model "apple_laptop" -layout "jp" # this line must comes first


setxkbmap -option "ctrl:nocaps,ctrl:menu_rctrl" setxkbmap -option "ctrl:nocaps,ctrl:menu_rctrl"
xmodmap -e 'keycode 101 = Alt_R Meta_R' # hiragana key as alt xmodmap -e 'keycode 101 = Alt_R Meta_R' # hiragana key as alt


Loading…
Cancel
Save