[region]: does not modify /etc/default/keyboard

Bug #1022488 reported by alexus
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gnome-control-center (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

After fresh installation of Ubuntu 12.04 I have changed the settings of switching between keyboard layouts. Unfortunately the new settings work maximum until a reboot or even some applications stop usage of the new settings during current session.
Some investigations show up that file "/etc/default/keyboard" was not modified during implementation of settings.
After manual change of the file switch between layouts works as expected, but further attempts to change toggle combination of keys or keyboard indicator for layouts via gnome-control-center do not work.
---
ApportVersion: 2.0.1-0ubuntu11
Architecture: amd64
DistroRelease: Ubuntu 12.04
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
Package: gnome-control-center 1:3.4.2-0ubuntu0.3
PackageArchitecture: amd64
ProcVersionSignature: Ubuntu 3.2.0-27.43-generic 3.2.21
Tags: precise
Uname: Linux 3.2.0-27-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo vboxusers
usr_lib_gnome-control-center:
 activity-log-manager-control-center 0.9.4-0ubuntu3
 deja-dup 22.0-0ubuntu2
 gnome-bluetooth 3.2.2-0ubuntu5
 indicator-datetime 0.3.94-0ubuntu2

Revision history for this message
alexus (alexus-m) wrote : Dependencies.txt

apport information

tags: added: apport-collected precise
description: updated
Revision history for this message
alexus (alexus-m) wrote : ProcEnviron.txt

apport information

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, what keyboard layout do you use? What version of xkb-data is installed?

Changed in gnome-control-center (Ubuntu):
importance: Undecided → Low
summary: - "gnome-control-center region" does not modify /etc/default/keyboard
+ [region]: does not modify /etc/default/keyboard
Changed in gnome-control-center (Ubuntu):
status: New → Incomplete
Revision history for this message
Sebastien Bacher (seb128) wrote :

note that those settings are by user so it's normal the system config in etc is not edited...

Revision history for this message
alexus (alexus-m) wrote :

@Sebastien Bacher:
You are right: local user's settings do not have to affect the system-wide settings. In this case the description sounds like workaround only. But in this case there have to be a proper place within the user's settings area which will keep the current user's setting not overwritten by system-wide settings during start-up or during normal work.

Revision history for this message
alexus (alexus-m) wrote :

@Sebastien Bacher:
You set Status of the ticket to the "Incomplete". Could you describe what do you need to change status to "Confirmed"?

Revision history for this message
Sebastien Bacher (seb128) wrote :

the reply to the questions in comment #3

Revision history for this message
alexus (alexus-m) wrote :

I'm using English (default) and Russian layouts with toggle by "Caps" key. I've tried other toggle buttons (e.g., Ctrl+Shift) and I've checked xkb-data version 2.5-1ubuntu1 (precise) and 2.5-1ubuntu1.3 (precise-proposed). Both are affected.
In spite of files below ~/.gconf/desktop/gnome/peripherals/keyboard/ are modified by gnome-control-center (looks like correctly) something prefer to use or overrides settings with /etc/default/keyboard.

P.S.: There are many posts about the problem in Russian internet-blogs related to the Ubuntu with the proposed workaround to edit /etc/default/keyboard. So I could propose that this is the common problem.

Revision history for this message
Sebastien Bacher (seb128) wrote :

ok, setting back to new then, similar have been fixing the current precise-proposed version but if it doesn't work for you that's likely a different bug in your case

Changed in gnome-control-center (Ubuntu):
status: Incomplete → New
Revision history for this message
alexus (alexus-m) wrote :

As I wrote early:
"I'm using English (default) and Russian layouts with toggle by "Caps" key. I've tried other toggle buttons (e.g., Ctrl+Shift) and I've checked xkb-data version 2.5-1ubuntu1 (precise) and 2.5-1ubuntu1.3 (precise-proposed). Both are affected."
  xkb-data in precise-proposed still has the version 2.5-1ubuntu1.3. - Nothing changed during last two weeks.

  I found a way to reproduce the issue:
  I'm using USB keyboard. Disconnect the keyboard's cable and reconnect it back always leads to override of "~/.gconf/desktop/gnome/peripherals/keyboard/" settings by mentioned in "/etc/default/keyboard".
  Attempt to change settings via GnomeControlCenter works until the next reconnection of keyboard (or reboot).

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

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

Changed in gnome-control-center (Ubuntu):
status: New → Confirmed
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.