FS#23272 - [xkeyboard-config] [xorg-xmodmap] are conflicting in some manner

Attached to Project: Arch Linux
Opened by Drew (r4) - Monday, 14 March 2011, 19:04 GMT
Last edited by Jan de Groot (JGC) - Monday, 11 April 2011, 07:07 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:
xkeyboard-config 2.1-1 and xorg-xmodmap 1.0.5-2 are conflicting in some manner.

Essentially what is happening, whenever I try to remap a key with xmodmap, xkeyboard-config is preventing the key remap from taking place. I checked 'xmodmap' in terminal and according to xmodmap, the remap is taking place.

However, I was unable to get the remap to work until i downgraded the xkeyboard-config package.

There were no errors when trying to actually remap the key with xmodmap (other than it not working) and Xorg.0.log showed no errors. It is very unclear as to why this might be happening.

Additional info:
xkeyboard-config 2.1-1
xorg-xmodmap 1.0.5-2

Steps to reproduce:
1. Install most recent packages of xkeyboard-config and xorg-xmodmap
2.
xmodmap -e "remove Lock = Caps_Lock"
xmodmap -e "clear Mod3"
xmodmap -e "add Mod3 = Caps_Lock"
This task depends upon

Closed by  Jan de Groot (JGC)
Monday, 11 April 2011, 07:07 GMT
Reason for closing:  Not a bug
Additional comments about closing:  See upstream bug.
Comment by Drew (r4) - Monday, 14 March 2011, 19:05 GMT
SOrry about not filling out the title completely!! Was an accident.
Comment by Sascha Kruse (knopwob) - Tuesday, 15 March 2011, 03:55 GMT Comment by Drew (r4) - Tuesday, 15 March 2011, 09:39 GMT
Good :)
Comment by Drew (r4) - Thursday, 31 March 2011, 19:24 GMT
Here is the fix.... https://bugs.freedesktop.org/show_bug.cgi?id=35317#c14

It's about halfway down the post on comment 14.
Comment by Jan de Groot (JGC) - Monday, 04 April 2011, 09:32 GMT
Please try xkeyboard-config 2.2 from testing.
Comment by Tom Wambold (tom5760) - Sunday, 10 April 2011, 19:58 GMT
I just tried xkeyboard-config 2.2.1-1 from testing (I only updated that one package), and the same problem persists.
Comment by Drew (r4) - Monday, 11 April 2011, 02:17 GMT
It's not really a bug, look at the post by Sascha Kruse.

This is the fix.

I want my <CAPS> key to be bound to Mod3 modifier:
xmodmap -e 'remove lock = Caps_Lock' -e 'keysym Caps_Lock = ISO_Level5_Shift'
-e 'add mod3 = ISO_Level5_Shift'
(note that I used ISO_Level5_Shift as a keysym, which is generally used
together with mod3. But it doesn't really matter: just don't use Caps_Lock or
else you will have your lock back)

Loading...