keyboard configuration always set to /etc/default/keyboard after a reboot

Bug #738336 reported by Julien Lavergne
30
This bug affects 6 people
Affects Status Importance Assigned to Milestone
console-setup (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: console-setup

Using Ubuntu Natty (can't reproduce it on 10.10) with keyboard-configuration 1.57ubuntu14

It's impossible to change the layout permanently with gnome-keyboard-properties. Each time I reboot, the setting is back to the value in /etc/default/keyboard.

Step to reproduce :
I installed a system with a default keyboard configuration fr, oss. The settings are correctly set in /etc/default/keyboard (XKBLAYOUT="fr", XKBVARIANT="oss").
I modified the layouts in gnome-keyboard-properties, removing the "fr,oss", replaced by an USA layout (us). The settings is correctly applied, I can write with US layout in a terminal just after.
Problems appear after a reboot :
- In the current session, fr,oss layout is now applied, I can write in a terminal with the french layout
- Keyboard indicator shows France layout by default.
- When I click on the indicator for details, it show USA by default, + France layout not used (see screenshot). It's the same in gnome-keyboard-properties

I don't know if it's a bug in keyboard-configuration or in libxklavier, but I can reproduce this with another program which use python-xklavier.

Let me know if you need more information.

Revision history for this message
Julien Lavergne (gilir) wrote :
Revision history for this message
Michael Kogan (michael-kogan) wrote :

I don't know if it's exactly the same problem but it's a very similar one: I want to have two layouts, Russian and German. So I remove the standard US layout and add the two that I want to have. After a reboot I have all three layouts added: Russian, German, US. In GDM only the US layout exists. Also though Russian seems to be selected right after the reboot according to the layout switcher (since it's the first one in the list), actually the US layout is selected. Switching once via a shortcut key results in really activating the Russian layout and then everything behaves as it should (beside of the unwanted US layout in the list).

Revision history for this message
Julien Lavergne (gilir) wrote :

Thanks Photon, I think it's the same bug, so I'm setting the bug "Confirmed".

Also, using setxkbmap have exactly the same effect and issue than using python-xklavier.

Changed in console-setup (Ubuntu):
status: New → Confirmed
Revision history for this message
Chris Giltnane (chris-giltnane) wrote :

Doesn't require a reboot just a logout and log back in.
On my machine Lenovo t61. to recreate, add UK keyboard, delete USA keyboard. logout and back in. USA keyboard now reinstated .
Makes no difference if systemwide settings are used or not.
Natty Beta 2 with all current updates as of 14.10 BST on 21/4/11

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.