Bug 19897

Summary: input.xkb.variant nodeadkeys is being ignored with two input.xkb.layouts
Product: xorg Reporter: Heiko Baums <heiko>
Component: Input/evdevAssignee: Peter Hutterer <peter.hutterer>
Status: RESOLVED INVALID QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: 7.4 (2008.09)   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Heiko Baums 2009-02-02 02:11:53 UTC
When only setting de as input.xkb.layout in /etc/hal/fdi/policies/10-keymap.fdi, input.xkb.variant nodeadkeys is working correctly. Every "deadkey" is shown at once.

This setting uses nodeadkey:
<merge key="input.xkb.layout" type="string">de</merge>
<merge key="input.xkb.variant" type="string">nodeadkeys</merge>

When setting additional keyboard layouts to input.xkb.layout like de,ru, input.xkb.variant nodeadkeys is ignored for de. Every "deadkey" is only shown when another key is pressed.

This setting ignores nodeadkeys completely:
<merge key="input.xkb.layout" type="string">de,ru</merge>
<merge key="input.xkb.variant" type="string">nodeadkeys</merge>

nodeadkeys should work for every keyboard layout, which provides this keyboard variant, even if there are other additional keyboard layout settings, which don't provide this keyboard variant.
Comment 1 Heiko Baums 2009-02-02 02:13:42 UTC
I, of course, meant /etc/hal/fdi/policy/10-keymap.fdi.
Comment 2 Daniel Stone 2009-02-02 03:18:00 UTC
On Mon, Feb 02, 2009 at 02:11:53AM -0800, bugzilla-daemon@freedesktop.org wrote:
> When setting additional keyboard layouts to input.xkb.layout like de,ru,
> input.xkb.variant nodeadkeys is ignored for de. Every "deadkey" is only shown
> when another key is pressed.
> 
> This setting ignores nodeadkeys completely:
> <merge key="input.xkb.layout" type="string">de,ru</merge>
> <merge key="input.xkb.variant" type="string">nodeadkeys</merge>
> 
> nodeadkeys should work for every keyboard layout, which provides this keyboard
> variant, even if there are other additional keyboard layout settings, which
> don't provide this keyboard variant.

Your syntax is invalid.  Try 'nodeadkeys,' (without the quotes, of
course).
Comment 3 Heiko Baums 2009-02-02 07:21:20 UTC
I tried it, and X seems to work. But I didn't try switching between the keyboard layouts, because I haven't configured a hotkey. I'm usually using the DE's keyboard layout switcher. But the Xfce Keyboard Layout plugin crashes with this corrected hal configuration.

I filed a bug report there:
http://bugzilla.xfce.org/show_bug.cgi?id=4889

I think, I can close this bug as invalid.

Thanks for the hint.

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.