Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
5
rated 0 times [  5] [ 0]  / answers: 1 / hits: 2410  / 2 Years ago, mon, june 27, 2022, 8:12:28

I want to add greek polytonic keyboard layout under Lubuntu (so in LXDE). I already realized there is no easy tool to do it with the graphic interface, so I need to use setxkbmap executing something the like of:



setxkbmap pl,gr


Now, how to make setxkbmap set the greek polytonic variant?


More From » lubuntu

 Answers
1

To set it with setxkbmap:



setxkbmap 'pl,gr' -variant ',polytonic' -option 'grp:alt_shift_toggle'


-variant sets variants for each selected layout and -option 'grp:alt_shift_toggle' enables switching layouts with Alt-Shift.



The available layouts and variants can be seen in /usr/share/X11/xkb/symbols. Every layout has its file and by listing such file you can find the variants of the layout.



(BTW the options are listed in /usr/share/X11/xkb/symbols.)



If you need to make the settings permanent, instead of using setxkbmap, you can edit /etc/default/keyboard.


[#35116] Wednesday, June 29, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
fishutt

Total Points: 391
Total Questions: 137
Total Answers: 106

Location: Mexico
Member since Tue, Aug 11, 2020
4 Years ago
;