Bug 32839 - shift(rshift_both_capslock) makes Right Shift not behave as a normal Shift
Summary: shift(rshift_both_capslock) makes Right Shift not behave as a normal Shift
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: xkeyboard-config (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Valery Inozemtsev
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-02 19:10 MSK by Ivan Zakharyaschev
Modified: 2016-12-02 19:10 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Zakharyaschev 2016-12-02 19:10:15 MSK
xkeyboard-config-2.18-alt1

/usr/share/X11/xkb/symbols/shift has the following rules which doesn't seem to make the right shift ineffective:

// Toggle CapsLock when pressed together with the other Shift key.
partial modifier_keys
xkb_symbols "rshift_both_capslock" {
  key <RTSH> {
    type[Group1]="TWO_LEVEL",
    symbols[Group1] = [ Shift_R, Caps_Lock ]
  };
};

but they do.

Shift+Shift toggle CapsLock, but a single right shift doesn't act as shift modifier.

$ cat /etc/X11/xinit/Xkbmap
-layout us,ru
-option grp:shift_caps_switch,shift:rshift_both_capslock

Perhaps, a related bug/discussion: https://bugzilla.altlinux.org/show_bug.cgi?id=32655 (the common thing is that the behavior of pressing both right and left keys is used)