I finally came across keyd software which is a better way to do keyboard customization/keyboard mapping. I recommend using this software instead of creating custom keyboard layouts.
Since I don't use custom keyboard layouts anymore, I'm archiving this repository.
sudo bash add_layout.sh
- altgr + ı ➡️ Up (Up Arrow key)
- altgr + j ➡️ Left (Left Arrow key)
- altgr + k ➡️ Down (Down Arrow key)
- altgr + l ➡️ Right (Right Arrow key)
- altgr + u ➡️ Home
- altgr + o ➡️ End
-
ı (i-dotless) ➡️ i
-
i ➡️ ı (i-dotless)
-
ş (scedilla) Ş (Scedilla) ➡️ , ;
-
, ; ➡️ ş (scedilla) Ş (Scedilla)
-
Caps Lock ➡️ Backspace, Delete(Shift+CapsLock)
-
Extended left shift (use
alt + "
alt + 1
to type less/greater than signs)
https://rlog.rgtti.com/2014/05/01/how-to-modify-a-keyboard-layout-in-linux/
web.archive.org