← Back to team overview

ubuntugr-qa team mailing list archive

[Bug 1242567] Re: Indication does not change when using XKB shortcut to change layout

 

@Sebastien: 
Up until 13.04 version, layout switching was handled by XKB ( http://www.x.org/wiki/XKB/ ) and was set to alt+shift as a default shortcut. Setting this through any DE's graphical keyboard configurator was the equivalent of the following command:
setxkbmap -option grp:switch,grp:alt_shift_toggle,grp_led:scroll us,el

For 13.10 and 14.04, layout switching is primarily handled by i-bus, so Ubuntu's graphical keyboard configurator is not about changing some XKB setting via setxkbmap command, but is about changing an i-bus setting.
The point is that though there may not be a graphical keyboard configurator for XKB anymore, the setxkbmap command still works because it is a part of xorg and xorg is still installed.

So, a common workaround for users is to use a setxkbmap command setting
for layout switching. This way, the user avoids the effects of the
#1218322 and #1226962 bugs.

The #1218322 bug is now fixed. For the #1226962 bug things are also mainly ok, but there is still a problem with LibreOffice, so there still is a point using a setxkbmap command to set layout switching via XKB.
What is happening is that when changing layouts via the shortcut set by a setxkbmap command, the indicator does not see that a change has been made.

Sorry for the long reply, i hope this is clearer now.

-- 
You received this bug notification because you are a member of Ubuntu
Greece-QA, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1242567

Title:
  Indication does not change when using XKB shortcut to change layout

Status in “indicator-keyboard” package in Ubuntu:
  Incomplete

Bug description:
  On my first Ubuntu installation (13.10 upgraded from 13.04), the XKB layout switching shortcut works in parallel with the ι-bus layout switching shortcut.
  The same stands for my 2nd installation (13.10 clean install).

  Most of the times i tend to use the XKB shortcut for layout change as it is more convenient.
  When using the XKB shortcut, the indication on the keyboard indicator does not change.

  The same stands when i hit the two layout change shortcuts one after another.
  For example, if i am typing in EN layout, hitting the XKB shortcut changes the layout to GR, but the indication remains as EN. Then, hitting the i-bus shortcut changes the indication to GR and layout remains to GR.
  Hitting again the XKB shortcut changes the layout to EN, but but the indication remains as GR and i have to hit again the i-bus shortcut to change back the indication to EN.

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: indicator-keyboard 0.0.0+13.10.20131010.1-0ubuntu1
  ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
  Uname: Linux 3.11.0-12-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.12.5-0ubuntu2
  Architecture: amd64
  Date: Mon Oct 21 10:55:36 2013
  InstallationDate: Installed on 2013-09-01 (50 days ago)
  InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
  MarkForUpload: True
  ProcEnviron:
   LANGUAGE=el
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=el_GR.UTF-8
   SHELL=/bin/bash
  SourcePackage: indicator-keyboard
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/indicator-keyboard/+bug/1242567/+subscriptions