So I want to get the Persian layout for my keyboard but when I try
localectl --no-convert set-keymap us ir
I get this error, but I have no idea how you install a keymap it used to be installed but in an update arch Linux deleted my Persian IR keymap and I searched but could not find any easy way to install keymaps
when i set it to fa i get no error but then it doesnt switch properly and when i use grep -i ‘persian’ /usr/share/X11/xkb/rules/base.lst it returns ir and not fa so its not me typing incorrect code
SOLVED: the correct keymap was fa and in hyprland you also need to define it in keyboard.conf


Still didn’t work for me, I did set shortcut to exec that hyprctl command it worked previously and is the recommended way in the hyprland documentation https://wiki.hypr.land/Configuring/Uncommon-tips–tricks/, and it works with other languages the problem is just that it doesn’t work and setting it in hyprland.conf doesn’t work either