Article 5D2RA How to change between three kyboard layouts with keys?

How to change between three kyboard layouts with keys?

by
shams
from LinuxQuestions.org on (#5D2RA)
I am writing some article and use three keyboard layouts English, pashto and persian and i use the gedit in arch linux, i want to use key combinations to switch between these three layouts for speed of work, after search i come to use setxkbmap for this purpose, when i run the command:
Code:sudo setxkbmap -layout afit cannot change the keyboard layout for the gedit and libreoffice writer and can change for firefox, arch Text Editor and brackets.
How to change the layout for all applications?latest?d=yIl2AUoC8zA latest?i=pwSxTJEI2E8:FdkeuzvAFSg:F7zBnMy latest?i=pwSxTJEI2E8:FdkeuzvAFSg:V_sGLiP latest?d=qj6IDK7rITs latest?i=pwSxTJEI2E8:FdkeuzvAFSg:gIN9vFwpwSxTJEI2E8
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments