Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 353902 - x11-misc/xkeyboard-config-2.1 does not set Mod4 for Caps Lock like previous versions
Summary: x11-misc/xkeyboard-config-2.1 does not set Mod4 for Caps Lock like previous v...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-06 21:25 UTC by konsti
Modified: 2017-09-23 20:49 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 konsti 2011-02-06 21:25:25 UTC
I use this ~/.Xmodmap called by .xinitrc with "xmodmap  ~/.Xmodmap":

remove Lock = Caps_Lock
add mod4 = Caps_Lock

With xkeyboard-config 2.1 Caps Lock still acts like Caps lock after this. With all versions lower this works, from 1.7 to 2.0-r1.

Reproducible: Always
Comment 1 Matt Turner gentoo-dev 2017-09-23 20:49:30 UTC
My guess is that this was associated with https://bugs.freedesktop.org/show_bug.cgi?id=30898

And that

commit 8cc4dd7aac9c386507052071d748f9d7b6b342e8
Author: Stephan Hilb <stephan@ecshi.net>
Date:   Sun Jan 2 17:22:30 2011 +0100

    assign action for keysym Shift_L by default

was the culprit, and the subsequent patch (included in version 2.2)

commit 43b56494bed2e67a2a26266850cb9e0b28a056c0
Author: Stephan Hilb <stephan@ecshi.net>
Date:   Sat Feb 19 14:06:28 2011 +0100

    Add option to bind Control modifier to <CAPS> key while preserving the Caps_Lock keysym

resolved the issue.