Hi, I finally found the source of the problem, it was ibus. Apparently it changed the keyboard layout, after the i3 started. Once I got rid of it, keyboard layout started to work as expected.
Although, I would be nice, if the conflict between the /etc/default/keyboard and ibus was somehow resolved. Regards, Vlastimil út 5. 11. 2019 v 21:02 odesílatel Vlastimil Zíma <[email protected]> napsal: > Hi, > > thanks for the reply. I'm referring to the used keyboard layout in > general. It mainly affects the text input, but since different layouts have > different keys on different positions it may also cause troubles with the > shortcuts as well. > > Anyhow, I investigated the logs today into a greater detail and found the > following lines. At first, the keyboard loads correctly: > > Nov 5 20:06:26 ziima /usr/lib/gdm3/gdm-x-session[11706]: (**) Option > "xkb_model" "pc105" > Nov 5 20:06:26 ziima /usr/lib/gdm3/gdm-x-session[11706]: (**) Option > "xkb_layout" "us,cz" > Nov 5 20:06:26 ziima /usr/lib/gdm3/gdm-x-session[11706]: (**) Option > "xkb_variant" ",qwerty" > Nov 5 20:06:26 ziima /usr/lib/gdm3/gdm-x-session[11706]: (**) Option > "xkb_options" "grp:alt_shift_toggle,grp_led:scroll,caps:none" > > but this may mess that up: > > Nov 5 20:06:36 ziima systemd[11420]: Stopped target GNOME Keyboard > handling. > Nov 5 20:06:36 ziima systemd[11420]: Stopping GNOME Keyboard handling... > > Since I'm in transition to i3, I still have gnome shell installed and I > suspect it may cause the mess. Though I'm not sure why it tries to start, > when I launch i3. > > Regards, > Vlastimil > > > út 5. 11. 2019 v 20:45 odesílatel Michael Stapelberg < > [email protected]> napsal: > >> i3 is not involved in handling keys, only keyboard shortcuts. >> >> Are you saying that keybindings (such as Mod+2 to switch to workspace 2) >> you configured in the i3 config file are not working? Or are you referring >> to text input to applications, such as entering your name in a web form in >> Firefox? >> >> On Sun, Nov 3, 2019 at 3:09 PM Vlastimil Zima <[email protected]> >> wrote: >> >>> Package: i3-wm >>> Version: 4.17.1-1 >>> Severity: normal >>> Tags: l10n >>> >>> Dear Maintainer, >>> >>> I'm trying to setup a i3, but I encountered a problem with keyboard >>> layout setup. Multiple layouts set up in /etc/default/keyboard are >>> ignored by i3 and only 'us' layout is available. On the other hand, >>> keyboard options are respected. >>> >>> I have in /etc/default/keyboard >>> >>> XKBLAYOUT="us,cz" >>> XKBVARIANT=",qwerty" >>> BACKSPACE="guess" >>> XKBMODEL="pc105" >>> XKBOPTIONS="grp:alt_shift_toggle,grp_led:scroll,caps:none" >>> >>> but after i3 is started, 'setxkbmap -query' returns >>> >>> rules: evdev >>> model: pc105 >>> layout: us >>> options: grp:alt_shift_toggle,grp_led:scroll,caps:none >>> >>> I'd expect the layouts from the keyborad setup would be used as well. I >>> wasn't able to find another location which would override the keyboard >>> layout. >>> >>> Regards, >>> Vlastimil Zíma >>> >>> >>> -- System Information: >>> Debian Release: bullseye/sid >>> APT prefers testing >>> APT policy: (500, 'testing'), (500, 'stable') >>> Architecture: amd64 (x86_64) >>> >>> Kernel: Linux 5.2.0-3-amd64 (SMP w/4 CPU cores) >>> Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE >>> Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8), >>> LANGUAGE=en_DK.UTF-8 (charmap=UTF-8) >>> Shell: /bin/sh linked to /usr/bin/dash >>> Init: systemd (via /run/systemd/system) >>> LSM: AppArmor: enabled >>> >>> Versions of packages i3-wm depends on: >>> ii libc6 2.29-2 >>> ii libcairo2 1.16.0-4 >>> ii libev4 1:4.27-1 >>> ii libglib2.0-0 2.62.2-1 >>> ii libpango-1.0-0 1.42.4-7 >>> ii libpangocairo-1.0-0 1.42.4-7 >>> ii libpcre3 2:8.39-12+b1 >>> ii libstartup-notification0 0.12-6 >>> ii libxcb-cursor0 0.1.1-4 >>> ii libxcb-icccm4 0.4.1-1.1 >>> ii libxcb-keysyms1 0.4.0-1+b2 >>> ii libxcb-randr0 1.13.1-2 >>> ii libxcb-shape0 1.13.1-2 >>> ii libxcb-util0 0.3.8-3+b2 >>> ii libxcb-xinerama0 1.13.1-2 >>> ii libxcb-xkb1 1.13.1-2 >>> ii libxcb-xrm0 1.0-3 >>> ii libxcb1 1.13.1-2 >>> ii libxkbcommon-x11-0 0.8.4-1 >>> ii libxkbcommon0 0.8.4-1 >>> ii libyajl2 2.1.0-3 >>> ii perl 5.30.0-9 >>> >>> Versions of packages i3-wm recommends: >>> ii fonts-dejavu-core 2.37-1 >>> ii gnome-terminal [x-terminal-emulator] 3.34.2-1 >>> ii libanyevent-i3-perl 0.17-1 >>> ii libjson-xs-perl 4.020-1+b1 >>> ii xfonts-base 1:1.0.5 >>> ii xterm [x-terminal-emulator] 349-1 >>> >>> i3-wm suggests no packages. >>> >>> -- no debconf information >>> >> >> >> -- >> Best regards, >> Michael >> >

