Keyboard layout randomly switches to "US international (dead keys)"

Bug #288918 reported by takeda64
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
xorg-server (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

By default I have three keyboards defined:
- USA
- Poland
- Japan

The keyboard model is set to Generic 104-key PC.

Once in a while (I wasn't currently able to determine when, parhaps due to suspend/hibernate? Most of the time I notice it when I'm about to type double quotes character ' " '.) it switches to "US international (dead keys)". When it happens, all other layouts disappear and that's the only one available. To fix it I need to go to Keyboard Preferences (which displays the correct list) and add or remove one keyboard.

I tried to use "Apply System-Wide" and "Reset", but those don't seem to fix it.

The reason why it might switch to this layout could be due that initially I set that layout, when I was experimenting which layout to use.

This probably should be reported as separate bug, but when I uncheck "Separate layout for each window" I cannot select which layout is default.

Revision history for this message
takeda64 (takeda64) wrote :

Oh, I'm using Ubuntu Intrepid.

Revision history for this message
takeda64 (takeda64) wrote :

It seems that usually happens when I plug in an USB keyboard.
And the keymapping are coming from xorg.conf.
Though, sometimes the keyboard indicator shows that I have 3 different keyboard layouts, one is USA and 2 other are some weird characters (like a tiny "z" etc).

Revision history for this message
takeda64 (takeda64) wrote :

I guess the core issue is that Ubuntu doesn't use the keyboard settings from xorg.conf (since it has its own program to set up the keyboard), but plugging the usb keyboard and mouse resets keyboard settings to ones in the config file.

Revision history for this message
Lupine (thelupine) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue for you. Can you try with the latest Ubuntu release? Thanks in advance.

Revision history for this message
takeda64 (takeda64) wrote :

It's not active, because no one responded to it, but the bug still presists.

Changed in xorg:
status: Incomplete → New
Revision history for this message
Bryce Harrington (bryce) wrote :

Hi takeda64,

Please attach the output of `lspci -vvnn`, and attach your /var/log/Xorg.0.log (and maybe Xorg.0.log.old) file from after reproducing this issue. If you've made any customizations to your /etc/X11/xorg.conf please attach that as well.

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

Changed in xorg:
status: New → Incomplete
Revision history for this message
takeda64 (takeda64) wrote :
Revision history for this message
takeda64 (takeda64) wrote :
Revision history for this message
takeda64 (takeda64) wrote :
Revision history for this message
takeda64 (takeda64) wrote :
Revision history for this message
takeda64 (takeda64) wrote :

Right now it doesn't change keyboard to US international (dead keys) it changes to whatever I have defined in xorg.conf

My conclusion is that settings in Gnome are being ignored in favor of the settings in xorg.conf whenever I plug in an USB keyboard. A one way to reset it, is by going to keyboard preferences, then adding or removing any keyboard.

Bryce Harrington (bryce)
Changed in xorg-server (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Titi Ala'ilima (tigretigre) wrote :

Same thing happens in jaunty when I hibernate->dock->unhibernate.

Revision history for this message
Bryce Harrington (bryce) wrote :

[This is an automatic notification.]

Hi takeda64,

This bug was reported against an earlier version of Ubuntu, can you
test if it still occurs on Lucid?

Please note we also provide technical support for older versions of
Ubuntu, but not in the bug tracker. Instead, to raise the issue through
normal support channels, please see:

    http://www.ubuntu.com/support

If you are the original reporter and can still reproduce the issue on
Lucid, please run the following command to refresh the report:

  apport-collect 288918

If you are not the original reporter, please file a new bug report, so
we can work with you as the original reporter instead (you can reference
bug 288918 in your report if you think it may be related):

  ubuntu-bug xorg

If by chance you can no longer reproduce the issue on Lucid or if you
feel it is no longer relevant, please mark the bug report 'Fix Released'
or 'Invalid' as appropriate, at the following URL:

  https://bugs.launchpad.net/ubuntu/+bug/288918

Changed in xorg-server (Ubuntu):
status: Confirmed → Incomplete
tags: added: needs-retested-on-lucid-by-june
Bryce Harrington (bryce)
tags: added: hardy
Revision history for this message
Bryce Harrington (bryce) wrote :

We're closing this bug since it is has been some time with no response from the original reporter. However, if the issue still exists please feel free to reopen with the requested information. Also, if you could, please test against the latest development version of Ubuntu, since this confirms the bug is one we may be able to pass upstream for help.

Changed in xorg-server (Ubuntu):
status: Incomplete → Expired
Revision history for this message
BrianNapoletano (napzilla) wrote :

I can confirm that this bug appears in Ubuntu 10.04, Lucid Lynx. Oddly enough, I did not encounter it in 9.10. Anyway, for professional reasons, I generally switch between three different keyboard layouts: USA, USA International (with dead keys), and Latin American. I have configured GNOME to change the keyboard layout when I press Shift + Caps Lock. However, since upgrading to Lucid, the keyboard configuration will randomly switch without me entering the key sequence. Thus far, I have been unable to isolate a single common key sequence or action that triggers this change reliably, although I have found that using the mouse to select an item from a GNOME panel frequently triggers it. I have examined the hotkey settings, and found nothing that would explain why the layout keeps changing. As per the previous request, I am attaching a file containing my hardware profile and X log to this message.

Changed in xorg-server (Ubuntu):
status: Expired → Confirmed
Bryce Harrington (bryce)
tags: added: intrepid
Revision history for this message
Victor (psycovic) wrote :

This happens to me as well. I use the dvorak and US layout. Also, when doing '<Ctrl>+ command', it only does it in the system default keyboard layout. For example, in the US layout, the letter C is actually dvorak's letter J. So, on my machine where US is the default and I need to kill a command in the terminal (normally <Ctrl>+c), I actually have to type <Ctrl>+j. The same thing occurs when dvorak is the default layout and I'm using the US layout.

Revision history for this message
Paul White (paulw2u) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. We are sorry that we do not always have the capacity to review all reported bugs in a timely manner.

I'm setting the status of this bug to 'Incomplete' as it's not seen any activity for some time. If this is still an issue when using a currently maintained release of Ubuntu then please let us know which one(s) otherwise this bug report can be left to expire in approximately 60 days time.

Changed in xorg-server (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for xorg-server (Ubuntu) because there has been no activity for 60 days.]

Changed in xorg-server (Ubuntu):
status: Incomplete → Expired
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.