Bug 86030

Summary: xkb euro sign option does not work
Product: xkeyboard-config Reporter: Todor Tsankov <tt.debian>
Component: GeneralAssignee: xkb
Status: RESOLVED NOTOURBUG QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: output of xkbcomp :0 -xkb out.xkb

Description Todor Tsankov 2014-11-08 10:09:38 UTC
Dear Developers,

The euro sign xkb option no longer works for me. I use Debian Jessie with
GNOME and set the option using GNOME tweak tool. The version of the Debian 
xkb-data package is 2.12-1. 

In previous versions, this option used to work well with the Canadian French 
keyboard layout, which I am using.

If I try to set the option manually, I get this:

---
$ setxkbmap -option 'eurosign:e' -v 10
Setting verbose level to 10
locale is C
Trying to load rules file ./rules/evdev...
Trying to load rules file /usr/share/X11/xkb/rules/evdev...
Success.
Applied rules from evdev:
rules:      evdev
model:      pc105
layout:     us,bg,ca,us
variant:    ,,multix,
options:
eurosign:e,ctrl:nocaps,numpad:microsoft,kp_remap:navigation,grp:menu_toggle,eurosign:e
Trying to build keymap using the following components:
keycodes:   evdev+aliases(qwerty)
types:      complete+numpad(microsoft)
compat:     complete
symbols:
pc+us+bg:2+ca(multix):3+us:4+inet(evdev)+group(menu_toggle)+ctrl(nocaps)+eurosign(e)
geometry:   pc(pc105)
---

and the following error messages in the log:

---
Oct 21 20:19:06 gnzhome gdm-Xorg-:0[28717]: The XKEYBOARD keymap compiler (xkbcomp) reports:
Oct 21 20:19:06 gnzhome gdm-Xorg-:0[28717]: > Warning:          Multiple definitions of the FOUR_LEVEL_KEYPAD key type
Oct 21 20:19:06 gnzhome gdm-Xorg-:0[28717]: >                   Earlier definition ignored
Oct 21 20:19:06 gnzhome gdm-Xorg-:0[28717]: > Error:            Key <MDSW> added to map for multiple modifiers
Oct 21 20:19:06 gnzhome gdm-Xorg-:0[28717]: >                   Using Mod3, ignoring Mod5.
Oct 21 20:19:06 gnzhome gdm-Xorg-:0[28717]: Errors from xkbcomp are not fatal to the X server
---

I filed a bug with Debian (#766252) and was instructed to forward it here. Thanks 
for looking into this.

All the best,
Todor
Comment 1 Sergey V. Udaltsov 2014-12-09 23:59:18 UTC
Could you please attach the full configuration:

xkbcomp :0 -xkb out.xkb
Comment 2 Todor Tsankov 2014-12-16 02:36:45 UTC
Created attachment 110888 [details]
output of xkbcomp :0 -xkb out.xkb

Added the output of "xkbcomp :0 -xkb out.xkb" as requested.
Comment 3 Sergey V. Udaltsov 2015-01-15 01:11:09 UTC
It is the well known issue with XKB options. They are applicable to the 1st group only, which in your case is us. Could you please try making Canadian layout first? That should help.

The root cause is beyond xkeyboard-config scope, it should be fixed in setxkbmap/xkbcomp. They should provide syntax to apply some XKB option to all groups.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.