Monday, May 6, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 12024  / 3 Years ago, tue, october 12, 2021, 9:33:29

i'm new to i3wm and stuck with the config. I wanted to ask how can I change language in i3wm.
I made some search and found some stuff but it's not working in my case.
these are two ways that I found


# changing language
exec_always "setxkbmap -model pc104 -layout us,fa_IR -variant ,, -option
grp:alt_shift_toggle"

and


exec "setxkbmap -layout en_US,fa_IR"
exec "setxkbmap -option 'grp:alt_shift_toggle'"

I thought maybe I'm not using the proper name for the persian keyboard layout and I don't know how to find the possible options of the languages. Would appreciate if you can help me sort this out


More From » keyboard

 Answers
6

The name of the layout option for Persian is ir, use:


exec_always "setxkbmap -model pc104 -layout us,ir -variant ,, -option grp:alt_shift_toggle"

[#2948] Wednesday, October 13, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
whoppinolo

Total Points: 93
Total Questions: 113
Total Answers: 107

Location: Cyprus
Member since Mon, Oct 24, 2022
2 Years ago
whoppinolo questions
Tue, Feb 14, 23, 08:30, 1 Year ago
Wed, Sep 28, 22, 06:56, 2 Years ago
Fri, May 27, 22, 01:55, 2 Years ago
Mon, Oct 4, 21, 19:35, 3 Years ago
;