I'm on Zorin OS 16.1 based on Ubuntu 20.04.
I disabled caps lock key when pressed alone then map caps lock + hjkl to corresponding arrow key via
xmodmap and this works perfectly, recognizing many combination like word jump
ctrl + caps lock + h (equals to
ctrl + left).
keycode 66 = Mode_switch keysym h = h H Left keysym l = l L Right keysym k = k K Up keysym j = j J Down
But when I was trying to use
gsettings to map some gnome workspace movement, the arrow key map doesn't seem to work.
e.g., When I configure this to move between workspace horizontally,
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-left "['<Alt>Left']"
My imagination is when I press
Alt + CapsLock + h, it got interpreted to
Alt + Left and does what it is told to. But the fact is this works only when I press the real left arrow key.
How can I fix this?