← Back to team overview

desktop-packages team mailing list archive

[Bug 198759] Re: Right CTRL don't work

 

Can someone please reopen this bug? I confirm it is still here on Ubuntu
Trusty 14.04.3 LTS.

I managed to fix the bug on my system. I am sharing here both my
findings and a patch.

The upstream fix from freedesktop.org does essentially three things:

 1. In types/pc, define a new type LOCAL_EIGHT_LEVEL. Works like
EIGHT_LEVEL but uses Control instead of LevelFive to access the extra
shift levels. Does not need to have a key mapped to LevelFive.

 2. In symbols/nbsp, define a mapping for the space key named level4nl.
Identical to level4n but with type LOCAL_EIGHT_LEVEL instead of
EIGHT_LEVEL.

 3. In symbols/fr, section "oss",
      - remove “include "level5(rctrl_switch)"” (this is the same as Franck's workaround),
      - replace “include "nbsp(level4n)"” with “include "nbsp(level4nl)"”

Inspecting the files on my system, it appears that parts 1 and 2 of the
fix are implemented, but part 3 is missing. I browsed the source code at
https://code.launchpad.net/ubuntu/+source/xkeyboard-config and it
appears the bug has been reintroduced on 2013-12-22, here:
http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/trusty/xkeyboard-
config/trusty/revision/1.1.16#symbols/fr It also appears to affect
Trusty, Vivid and Wily, but not Precise.

The attached patch fixes the issue on my system. This is essentially
part 3 of the freedesktop.org fix, with also some comments fixed to
match reality. For the patch to be effective, I had to remove the cached
precompiled XKB files (sudo rm -f /var/lib/xkb/server-*.xkm) before
restarting the server. Now, I have an fr-oss keyboard with a functional
Control_R, and I still can type a narrow no-break space (U+202F) as
Ctrl+Shift+Space, with either the left or the right control and/or shift
keys.

** Patch added: "Restore Control_R in fr-oss layout."
   https://bugs.launchpad.net/ubuntu/+source/xkeyboard-config/+bug/198759/+attachment/4466888/+files/fr-oss-ctrl-fix.patch

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xkeyboard-config in Ubuntu.
https://bugs.launchpad.net/bugs/198759

Title:
  Right CTRL don't work

Status in xkeyboard-config package in Ubuntu:
  Fix Released
Status in xkeyboard-config source package in Hardy:
  Fix Released

Bug description:
  Binary package hint: xkeyboard-config

  1/ Do a fresh and french Hardy desktop-live (pre Alpha6) installation.
  2/ Open shortcuts management
  3/ assign ejection of cd to Right CTRL + Alt + P
  -> shotcut don't work

  OR

  Install and use virtualbox (that use Right CTRL), and once virtualbox
  have keyboard and mouse focus try to exit VM with the Right CTRL ;)

  OR

  boot in recovery mode -> root shell -> Right CTRL+C don't work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xkeyboard-config/+bug/198759/+subscriptions