Xorg layout switching shortcut doesn't update indicator

Bug #1260226 reported by Alkis Georgopoulos
34
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Indicator keyboard
Confirmed
Undecided
Unassigned
gnome-settings-daemon (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When I press the classic Xorg shortcut of "Alt+Shift" to switch the keyboard layout from English to Greek, the layout changes but the indicator is still showing "En".

If I use the new indicator-keyboard shortcut of "Win+Space", then everything is fine.

So it appears that indicator-keyboard doesn't detect layout changes caused by the Xorg layout switching shortcuts.

I'm including some information:

$ lsb_release -sc
trusty

$ dpkg-query -W indicator-keyboard
indicator-keyboard 0.0.0+14.04.20131125-0ubuntu1

$ egrep -v '^#|^$' /etc/default/keyboard
XKBMODEL="pc105"
XKBLAYOUT="us,gr"
XKBVARIANT=","
XKBOPTIONS="grp:alt_shift_toggle,grp_led:scroll"

$ setxkbmap -print
xkb_keymap {
 xkb_keycodes { include "evdev+aliases(qwerty)" };
 xkb_types { include "complete" };
 xkb_compat { include "complete+ledscroll(group_lock)" };
 xkb_symbols { include "pc+us+gr:2+inet(evdev)+group(alt_shift_toggle)" };
 xkb_geometry { include "pc(pc105)" };
};

$ echo $DESKTOP_SESSION
gnome-fallback

Changed in indicator-keyboard:
status: New → Confirmed
Revision history for this message
Alkis Georgopoulos (alkisg) wrote :

As Dmitry mentioned in bug 1241284, the layout change is monitored by some *daemon. It used to be monitored by gnome-settings-daemon, and now it's monitored by unity*? Dunno I'm not using unity, but I've put gnome-settings-daemon in the Affects list.

Was the code that we're looking for in ./debian/patches/61_revert_libgnomekbd_drop from gnome-settings-daemon-3.8.6.1 in Ubuntu 12.04, where this bug didn't exist yet?

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-settings-daemon (Ubuntu):
status: New → Confirmed
Revision history for this message
Andras Deak (adeak) wrote :

I'm seeing the same behaviour in a freshly installed Ubuntu 22.04.1 with Wayland, where alt+shift layout switching was enabled with gnome-tweaks. The layout itself switches on alt+shift but the layout indicator is stuck showing the original layout. Switching with the default super+space keybinding updates the layout indicator as well as the layout. So I'm thinking this might be a broader issue, which also includes e.g. https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/1779327.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.