After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 469699 - Wrongly complains about keyboard configuration difference
Wrongly complains about keyboard configuration difference
Status: RESOLVED FIXED
Product: libgnomekbd
Classification: Core
Component: Config
2.19.x
Other Linux
: Normal normal
: ---
Assigned To: libgnomekbd maintainers
Sergey V. Udaltsov
Depends on:
Blocks:
 
 
Reported: 2007-08-23 20:06 UTC by Sven Arvidsson
Modified: 2007-12-11 23:57 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sven Arvidsson 2007-08-23 20:06:25 UTC
[ Forwarded from http://bugs.debian.org/428406 by Dmitry E. Melamud ]

"Recently upgraded GNOME started with message box:

"""
The X system keyboard settings differ from your current GNOME keyboard settings.

Expected was model "pc104", layouts "us ru	winkeys" and option "grp
grp:rctrl_toggle", but the the following settings were found: model
"pc104", layouts "us	 ru	winkeys" and option "grp
grp:rctrl_toggle".

Which set would you like to use?
"""

As you can see, the configurations differ in whitespace only."
Comment 1 Jens Granseuer 2007-08-28 18:45:02 UTC
Looks like a problem in gkbd_keyboard_config_equals()
Comment 2 Chris Wagner 2007-09-01 15:05:01 UTC
Here is another bug that is related, but certainly not the same: http://bugzilla.gnome.org/show_bug.cgi?id=358048
Comment 3 Sergey V. Udaltsov 2007-09-15 00:23:51 UTC
Sven, would it be possible to see the contents of gconf:

gconftool -R /desktop/gnome/peripherals/keyboard

Also, the XKB section of xorg.conf and "xprop -root | grep XKB" would be nice to look at.

Jens, I am afraid the problem might be deeper. But I cannot tell for a moment... That different about of whitespace looks weird.

Chris - you are right, That bug is related but it is different.
Comment 4 Sven Arvidsson 2007-09-15 17:52:51 UTC
I have requested this information from the original bug submitter.
Comment 5 balu 2007-11-05 10:36:55 UTC
(In reply to comment #3)
> Sven, would it be possible to see the contents of gconf:
> 
> gconftool -R /desktop/gnome/peripherals/keyboard

 click_volume = 0
 click = true
 repeat = true
 rate = 30
 bell_custom_file = (no value set)
 delay = 500
 remember_numlock_state = true
 bell_pitch = 400
 bell_mode = on
 bell_duration = 100
 /desktop/gnome/peripherals/keyboard/general:
  groupPerWindow = true
  layoutNamesAsGroupNames = true
  handleIndicators = false
  known_file_list = []
  disable_sysconfig_changed_warning = false
  defaultGroup = -1
  update_handlers = []
 /desktop/gnome/peripherals/keyboard/indicator:
  enabledPlugins = []
  secondary = 0
  showFlags = false
 /desktop/gnome/peripherals/keyboard/xkb:
  layouts = [en_US,ru	winkeys,ua	winkeys]
  model = btc9000a
  overrideSettings = false
  options = [grp	grp:rctrl_toggle,grp_led	grp_led:scroll]
 /desktop/gnome/peripherals/keyboard/kbd:
  layouts = []
  model = 
  overrideSettings = false
  options = []
 /desktop/gnome/peripherals/keyboard/host-grizzly:
  /desktop/gnome/peripherals/keyboard/host-grizzly/0:
   numlock_on = true
 /desktop/gnome/peripherals/keyboard/preview:
  y = -1
  height = -1
  width = -1
  x = -1
 /desktop/gnome/peripherals/keyboard/layout:
  mode = Flag and Label
  command_0 = xmodmap /home/balu/.gkb_default.xmm
  flag_0 = gkb.png
  command_1 = gkb_xmmap us
  flag_1 = us.png
  lang_0 = International
  small = false
  lang_1 = English
  key = Mod1-Shift_L
  label_0 = gkb
  country_0 = Gnome Keyboard
  name_0 = Gnome Keyboard default
  num = 2
  first_run = false
  label_1 = us
  country_1 = United States
  name_1 = US 105 key keyboard
 /desktop/gnome/peripherals/keyboard/xkb.sysbackup:
  layouts = [en_US,ru	winkeys]
  model = btc9000a
  options = [grp	grp:rctrl_toggle,grp_led	grp_led:scroll]
 /desktop/gnome/peripherals/keyboard/kbd.sysbackup:
  layouts = [en_US	,ru	winkeys]
  model = btc9000a
  options = [grp	grp:rctrl_toggle,grp_led	grp_led:scroll]

> Also, the XKB section of xorg.conf

    Option      "XkbRules"      "xfree86"
    Option      "XkbModel"      "btc9000a"
    Option      "XkbLayout"     "en_US,ru"
    Option      "XkbVariant"    ",winkeys"
    Option      "XkbOptions"    "grp:rctrl_toggle,grp_led:scroll"

> and "xprop -root | grep XKB" would be nice to look at.

_XKB_RULES_NAMES_BACKUP(STRING) = "xfree86", "btc9000a", "en_US,ru", ",winkeys", "grp:rctrl_toggle,grp_led:scroll"
_XKB_RULES_NAMES(STRING) = "xfree86", "btc9000a", "en_US,ru", ",winkeys", "grp:rctrl_toggle,grp_led:scroll"
Comment 6 Sergey V. Udaltsov 2007-11-05 21:08:29 UTC
I am confused. The configuration contains layout en_US while the error message contains 'us'. Did you change anything? What is the error message you're getting now?
Comment 7 balu 2007-11-12 17:17:43 UTC
Oops... Info in the comment #5 was taken on another machine, where I've reproduced this bug recently. The exact message on that machine was:

"""
The X system keyboard settings differ from your current GNOME keyboard
settings.

Expected was model "btc9000a", layouts "en_US ru   winkeys" and options "grp       grp:rctrl_toggle grp_led        grp_led:scroll", but the the following settings were found: model "btc9000a", layouts "en_US    ru     winkeys" and options "grp       grp:rctrl_toggle grp_led        grp_led:scroll".

Which set would you like to use?
"""
Comment 8 Sergey V. Udaltsov 2007-12-11 23:57:03 UTC
Since in GNOME 2.21.x this annoying popup is gone (by popular request), I am closing this one, if you don't mind.