I have a relatively new install of Ubuntu 15.04 beta. Up until yesterday, everything was working swimmingly. At some point on 4/1/15, my right Shift key stopped working as a Shift key and I haven't been able to figure out why. I'm pretty sure that it is software, because in my various tests, I was able to swap the Left & Right Shift keys using xmodmap.
What I'm looking to do is to have both Shift keys function as Shift. Right now I am using the us layout:
$ setxkbmap -print
xkb_keymap {
xkb_keycodes { include "evdev+aliases(qwerty)" };
xkb_types { include "complete" };
xkb_compat { include "complete" };
xkb_symbols { include "pc+us+inet(evdev)+capslock(ctrl_modifier)+terminate(ctrl_alt_bksp)" };
xkb_geometry { include "pc(pc105)" };
};
What I can't seem to figure out is how to make both Shift keys work as Shift keys. Here is the xev output for the left (properly functioning) Shift key:
KeyPress event, serial 36, synthetic NO, window 0x4000001,
root 0x2ac, subw 0x0, time 58946313, (110,140), root:(140,225),
state 0x10, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 36, synthetic NO, window 0x4000001,
root 0x2ac, subw 0x0, time 58946553, (110,140), root:(140,225),
state 0x11, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
And the xev
output for when I press the right Shift key.
PropertyNotify event, serial 36, synthetic NO, window 0x4000001,
atom 0x137 (_NET_WM_STATE), time 59049363, state PropertyNewValue
FocusOut event, serial 36, synthetic NO, window 0x4000001,
mode NotifyGrab, detail NotifyAncestor
FocusIn event, serial 36, synthetic NO, window 0x4000001,
mode NotifyUngrab, detail NotifyAncestor
KeymapNotify event, serial 36, synthetic NO, window 0x0,
keys: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
If it matters, I alternate between Gnome and Mate.
Update (a few hours later):
I ran setxkbmap -print
on my laptop, which is a very similar configuration (Ubuntu Vidid Beta - Gnome Edition; no MATE installed) and on which the Shift keys work as expected, and the output looks exactly the same as the other machine. Quite confusing.
Update 4/8/2015: I logged out of Gnome and into MATE, and the problem went away. I didn't file this as a Launchpad bug because I'm 100% sure that it is something that I did somewhere, and I just can't figure out what. I did scour through Launchpad looking for anything that seemed to be related, and there was nothing. I figure a package update causing this sort of issue would have affected more than just me.