I set up my keyboard layout in /usr/share/X11/xkb/symbols/
to use the keys H J K L as arrows Left, Down, Up and Right as the third and fourth shift level. mostly I followed this post.
The Right Alt is my Alternative Characters Key.
While this customization will "basically" work, I can not select text by typing it in conjunction with SHIFT
. For example, I can not select the text by pressing Alt Gr+Shift+H, as it would do with Shift+Left. But I can jump a whole word with Ctrl.
the HJKL are working exactly like the arrows in Firefox (with shift and Ctrl) but not on Gedit, Rhythmbox or Chrome, and possibly more…
Any ideas?
I'm using Ubuntu 14.04.
Edit:I am using a german keyboard with AltGr.
and the files are the fowllowing:
(hope the link works now)
Best Answer
Go to
xkb/types/iso9995
and edit the"THREE_LEVEL"
type by addingso it looks like this
Then go to your symbols file and use this format
This is a related question from which I could figure out the answer to yours.