Hey I’m new here and also quite new to Manjaro. Hope I can get some help here
Just yesterday I switch to an American keyboard layout on my tower and I’m quite happy. Today I wanted to do the same on my notebook bit it didn’t work (both are running Manjaro i3 (Release 20.2.1/ Kernel 5.9.16-1).
EDIT: removed posting this question twice
The problem is, that
setxkbmap seems to have absolutely no effect on my system. I tried:
exec --no-startup-id "setxkbmap -layout us,en -option grp:alt_shift_toggle"to my i3 config,
- simply entering
setxkbmap -layout us,en -option grp:alt_shift_togglein the terminal,
- just entering
setxkbmap usin my terminal,
- changing via locatectl:
localectl --no-convert set-x11-keymap de,us pc104 grp:alt_shift_toggle
- manually editing
/etc/X11/xorg.conf.d/00-keyboard.conf(I know one should not do that But I found someone suggesting that on reddit :D)
- using the third party tool “xkb-switch” (https://github.com/grwlf/xkb-switch)
And nothing happens, no matter what, the keyboard-layout stays German. The Manjaro-Settings-Manager shows US Keyboard layout btw
The “/etc/X11/xorg.conf.d/00-keyboard.conf” is getting updated as should be btw. Also
xkb-switch -l (which should show all layouts) reflects exactly the layout set up by setxkbmap.
So I guess it might have something to do with setxkbmap itself? Hope I can get some help here, I’m starting to turn really frustrated
Kernel: 5.9.16-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0
Desktop: i3 4.19 info: i3bar dm: LightDM 1.30.0 Distro: Manjaro Linux
Machine: Type: Laptop System: LENOVO product: 20KS0039GE v: ThinkPad E580
I now also tried:
exec --no-startup-id "setxkbmap -layout us,de -option 'grp:lalt_lshift_toggle'" as suggested in the reply down below, but still I can’t switch layouts.
And just to be clear, it is not about the switching. I think setxkbmap might just not have an effect at all. F.e.
~ >>> setxkbmap us ~ >>> setxkbmap -query rules: evdev layout: us options: grp:lalt_lshift_toggle
looks great right? But still my keyboard remains german