Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 4901  / 1 Year ago, tue, may 9, 2023, 1:40:12

So Ubuntu has moved to HAL, and commented out the keyboard section in xorg.conf. So how do I configure keyboard layouts now?



UPD: I'm using XMonad as my window manager, so I need a way to configure layouts that works outside GNOME too.



UPD: Editing xorg.conf does not work, here's the relevant section from mine:



Section "InputDevice"

# generated from default
Identifier "Keyboard0"
Driver "kbd"
Option "XkbLayout" "us,ru"
Option "XkbOptions" "grp:ctrl_shift_toggle, caps:ctrl_modifier, compose:sclk, terminate:ctrl_alt_bksp, grp_led:scroll"
EndSection

More From » 12.04

 Answers
6

This ended up working:



Section "InputClass"
Identifier "KeyboardLayout"
Driver "evdev"
MatchIsKeyboard "yes"
Option "XkbLayout" "us,ru"
Option "XkbOptions" "grp:ctrl_shift_toggle,caps:ctrl_modifier,compose:sclk,terminate:ctrl_alt_bksp,grp_led:scroll"
EndSection

[#38693] Wednesday, May 10, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
igeonlothe

Total Points: 370
Total Questions: 121
Total Answers: 114

Location: United States Minor Outlying Island
Member since Fri, Feb 5, 2021
3 Years ago
igeonlothe questions
Wed, May 31, 23, 02:34, 1 Year ago
Sat, Mar 12, 22, 17:13, 2 Years ago
Tue, Aug 31, 21, 09:46, 3 Years ago
;