Keyboard map is wrong [specific keymaps, please don't add general problems to this bug]

Bug #19159 reported by Ramón Rey Vicente
18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
console-setup (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Once the first startup is finished, the keyboard layout is wrong. For example, in my qwerty spanish Apple
USB keyboard, the accent key have de ";" character and the shift+6 combination gets "/" instead of "&". I
run dpkg-reconfigure console-data and chosen the right map, but the problem persist

Tags: apple
Revision history for this message
Ramón Rey Vicente (rrey) wrote :

The problem is with current breezy.

Revision history for this message
Alexandre Otto Strube (surak) wrote :

this also happens with breezy - live. No language other than english is selected
for keyboard (as breezy from cdimage.ubuntu.com, june 28 2005)

Revision history for this message
Philipp Schroeder (philipp.schroeder) wrote :

I also have same problem ('English only' layout), on i386 and amd64 - with
breezy-preview.

(I have 'Swiss German' keyboards).

I suggest the Hardware setting of this bug is set to 'All', not just 'powerpc'.

Revision history for this message
Jib (moramarth-deactivatedaccount) wrote :

After an installation with Breezy colony 4, I also have the same problem. The
keyboard layout chosen during installation was "mac-usb-fr". Yet, when I browse
System -> Preferences -> Keyboard -> Layouts, I see default settings, I have to
choose the right layout and model, without autodetection, this time...

Revision history for this message
Jorge Peixoto de Morais Neto (jorgepeixoto) wrote :

This is happening to me with Breezy. I`ve upgraded from Hoary (where the
keyboard was set to Brazillian abnt2 and working well) to Breezy and now the
layout is stuck with US Eglish, I can't even get "US International with dead
keys" which would allow me to at least be able to type special character.
Changing keyboard layout or model in System->Preferences->Keyboard has no effect
at all, aside from changing the desktop theme for some seconds, and then
reverting to normal, which is very strange.

My machine is an Athlon XP 2600+, MSI KT4 Ultra motherboard, with a brazillian
abnt2 keyboard. Would someone change the "Hardware" setting to "all" instead of
"powerpc"?

Revision history for this message
Jorge Peixoto de Morais Neto (jorgepeixoto) wrote :

Throuh using the Keyboard Indicator ulility, I have been able to make my
keyboard work , even though, strange as it may seem, my keyboard behaves like a
Brazillian keyboard when the keyboard indicator is displaying "USA" and behaves
like an USA keyboard when the keyboard indicator is displaying "Bra".

Revision history for this message
Philipp Schroeder (philipp.schroeder) wrote :

Hi fellow bug reporters,

I can confirm these fault symptoms.

I have the same observations, like Jorge:

"Changing keyboard layout or model in System->Preferences->Keyboard has no effect
at all, aside from changing the desktop theme for some seconds, and then
reverting to normal, which is very strange."

--> I witness the same strange "refresh" of the gnome windows... all windows go
to the standard theme for a second, and then come back.

Jorge wrote:

"Throuh using the Keyboard Indicator ulility, I have been able to make my
keyboard work , even though, strange as it may seem, my keyboard behaves like a
Brazillian keyboard when the keyboard indicator is displaying "USA" and behaves
like an USA keyboard when the keyboard indicator is displaying "Bra"."

--> The same happens with my Swiss German keyboard. I get the Swiss German
layout when the panel indicator shows "USA" and I get an "us" keyboard layout
when the indicator shows "Che".

I have also noticed that the keyboard indicator *does* change the kb layout, but
*only for each individual gnome window*. That is, if I click on another window,
the indicator flips back to the alternate keyboard layout and the keyboard
behaviour for that particular window is flipped back too. I need to toggle the
indicator for each individual window, for example if I use 'Save As...' in
Gedit, the 'Save As...' popup window will have the wrong keyboard layout (i.e.
not the one I successfully manually selected for Gedit)!

I have been debugging / fiddling around with this bug a lot in the last days and
it's driving me mad! ;-)

I think this bug can be marked as duplicate of my bug 21767 , which has been
assigned to Daniel Stone with severity 'major', so it is being investigated... :-)

Revision history for this message
Jorge Peixoto de Morais Neto (jorgepeixoto) wrote :

Now the keyboard Indicator stopped working. Clicking on it has no effect. I am
stuck with US layout again.

Revision history for this message
Philipp Schroeder (philipp.schroeder) wrote :

Jorge, the same happened to me: switching layouts with the keyboard indicator
stopped working at some point (I don't remember exactly when, i.e. what I was
fiddling around with). BTW, you might want to put yourself to the CC: list for
bug 21767 - I think it's the same bug (not sure, though).

Sergey did some more investigation with me on IRC yesterday. During the
investigation, he suggested that I try a different setting in the keyboard
preferences menu:

navigate to Layout Options
uncheck 'Both Ctrl keys together change group.'
check 'Right Ctrl key switches group while pressed.'

After this, my keyboard indicator displays the kb layout correct, i.e. it's not
showing 'US' when it's 'Swiss German' and vice versa, anymore. You can try to
see if this workaround works for you. The bug still needs fixing, though...

Revision history for this message
Philipp Schroeder (philipp.schroeder) wrote :

Oh, I forgot to mention this.

Philipp wrote:
>I have also noticed that the keyboard indicator *does* change the kb layout, but
>*only for each individual gnome window*. That is, if I click on another window,
>the indicator flips back to the alternate keyboard layout and the keyboard
>behaviour for that particular window is flipped back too.

In order to change this behaviour, you can adjust the settings in the System
Tools > Configuration Editor:

navigate to Desktop > Gnome > Peripherals > Keyboard > General
uncheck 'groupPerWindow'

After this, switching the keyboard layout works for all windows, rather than
just the active one.

I think this should the default behaviour, really...

Revision history for this message
Philipp Schroeder (philipp.schroeder) wrote :

As of Breezy Release Candidate I still have the problems reported in commment #6
, #7 and #9 .

Can someone please please change the settings of this bug report to 'Hardware:
All' as it is obviously happening on i386, Mac and AMD64!

Revision history for this message
Philipp Schroeder (philipp.schroeder) wrote :

Maybe the problem reported in comment #6 (and confirmed in comment #7) should be
created as a separate issue, so it doesn't go lost?

Revision history for this message
Philipp Schroeder (philipp.schroeder) wrote :

On Breezy Release Candidate, I am glad to report a (partial?) success.

I can now successfully add multiple keyboard layouts in 'System > Preferences >
Keyboard' and my setting of a particular keyboard layout to 'default' (using the
checkbox) won't be lost every time I log out. :-)

(Thus, I don't need to apply the 'workaround' solution of unchecking 'Both Ctrl
keys together change group.' and checking 'Right Ctrl key switches group while
pressed.' instead.)

However, other keyboard-related problems still remain. These problems have been
described in other bug reports. Unfortunately, these bugs are somewhat
ill-labelled / intermingled and don't seem to get a lot of attention? Compare
with the bugs I mentioned in my last comment.

Let me mention this one particular problem:
I get the Swiss German layout when the panel indicator shows "USA" and I get an
"us" keyboard layout
when the indicator shows "Che". See bug 19159#c6

Revision history for this message
Philipp Schroeder (philipp.schroeder) wrote :

Please ignore the last comment, I posted it to the wrong bug! It should have
gone to bug 21595. Sorry for the noise!

Revision history for this message
Jib (moramarth-deactivatedaccount) wrote :

It's still unconfirmed !

I'm on dapper drake on iBook G4 1.07 GHz, i bear the problem too.

I use a french keyboard.

Matt Zimmerman (mdz)
Changed in console-tools:
assignee: nobody → tfheen
status: Unconfirmed → Confirmed
Revision history for this message
Tollef Fog Heen (tfheen) wrote :

First, this bug is in console-tools, so any bug reports about keyboards being broken in X belong somewhere else.

Ramón Rey Vicente, any chance you could re-test this with current dapper?

Revision history for this message
Tollef Fog Heen (tfheen) wrote :

No response from submitter; rejecting.

Changed in console-tools:
status: Confirmed → Rejected
Revision history for this message
Philipp Schroeder (philipp.schroeder) wrote :

Erm, sorry, I can confirm this is still a problem in current dapper (daily build 20060523), on amd64 (edubuntu). :-/ Re-open the issue please...

Colin Watson (cjwatson)
Changed in console-tools:
status: Rejected → Confirmed
Revision history for this message
Alexandre Otto Strube (surak) wrote :

Still an issue on Edgy as of 2006-oct-25 downloaded from cdimage.ubuntu.com

Revision history for this message
Colin Watson (cjwatson) wrote :

As of Edgy, this belongs on console-setup, although it could be an issue with the X keyboard maps.

Revision history for this message
Timothy Smith (tas50) wrote :

Can anyone test this out with a Feisty nightly and/or a currently updated Edgy so we can see if this bug still exists?

Revision history for this message
Ludovico Fischer (ludovicofischer) wrote :

I tried to install Feisty Fawn herd 5 on an iMac Intel, with the Italian keyboard supplied by Apple and I could not manage to have a proper Italian keyboard layout working, either during the install or once Ubuntu was installed. Neither the 'Italian' nor the 'Italian (mac)' layout correspond to what is presented on screen or what is marked on the keyboard itself.

Tollef Fog Heen (tfheen)
Changed in console-setup:
assignee: tfheen → nobody
Revision history for this message
Selmi (selmi) wrote :

i am not sure if my issue is related to this or not
i had ubuntu 6.06 with no problem, this i upgraded to 6.10 and immediately to 7.04. both upgrades weren't problem-free, but i believe problems werent related to this (6.06->6.10 failed to upgrade some packages, which i didn't needed so i uninstalled them and then it worked, 6.10->7.04 changed /dev/hdax to UUID= and it mixed partitions so it used wrong partition to boot from or as / - i had ro rewrite everything in fstab and grub back to /dev/hdax notation. but it think none of this could influence keyboard...)

i have 2 keyboard laytous, primary is Slovak QWERTZ, alternative is USA english (previous international). when i am switched to USA keboards and i try to write | or \, it writes ) and ň instead - which are symbols from slovak keyboard.

i tried some other US keyboards and it seems this problem is on all of them but USA international with dead keys. unfortunately with this keyboard when i press " or ' it does nothing but wait for another keypress so its not what i need (being programmer i need " and ' work on simple press and not with space after it)

unfortunately this computer which has problem is not one i have with me so i can't rwact immediately on possible queries, but if anyone else noticed such behavious i would like to know what can i do with it. thanks

Revision history for this message
Paul Boddie (paul-boddie) wrote :

I've no idea if this is the best bug to add my experiences to - the title sums up my experiences, though - but upon installing Feisty, the console doesn't handle my Norwegian keyboard properly. The æ, ø, å keys are detected, but they print combinations of bizarre characters. Perhaps by changing my locales to ISO-8859-15 I've made this problem worse, but despite following advice around locale and console configuration, I think it's really an issue with the console font and/or character encoding. I've done the following:

sudo dpkg-reconfigure console-setup
sudo dpkg-reconfigure locales
sudo dpkg-reconfigure localeconf (although I edited the /etc/environment and /etc/default/locale files before, anyway)

I rebooted several times.

Interestingly, the advice to bug #83487 (run setupcon) fixes the problems and provides the correct fonts, but it's a surprise that I should have to do this after all of the above.

Revision history for this message
Colin Watson (cjwatson) wrote :

Recent commenters on this bug are probably suffering from bug 130444, a separate problem.

Revision history for this message
rusivi2 (rusivi2-deactivatedaccount) wrote :

Thank you for posting this bug.

Does this occur in Lucid?

Changed in console-setup (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Thomas Hotz (thotz-deactivatedaccount) wrote :

Closing because of no response.

Changed in console-setup (Ubuntu):
status: Incomplete → Invalid
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.