Wrong keyboard layout after login

Bug #1320456 reported by FM33
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
ibus (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Hello,

The keyboard layout is azerty (fr) in lightdm, but after login it switches to qwerty (en) and i need to click the first entry in the keyboard indicator to have it back to azerty. I do have only french and french variante layouts in the keyboard layout list.

Side effect : Compiz has to be restarted to take the change for shortcuts like super-w.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: unity-settings-daemon 14.04.0+14.04.20140414-0ubuntu1
ProcVersionSignature: Ubuntu 3.13.0-24.47-generic 3.13.9
Uname: Linux 3.13.0-24-generic x86_64
ApportVersion: 2.14.1-0ubuntu3
Architecture: amd64
CurrentDesktop: Unity
Date: Sat May 17 11:51:52 2014
ExecutablePath: /usr/lib/unity-settings-daemon/unity-settings-daemon
InstallationDate: Installed on 2014-04-18 (28 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
ProcEnviron:
 PATH=(custom, no user)
 LANGUAGE=fr_FR
 XDG_RUNTIME_DIR=<set>
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
SourcePackage: unity-settings-daemon
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
FM33 (foxxm) wrote :
Revision history for this message
FM33 (foxxm) wrote :

Update : There is a hidden tool, ibus-setup that can fix it, but the settings are regularly reset by update-manager.
Run ibus-setup as normal user,
Second tab, check the personalise checkbox,
Remove english (that is bolded and at the top of the list - that's abnormal).

FM33 (foxxm)
affects: unity-settings-daemon (Ubuntu) → ibus (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in ibus (Ubuntu):
status: New → Confirmed
Revision history for this message
tres86dx (tres86dx-ubuntu) wrote :

I have the same problem, each time I reboot the systems the keyboard configuration's change to English. But the indicator icon still in es. My keyboard is spanish. When I open the keyboard distribution graphics from the same icon and press the keyboard's key, the coincide distribution. But does not work with other programs.

Revision history for this message
FM33 (foxxm) wrote :

Wrote a script to automate the workaround :

#!/bin/sh
sleep 5
if [ -n "$(dconf read /desktop/ibus/general/preload-engines | grep eng)" ]; then
   dconf write /desktop/ibus/general/preload-engines "['xkb:fr::fra','xkb:fr:oss:fra']"
   sleep 0.5
   compiz --replace &
fi

Customise it with your own locale and add it in startup applications.
Run "dconf read /desktop/ibus/general/preload-engines" in a terminal to see what is your actual value.

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.