You are not logged in.
Pages: 1
I followed the steps in the Arch Wiki: https://wiki.archlinux.org/title/Xorg/K … figuration
I tried first to manually create the file and it looked normal, rebooted but the keyboard wouldn't switch. Then I tried the command
localectl [--no-convert] set-x11-keymap layout [model [variant [options]]]rebooted and it still didn't work. I wanted to add about seven keyboard layouts at first, but now I'm just trying to at least get the Armenian keyboard to work.
Here's what my current file looks like in /etc/X11/xorg.conf.d:
# Written by systemd-localed(8), read by systemd-loc>
# probably wise not to edit this file manually. Use >
# instruct systemd-localed to update it.
Section "InputClass"
Identifier "system-keyboard"
MatchIsKeyboard "on"
Option "XkbLayout" "us,am"
Option "XkbModel" "grp:win_space_toggle"
EndSectionLast edited by yerigalem (2023-08-05 19:38:11)
Offline
setxkbmap -print -queryCan you switch the layouts w/
xdotool key ISO_Next_Groupor https://aur.archlinux.org/packages/xkb-switch ?
Edit: D'OHHH
Option "XkbModel" "grp:win_space_toggle"This is wrong, should be
Option "XkbOptions" "grp:win_space_toggle"Last edited by seth (2023-08-05 19:13:07)
Offline
setxkbmap -print -queryCan you switch the layouts w/
xdotool key ISO_Next_Groupor https://aur.archlinux.org/packages/xkb-switch ?
Edit: D'OHHH
Option "XkbModel" "grp:win_space_toggle"This is wrong, should be
Option "XkbOptions" "grp:win_space_toggle"
It worked with xkb-switch, I actually had to turn off the computer manually and restart because I couldn't switch back to English LOL.
So I can change the kayboard layout that way, why doesn't the keyboard shortcut work? I tried win_space_toggle and alt_shift_toggle.
Offline
Because the x11 option is wrong, would show up in the xorg log.
Offline
I just saw your edit, is it okay to edit the tile? Because I used the localectl command to set the file up and as far as I know it edits the file every time I reboot.
Offline
You likely used localectl wrongly:
To set a model, variant or options, all preceding fields need to be specified, but the preceding fields can be skipped by passing an empty string with "".
And it's your thread, you can alter the subject as you see fit.
Offline
# Written by systemd-localed(8), read by systemd-loc>
# probably wise not to edit this file manually. Use >
# instruct systemd-localed to update it.
Section "InputClass"
Identifier "system-keyboard"
MatchIsKeyboard "on"
Option "XkbLayout" "us,am"
Option "XkbOptions" "grp:wind_space_toggle"
EndSectionThis is what my file looks like now, after I manually edited and rebooted. The keyboard shortcut still doesn't work.
Offline
MS is full of hot air in in azure cloud, but the key is still the "win" key ![]()
Offline
I just tried the localectl option too with adding empty strings "" before the Options, the file seems correct now, but it still doesn't work after rebooting.
Offline
seems correct now
Post it? And please don't copy-paste it out of a pager (the trailing ">" says it's truncated)
Offline
MS is full of hot air in in azure cloud, but the key is still the "win" key
HAHA I have to pay more attention, but that's funny.
Offline
IT WORKED. I tried the localectl command again without the spelling error and it works now, finally. Thank you Seth, I'll mark the post as solved.
Offline
Pages: 1