Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 525026 - x11-misc/xkeyboard-config - Finnish layout replaces rwin with compose
Summary: x11-misc/xkeyboard-config - Finnish layout replaces rwin with compose
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-11 06:15 UTC by Nuno Silva
Modified: 2017-01-30 18:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nuno Silva 2014-10-11 06:15:53 UTC
The current Finnish keyboard layout forces the right super/windows-logo key to be used as a compose key, with the line 

    include "compose(rwin)"

While X keyboard options can be used to set the compose key (see man xkeyboard-config), and this can be later cleared with setxkbmap ("setxkbmap -option"), even if the options were set from xorg.conf, the way the Finnish layout sets the compose key can't be easily overriden unless you modify the keyboard layout directly,

    xmodmap -e 'keycode 134 = Super_R'

This can be unexpected, as only a few keyboard layouts set a compose key in the keyboard layout itself, and only two use the right super key for this purpose.

This does not seem to be some standard for Finnish keyboards, as http://kotoistus.tksoft.com/linux/index-en.html mentions

> The Kotoistus keyboard doesn't specify a compose key. I have defined the right windows key as the compose key, for convenience.

Can this somehow be done through XkbOptions instead of modifying the base keyboard layout directly? 


Reproducible: Always
Comment 1 Rémi Cardona (RETIRED) gentoo-dev 2014-10-12 12:22:50 UTC
IMHO your request is legitimate. But this is a question that should be asked upstream, as I'd rather avoid deviating whenever possible.

Head over to:

https://bugs.freedesktop.org/enter_bug.cgi?product=xkeyboard-config

with the information you've given here. Do post back the upstream bug # so we can track it.

Cheers
Comment 2 Nuno Silva 2014-10-12 12:54:03 UTC
Reported upstream, freedesktop bug 84934.
Comment 3 Harri Nieminen (Moiman) 2017-01-30 15:59:48 UTC
This is fixed in upstream by:
https://cgit.freedesktop.org/xkeyboard-config/commit/?id=50c87d41ed9a86d300377ce330909c11466af139

and its part of x11-misc/xkeyboard-config-2.14, which is oldest ebuild in tree.
So this should be closed.