wrong keybord layout at system start

Bug #1316913 reported by michael.kundel@web.de
96
This bug affects 21 people
Affects Status Importance Assigned to Milestone
unity-greeter (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

my system is set to german by default (De). When starting thunderbird and writing a new mail my keyboard is in qwerty mode.
i must click on the De icon in the task bar to set it to qwertz mode.
When updates need to be veriyfied with password i get wrong password - clicking the de icon in task bar sets it to german.
thanks!
ubuntu 14.04

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

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

Changed in lightdm (Ubuntu):
status: New → Confirmed
Revision history for this message
FM33 (foxxm) wrote :

Same problem here on one machine of three. Added layouts : French and French variante. System starts with qwerty. I removed the english layout installed by default in addiction to the one (fr) selected during install, but it doesn't solve the issue.

Revision history for this message
FM33 (foxxm) wrote :

I can confirm the issue for another machine, and another bug related to this one :
While w key is not at the same place in qwerty against to azerty, after selecting french layout, compiz do not take care of the change so the super-w shortcut do not work until compiz is restarted with compiz --replace. Pressing super-z works (where w key is in qwerty layout).

Revision history for this message
FM33 (foxxm) wrote :

There is a hidden tool, ibus-setup that can fix it, but the settings are regularly reset to default 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).

Revision history for this message
justcomplaining (justcomplaining) wrote :

Take a look at this bug-discussion: https://bugs.launchpad.net/ubuntu/+source/ibus/+bug/1240198 Another "ibus-setup" change that could solve the problem is selecting "use system keyboard layout" (third tab)

Revision history for this message
Jérémie (jitsumi) wrote :

I confirmed it, on my two diffrent computer, quiet often, after loggin, i'am supposed to have a french layout, (FR is displayed) but i have a qwerty layout. I have to change to another layout, and then come back to FR.

Revision history for this message
FM33 (foxxm) wrote :

A script i put in my startup applications to automate the workaround. Replace xkb:fr::fra' by your own kb if not french.
Display your actual config with "dconf read /desktop/ibus/general/preload-engines".
Also customize "set xkbmap fr".

#!/bin/sh
sleep 6
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']"
   set xkbmap fr
   sleep 0.5
   echo $(date) >> ~/TMP/bug_ibus_wa.log
   compiz --replace &
fi

Revision history for this message
Coadou (fredcoadou) wrote :

Hello I am under stable Ubuntu 14. Since the update of yesterday the keyboard cross(spend) it qwerty in every starting up. This corrects it for the current(in class) transfer by the setxkbmap fr command(order) in a terminal, but returns to the following démarage. This problem is under my transfer, but not under the transfer a guest.

Revision history for this message
Alan AZZERA (azzera-alan) wrote :

Hi, the laptop of my old mother runs under Ubuntu 14.04. She experiments for 3 around months now very annoying random keyboard configuration changes, from French to English. The language icon claims to be in French, though. I've tested near all the trick I found about this problem, except launching « sh -c "setxkbmap fr" » every session start - which I will try as soon as possible (TeamViewer is not working properly anymore - grrrr !). Could someone do something, please ?

I know I'm very annoyed and frustrated by this problem, and that following words will not be very constructive. Sorry for that, but with the experience I havec with Ubuntu 14.04, I think it has to be said. It seems incredible to me that such a problem could appear and stay unsolved for nearly 1 year. How Ubuntu hope to be (stay ?) credible as an OS claiming to replace Windows with such insane problems ?

Perhaps the Ubuntu team should concentrate on giving a rock solid user experience, and not trying to integrate the latest fashion trick. Ubuntu 14.04 is supposed to be *very* stable.

Revision history for this message
Jean-Baptiste Camps (jbcamps) wrote :

Three computers at home, two under Ubuntu 14.04 (one under Lubuntu) have the same issue : layout randomly switch from french to american, but the icon in toolbar still indicates «Fr_1». I have removed the american layout, but it still happens.

Revision history for this message
Mael (maelfi) wrote :

I'm on Xubuntu 14.04 on Lenovo Thinkpad x230 and configured normally with french configuration.
I have 2 different configurations and some behaviors :

- the laptop is plugged on a dock where a keyboard Logitech k520 is wireless connected --> it is wrong at the boot : the keyboard is EN

- when my Laptop boots alone without the dock (so with the laptop keyboard only) --> it is ok (FR)

- when I plugged the laptop on dock after the boot, the Logitech keyboard is well configured in FR...

- when the PC is in standby mode and connected to the dock, when the PC wake up it is wrong (EN) only for typing the password. Once I'm logged, the configuration is ok (FR)

Strange...

Revision history for this message
yannig@voyeaud.org (yannig) wrote :

Je confirme la présence de ce bug sur KUbuntu et nous sommes le 31/03/2015!
Y a-til une solution pérenne ou Canonical se moque-t-il de ses utilisateurs? En effet vu l'ancienneté de ce problème on peut se poser des questions.
Ma nièce et son conjoint sont nouveaux sur le système, c'est vraiment pas encourageant!

Revision history for this message
d52fr (d52fr) wrote :

Is there any available solution for this keyboard error ?
That's really boring to change the keyboard layout in the top bar at each wake up.
Please hurry up !

Revision history for this message
Winga (o-alex-p) wrote :

Same problem for me on Ubuntu 14.04 : I chose to set the keyboard in French when I made the installation (in the beginning July 2015), but it automatically sets in English each time I reboot. Strangely, this bug appeared around 10 days after Ubuntu installation.

For people still looking for a solution : https://doc.ubuntu-fr.org/tutoriel/configurer_le_clavier#bug_du_clavier_qui_repasse_en_qwerty_a_chaque_demarrage_sous_certaines_versions_recentes

In my case, methods 1 to 4 worked only for current session ; method 5 seems to have solved the problem permanently (still works after reboot) ; haven't tried method 6 (but assume it works, since I used almost the same for other stuff).

Revision history for this message
jibel (jibel-brutele) wrote :

Hi,
we have resolved this bug with :
Open your text editor in root, got to /ect/lightdm.lightdm/down to [seat default] find the line #display setup script= replace by
display setup script=/usr/bin/setxkbmap be (for me)
 remove the # and finaly restart with (always in root) service lightdm restart..... Don't forget before to close all app's open...... good luck 8-)

no longer affects: lightdm
affects: lightdm (Ubuntu) → unity-greeter (Ubuntu)
Revision history for this message
Nazim Coindet (nazim-coindet) wrote :

Hello,

I have an issue with my French keyboard for over a year and the issue was not solved yet:

My laptop is a Sony SVS1311F3EW. The Fn key and some other keys like "z", ")" or "6" are not working at all. The input source to use is set to French. I am using the system keyboard layout in ibus-setup configuration. When i try to reconfigure it using the command line sudo dpkg-reconfigure keyboard-configuration, the computer brand "Sony" is not listed at all. Do you have any suggestions to help my get back my keyboard?. Thank you for your time.

Revision history for this message
carolina gotta (chameau) wrote :

Hi,
i-m new at ths. never ha difficulties like this.
My keyboard switch by itself to qwerty instead of qwertz. a lot of the non lettre caracters are messed up. no way to change it back with the center of parametres (sorry don t know the name of this in english). Anyway, i have a WHY! computer and ubuntu 14.04
and of course, i dunno how to cod what soever... i would be too easy....
what is the easiest way to fix this plz?

Revision history for this message
Philippe CARPENTIER (alaster) wrote :

Hello,
I have my keyboard returning to US when launching after having it well configured to fr.

This was on Lenovo Z51-70 (new install)

Strangely, when entering the password for unscripting the hard drives, the keyboard is well configured in french, but when accessing to "enter user password" section, the keyboard was in US.

I have solved the problem by adding "display-setup-script=/usr/bin/setxkbmap fr oss" in the /etc/lightdm/lightdm.conf file.

hopes this will help improve Ubuntu ^^

Revision history for this message
Fontaine Sylvain (sylvainfon) wrote :

Hi,
my keyboard has changed from azerty to qwerty yesterday, i was with the 14.04 LTS ubuntu version. Today after a upgrade in 16.04 LTS, i have still the same problem.
how to fix it ?

Dell Latitude E6430

Revision history for this message
PERRIN Jean-Bernard (jaybee16000) wrote :

Hi...
I am new to Ubuntu, and launched it from a Xtra-PC USB flashdrive. My keyboard is configured as QWERTY and I want to change it to AZERTY, but find nowhere how to do it... the keys combinations MAJ, ALT, or ALT Gr do not work. Could you please help there?
Thanks in advance.
jbp16000

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.