You are not logged in.
Hi everyone,
I've always used an alias to change the keymap which corresponded to setxkbmap -layout de,ch,us -option grp:alt_shift_toggle
This works fine but I often use several computers (I have Arch on most of my machines) at a time and typing it on all my machines everyday has become inconvenient so I want the change to be persistent.
I followed the guide on the Arch wiki using localectl.
The output of localectl status is:
localectl status
System Locale: LANG=en_US.UTF-8
VC Keymap: us
X11 Layout: us,de,ch
X11 Model: grp:alt_shift_toggleBut alt_shift still doesn't do anything (still US layout). Anyone has an idea what I'm missing here? Thanks in advance.
Last edited by phluxcoblt (2021-10-05 09:21:26)
Offline
What's the output of "setxkbmap -print -query" in the session?
Offline
What's the output of "setxkbmap -print -query" in the session?
Thank you for your reply. The output is in the session is:
xkb_keymap {
xkb_keycodes { include "evdev+aliases(qwerty)" };
xkb_types { include "complete" };
xkb_compat { include "complete" };
xkb_symbols { include "pc+us+de:2+ch:3+inet(evdev)" };
xkb_geometry { include "pc(pc104)" };
};
rules: evdev
model: grp:alt_shift_toggle
layout: us,de,chOffline
Looks fine, did you only check the qwertz/y factor y/z or eg. also ~/] for the impact on the layout?
Offline
Looks fine, did you only check the qwertz/y factor y/z or eg. also ~/] for the impact on the layout?
I checked everything. The keyboards don't change at all. They're exactly the same after toggling with alt + shift.
Oddly enough, I just noticed that when my screen goes into sleep (black screen) mode and asks me for my password to unlock the screen, I can now see a language icon next to the password field on which I can click and it toggles between us, de and ch.
I just let it go back to sleep and toggled to ch from there, it works: öäöäöééàààéàéüüüü.
I should have ä ö etc. with both de and ch keyboard layouts as well as é ù with the ch layout. That's why I need them.
It seems like the issue is only with the alt+shift keyboard shortcut?
Offline
Does
xdotool key ISO_Next_Grouptoggle the layout? (There's also Prev, First and Last)
Offline
Does
xdotool key ISO_Next_Grouptoggle the layout? (There's also Prev, First and Last)
Thank you for your time and prompt replies.
The command successfully toggled back to the us keyboard layout. The same command doesn't toggle to de or ch.
I tried with prev, such as ISO_Prev_Group, first and last and those commands didn't toggle to ch or de either.
Offline
Does the previously used alias still work?
Does it produce the same "setxkbmap -print -query" output? (The layout order might be relevant)
Does eg. "grp:ctrl_shift_toggle" work as toggle?
Offline
Does the previously used alias still work?
Does it produce the same "setxkbmap -print -query" output? (The layout order might be relevant)
Does eg. "grp:ctrl_shift_toggle" work as toggle?
setxkbmap -print -query produces the same output.
setxkbmap -print -query
xkb_keymap {
xkb_keycodes { include "evdev+aliases(qwerty)" };
xkb_types { include "complete" };
xkb_compat { include "complete" };
xkb_symbols { include "pc+us+de:2+ch:3+inet(evdev)" };
xkb_geometry { include "pc(pc104)" };
};
rules: evdev
model: grp:alt_shift_toggle
layout: us,de,chsetxkbmap -layout de,ch,us -option grp:alt_shift_toggle still works as expected.
Offline
Hail mary pass: "setxkbmap -synch" (will liklel only impact processes started after the call)
Offline
Hail mary pass: "setxkbmap -synch" (will liklel only impact processes started after the call)
Still not working. I tried with lalt lshift as well, not working either. I will try some other shortcuts tomorrow... I tried with ctrl shift, doesn't work either.
Last edited by phluxcoblt (2021-10-05 16:59:24)
Offline