I
I
ideamonster2018-03-03 02:54:45
linux
ideamonster, 2018-03-03 02:54:45

How to remap Caps + JKLI keys in Manjaro i3?

You need to remap the keys so that when you press the Caps + J, K, L or I key combination, it was left, down, right, up.
More clear what I mean: tonsky.me/blog/cursor-keys

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
koshi, 2018-12-02
@koshi

1) Remap the Caps key to Hyper. An easy way that doesn't require superuser privileges is here: https://unix.stackexchange.com/a/151046

Open ~/.Xmodmap and put the following:
! Unmap capslock
clear Lock
keycode 66 = Hyper_L

! Leave mod4 as windows key _only_
remove mod4 = Hyper_L

! Set mod3 to capslock
add mod3 = Hyper_L

Run this
If something goes wrong, you can reset your keyboard with:
2) Install the autokey-py3 package:
3) Run autokey-gtk and add scripts with a view body
4) Assign the necessary hotkeys with the Hyper (Caps) button.
Don't forget to click the "Save" button for the changes to take effect.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question