https://bugs.kde.org/show_bug.cgi?id=493025
--- Comment #28 from antonio <antde...@gmail.com> --- (In reply to fanzhuyifan from comment #27) > (In reply to antonio from comment #26) > > XKBOPTIONS="terminate:ctrl_alt_bksp" > This indicates that you set the option such that ctrl+alt+backspace should > kill the x server. Hence it seems reasonable that this keypress is not > detected in kwin, since kwin key processing relies on libxkb. > > > > On OpenSUSE, however, the file was already correct, so the problem is > > elsewhere. This tells us however that the detection is sensitive to > > environment variables; it would be interesting to check where there is > > interference. > On OpenSUSE where you still have the problem, what is the output of > setxkbmap -print -verbose 10? Let's see if there are some options that could > be interferring with the detection. I solved it on Opensuse too. Running the command you gave me, put me on the right track: $ setxkbmap -print -verbose 10 Setting verbose level to 10 WARNING: Running setxkbmap against an Xwayland server locale is C Trying to load rules file ./rules/evdev... Trying to load rules file /usr/share/X11/xkb/rules/evdev... Success. Applied rules from evdev: rules: evdev model: pc105 layout: us Trying to build keymap using the following components: keycodes: evdev+aliases(qwerty) types: complete compat: complete symbols: pc+us+inet(evdev) geometry: pc(pc105) xkb_keymap { xkb_keycodes { include "evdev+aliases(qwerty)" }; xkb_types { include "complete" }; xkb_compat { include "complete" }; xkb_symbols { include "pc+us+inet(evdev)" }; xkb_geometry { include "pc(pc105)" }; }; I noticed the "us" layout (while it should be "it"), so I checked the locale: $ localectl System Locale: LANG=it_IT.utf8 VC Keymap: it2 X11 Layout: it X11 Model: pc105 X11 Options: terminate:ctrl_alt_bksp and to my surprise I noticed that the "X11 Options" were set. I looked in which files the setting was contained and I found: grep returns: /etc/vconsole.conf:4:XKBOPTIONS=terminate:ctrl_alt_bksp /etc/X11/xorg.conf.d/00-keyboard.conf:9: Option "XkbOptions" "terminate:ctrl_alt_bksp" I commented out the line 'Option "XkbOptions" "terminate:ctrl_alt_bksp', but the problem persisted. $ cat X11/xorg.conf.d/00-keyboard.conf # Written by systemd-localed(8), read by systemd-localed and Xorg. It's # probably wise not to edit this file manually. Use localectl(1) to # instruct systemd-localed to update it. Section "InputClass" Identifier "system-keyboard" MatchIsKeyboard "on" Option "XkbLayout" "it" Option "XkbModel" "pc105" Option "XkbOptions" "terminate:ctrl_alt_bksp" EndSection Then I commented out the line 'XKBOPTIONS=terminate:ctrl_alt_bksp' in the other file: $ cat /etc/vconsole.conf KEYMAP=it2 XKBLAYOUT=it XKBMODEL=pc105 XKBOPTIONS=terminate:ctrl_alt_bksp FONT=eurlatgr.psfu FONT_MAP=trivial and that solved the problem. In fact, after rebooting, running 'localectl' again the 'X11 Options' entry was no longer present: $ localectl System Locale: LANG=it_IT.utf8 VC Keymap: it2 X11 Layout: it X11 Model: pc105 I don't recall manually editing these files. For Debian it might be a legacy of the previous use of Plasma on X11; while for Opensuse, where I only used Plasma on wayland, it might be a default. Anyway, it works on both systems now. I hope this track can be useful for those who experience the same problem. Thanks for the assistance. -- You are receiving this mail because: You are watching all bug changes.