You are not logged in.
I followed the wiki but nothing works.
Output from setxkbmap -query
rules: evdev
model: asus_laptop
layout: bg,us
variant: ,qwerty
options: grp:alt_shift_toggleMy .xinitrc
setxkbmap -model asus_laptop -layout bg,us -variant ,qwerty -option grp:alt_shift_toggle
exec awesomeAny my xorg conf file located in /etc/X11/xorg.conf.d/00-keyboard.conf
Section "InputClass"
Identifier "system-keyboard"
MatchIsKeyboard "on"
Option "XkbLayout" "bg,us"
Option "XkbModel" "asus_laptop"
Option "XkbVariant" ",qwerty"
Option "XkbOptions" "grp:alt_shift_toggle"
EndSectionI tried restarting my pc, changing xkboptions grp and both don't help.
Last edited by Ivailo (2021-10-02 10:46:37)
Offline
1. Please use code tags, https://bbs.archlinux.org/help.php#bbcode
2. Your xinitrc is broken, see the last link below
3. What do you mean by " nothing works"? You configured a dual layout and Alt+Shift to toggle between the layouts. The only thing I could see as a problem is that I'm not sure that "qwerty" is a valid US layout (or that such variation would make sense, because the US layout is a qwerty design anyway)
Online
So do I just not provide a layout then, if the default is qwerty?
Offline
"A" qwerty. There're many layouts available, they're all (i think, certainly most) qwerty.
grep xkb_symbols /usr/share/X11/xkb/symbols/usYou still didn't explain how you determine that "nothing works".
Online
You still didn't explain how you determine that "nothing works".
By that I meant that only English keyboard was available. I couldn't switch to the Bulgarian layout at all.
I did manage to fix it by well fixing my broken xinitrc and also removing the qwerty layout.
setxkbmap -model asus_laptop -layout bg,us -option grp:alt_shift_toggle &
exec awesomeNow I can switch and am a happy human. Thanks a lot.
Reading the link in your banner I noticed what confused me at first and led me to making this error.
This line in the documentation is what confused me.
Remember that lines following a command using exec would be ignored.
Not only that but I also didn't read the next paragraph which mentions the use of '&'.
Offline
Don't fork the setxkbmap call - it was good as it was.
Your xinitrc is (still) broken because it doesn't include the sources that import the session environment (and pot. other stuff) see the 2nd note in the link.
Also please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Online