Keyboard layout is set to English until "Primary" keyboard is pressed

Bug #997479 reported by Torstein Bø on 2012-05-10
40
This bug affects 8 people
Affects Status Importance Assigned to Milestone
console-setup (Ubuntu)
Undecided
Unassigned
gdm (Ubuntu)
Undecided
Unassigned
indicator-keyboard (Ubuntu)
Undecided
Unassigned

Bug Description

I have a laptop (Lenovo T420, US) with an external keyboard (Logitech K750, NO). The default keyboard layout is set to norwegian, but english is added to the keyboard layout menu.

After login the keyboard layout should be norwegian, but it is set to english until I press a key on the laptop keyboard. After a key is pressed on the laptop, the layout for the external keyboard is set to norwegian. However, the keyboard notification always displays "no".

Description: Ubuntu 12.04 LTS
Release: 12.04

gnome-control-center:
  Installed: 1:3.4.1-0ubuntu2
  Candidate: 1:3.4.1-0ubuntu2
  Version table:
 *** 1:3.4.1-0ubuntu2 0
        500 http://no.archive.ubuntu.com/ubuntu/ precise-proposed/main amd64 Packages
        100 /var/lib/dpkg/status
     1:3.4.1-0ubuntu1 0
        500 http://no.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
        500 http://archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
---
ApportVersion: 2.0.1-0ubuntu7
Architecture: amd64
DistroRelease: Ubuntu 12.04
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
Package: console-setup 1.70ubuntu5
PackageArchitecture: all
ProcVersionSignature: Ubuntu 3.2.0-24.38-generic 3.2.16
Tags: precise
Uname: Linux 3.2.0-24-generic x86_64
UpgradeStatus: Upgraded to precise on 2012-04-28 (13 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/997479/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
Launchpad Janitor (janitor) wrote :

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

Changed in ubuntu:
status: New → Confirmed
Tore Henriksen (torehenr) wrote :

Same here; After upgrading to 12.04, the external USB keyboard has a US layout until I press a key on the laptop keyboard. It (often) reverts back to US layout when I enter or leave a Citrix client or Remmona remote desktop session, and I have to press a key on the laptop keyboard again.
My layout is Norwegian (like the original reporter's).

Torstein Bø (haarek) on 2012-05-11
affects: ubuntu → console-setup (Ubuntu)
affects: console-setup (Ubuntu) → kbd-chooser (Ubuntu)

apport information

affects: kbd-chooser (Ubuntu) → console-setup (Ubuntu)
tags: added: apport-collected precise
description: updated

apport information

apport information

apport information

Joseph Maillardet (jokx) wrote :

Same here, but with Ubuntu French installation (from Fresh 12.04 liveCD on PXE), French K750 keyboard, Dell latitude E6500 with integrated French keyboard. I have installed my laptop with a dock station (laptop closed on dock with external keyboard, screen and cable network).

LightDM, Unity and Gnome-Shell applet display « fr_FR » keymap but layout is en_US. The physical « azerty » chain display « qwerty » on screen until I press a key of the integrated keyboard.

After login on Gnome-Shell or Unity with external K750 keyboard, keymap is still en_US. If I run 'dpkg-reconfigure keyboard-configuration' the keymap go right in fr_FR without pressing a key of the integrated keyboard... until I reboot.

Running 'update-initramfs -u -k all' after 'dpkg-reconfigure keyboard-configuration' don't fix the problem.

If y plug another external keyboard (basic dell keyboard) in place of my K750. Everything go right :'(

Joseph Maillardet (jokx) wrote :

Problem fixed by running : 'dpkg-reconfigure keyboard-configuration' and choosing option :

- PC générique 105 touches (intl)
- Français
- Français - Français (variante obsolète)

Don't know why...

Same problem, also Norwegian layout.

Joseph Maillardet (jokx) wrote :

Ubuntu 12.10 ... again ... annoying ... 5 months and it's unassigned ... « dpkg-reconfigure keyboard-configuration » doesn't work any more. That's kind of situation make me wanna came back to Debian or move to Arch.

hey there : I'm not able to solve this myself but your welcome to give me instructions... not too late...

Joseph Maillardet (jokx) wrote :

Some details : keyboard layout is perfect in gnome 3 and linux console. but 'us' in gdm and lightdm ... I'm not so sure that a console-setup bug ...

Joseph Maillardet (jokx) wrote :

Find a pig-way to do what I want with GDM (3.6.1) :

Just edit : « /etc/gdm/Init/Default » and put before the « exit 0 » :

setxkbmap <layout> [<option>]

With your keyboard <layout> and eventualy your <option>

Exemple (for me) : setxkbmap fr latin9

Launchpad Janitor (janitor) wrote :

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

Robert Ancell (robert-ancell) wrote :

I'm not sure exactly where the problem lies for this but it's unlikely the display manager can solve it. It's either a display problem in the indicator or the session not setting it correctly.

affects: lightdm (Ubuntu) → indicator-keyboard (Ubuntu)
Changed in indicator-keyboard (Ubuntu):
status: New → Confirmed
Launchpad Janitor (janitor) wrote :

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

Changed in gdm (Ubuntu):
status: New → Confirmed
Changed in indicator-keyboard (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers