Skip to content
Hotkeys CapsLock + ijk; => Up, Left, Down, Right
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Hotkeys CapsLock + ijk; => Up, Left, Down, Right

Update for Xubuntu/Ubuntu 16.10:

  1. Run ./
  2. Restart system

Work for me

  1. Copy xkb folder to "/usr/share/X11/xkb"
  2. Run
# apply xkb
setxkbmap -symbols my -print | xkbcomp -I"$HOME/.config/xkb" - "${DISPLAY%%.*}"

# xmodmaps reset after change layout
sudo dpkg-reconfigure xkb-data

Old way:

Create file: ~/.Xmodmap file

clear lock
remove Lock = Caps_Lock
remove Shift = Caps_Lock

keycode 66 = NoSymbol NoSymbol
keycode 66 = Mode_switch

keysym j = j J Left NoSymbol NoSymbol NoSymbol
keysym k = k K Down NoSymbol NoSymbol NoSymbol
keysym i = i I Up NoSymbol NoSymbol NoSymbol
keysym l = l L Right NoSymbol lstroke Lstroke
keysym u = u U BackSpace NoSymbol lstroke Lstroke
keysym o = o O Delete NoSymbol lstroke Lstroke
keysym m = m M Home NoSymbol lstroke Lstroke
keysym comma = comma less End NoSymbol lstroke Lstroke
keysym p = p P Prior NoSymbol lstroke Lstroke
keysym semicolon = semicolon colon Next NoSymbol lstroke Lstroke

Apply changes:

xmodmap ./.Xmodmap

This settings reset after change keyboard layout


XKB: перенастроим клавиши под себя любимого

заметки на «полях» клавиатуры, про xkb (pdf)

Настройка XKB.

X KeyBoard extension

Capslock + HJKL to arrow keys

xkb on maemo - problems generating level3 left and right

System wide vim-style (hjkl) navigation (xmodmap)

Mapping Super+hjkl to arrow keys under X

Reconfigure keyboard layout - 13.10, 14.04 [duplicate]

You can’t perform that action at this time.