Quantcast
Channel: Active questions tagged 22.04 - Ask Ubuntu
Viewing all articles
Browse latest Browse all 4561

/etc/default/keyboard ignored?

$
0
0

I'm on Ubuntu 22.04.1 (jammy) LTS. My ultimate goal is to have the following keyboard layout configuration:

  • U.S. international (with AltGr dead keys) and Russian keyboard layouts;
  • switching between them using Alt+Shift (toggle) and Caps Lock (temporarily);
  • Having left Logo key as the compose key.

The behaviour I'm getting is that I seem to have two U.S. layouts, and one of them ignores AltGr in console.


My /etc/default/keyboard:

BACKSPACE="guess"XKBLAYOUT="us,ru"XKBMODEL="pc105"XKBOPTIONS="compose:lwin,grp:caps_switch,grp:lalt_lshift_toggle,nbsp:level3n,terminate:ctrl_alt_bksp"XKBVARIANT="altgr-intl,"

The output of setxkbmap -print -verbose 10:

Setting verbose level to 10locale is CTrying to load rules file ./rules/evdev...Trying to load rules file /usr/share/X11/xkb/rules/evdev...Success.Applied rules from evdev:rules:      evdevmodel:      pc105layout:     usTrying to build keymap using the following components:keycodes:   evdev+aliases(qwerty)types:      completecompat:     completesymbols:    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)"     };};

The output of gsettings list-recursively 'org.gnome.desktop.input-sources':

org.gnome.desktop.input-sources current uint32 0org.gnome.desktop.input-sources mru-sources [('xkb', 'us+altgr-intl'), ('xkb', 'ru')]org.gnome.desktop.input-sources per-window falseorg.gnome.desktop.input-sources show-all-sources falseorg.gnome.desktop.input-sources sources [('xkb', 'us+altgr-intl'), ('xkb', 'ru')]org.gnome.desktop.input-sources xkb-options ['terminate:ctrl_alt_bksp', 'nbsp:level3n', 'grp:lalt_lshift_toggle', 'grp:caps_switch', 'lv3:ralt_switch', 'compose:lwin']

I've tried both sudo dpkg-reconfigure console-setup and sudo dpkg-reconfigure keyboard-configuration, rebooting and all. No effect.

Is there anything I'm forgetting?


Viewing all articles
Browse latest Browse all 4561

Trending Articles