You are not logged in.
I cannot get the combination alt_shift_toggle, when specified in 00-keyboard.conf, to work for layout switching on this keyboard even with physically unplugging/replugging the keyboard. But menu_shift as the specified key in 00-keyboard.conf for layout switching does work. Modifying that line, then killing and restarting the X server, allows me to switch layouts between "us," "ru," and "gr." So I have a workaround. And it looks like, as a worst case scenario, if layout switching will stop working again, unplugging and replugging the keyboard should restore it.
LATER EDIT: after sitting for a bit (perhaps 30 mins.?) the menu key stopped working for keyboard switching: neither the LED would light up, nor would layout switching work. Unplugging, then replugging the keyboard caused layout-switching/LED indicating to once again commence working when the menu key is pressed. Is the keyboard putting itself to sleep or something, causing the settings to reset? Weird.
Last edited by jamtat (2023-12-02 18:32:49)
Offline
Please post your Xorg log, https://wiki.archlinux.org/title/Xorg#General
Do you at any point run additional setxkbmap/xmodmap calls with eg. some session scripts?
Offline
Thanks for the pointer. I found the line setxkbmap -layout us -option caps:none in .bashrc. Evidently I put that in there at some point because I had been having trouble getting disabling of the caps lock key to stick. I've commented out that line just now and will see if that addresses the on-again/off-again behavior of layout-switching. I'll see what effect that will have and will post Xorg log output later.
Last edited by jamtat (2023-12-05 18:32:05)
Offline
I'm marking this issue solved. It got solved mainly by the realization that I had put a line in my .bashrc file that was invoking setxkbmap: that seems to have been what was interfering with keyboard layout switching as I'd specified in /etc/X11/xorg.conf.d/00-keyboard.conf, causing the layout switching to stop working intermittently. Since I commented out the line setxkbmap -layout us -option caps:none from .bashrc, layout switching has remained active--my main objective in creating this thread.
Why combination key strokes for layout switching no longer works on this system I am unsure, but I don't consider that a major problem since I do have on this keyboard a key that is otherwise unused (menu key), and I am fine with assigning that as the layout switching key. The only problem this introduces for me is that I have to remember that layout switching on this system will be accomplished differently than on my other systems, where alt-shift continues to work for that purpose.
Thanks for the feedback in this thread that helped me to resolve my issue.
Last edited by jamtat (2023-12-08 15:53:45)
Offline