0

I'm on Zorin OS 16.1 based on Ubuntu 20.04.

Current setup:

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?

New contributor
Wayne Yao is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

0

Your Answer

Wayne Yao is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.