I change LEFT ALT to LEFT CTRL using Xmodmap. I register CTRL+TAB as "walk through window". The key combination LEFT CTRL (originally LEFT ALT) + TAB switches window to the previous one, but it doesn't display window switcher. Although, RIGHT CTRL + TAb displays window switcher properly. Reproducible: Always Steps to Reproduce: 1. Use xmodmap to change LEFT ALT to LEFT CTRL. 2. Register CTRL+TAB as "walk through window". 3. Press LEFT CTRL (originally LEFT ALT) + TAB. Actual Results: Switches window to the previous one, but it doesn't display window switcher. Expected Results: Display window switcher. shell> cat .Xmodmap clear lock clear control clear mod1 keycode 64 = Control_L NoSymbol Control_L keycode 66 = Control_L NoSymbol Control_L add mod1 = Alt_L Meta_L add control = Control_L Control_R
This sounds like KWin is not able to recognize that the new control key is a modifier. Can you try to use the gui configuration of the keyboard layout whether there is a pre-defined option describing what you want and whether that works?
Hi Martin, I'm sorry for slow response. Your suspect is right. The problem happens only when layout is changed using xmodmap. It doesn't happen when layout is changed using GUI system settings. For example, "Left Alt as Ctrl, Left Ctrl as Win, Left Win as Alt" doesn't cause a problem. (But there is no suitable configuration for me in GUI system settings thoug... My preference is to just swap Left Alt and Left Ctrol.)
can you try to restart KWin after changing the keyboard layout through XModmap? Maybe KWin can pick it up on startup. Just do Alt+Space (Krunner) and enter kwin_x11 --replace
Hi Martin, The problem continues to happen after restarting KWin. The odd thing is that window focus just switches to the previous window without displaying window switcher. CTRL(changed from ALT)+TAB does something, but it's like unfinished.
This issue report is quite old. Can you please confirm, that it still persists with KDE 5.23?
Hi Martin, The problem appears to be solved in my version. I'm using 5.22, but the problem does not happen. BTW, I have not faced the problem for long time, because I switched my physical keyboard to ErgoDox, which can change the keyboard layout using its firmware ;) Kind regards, Mikiya