For years now on Ubuntu-derivatives (right now on 12.04 derivative), I've been able to type all-caps holding the Shift key while typing, not having to remove it for when I need to hit Space.
For the last week or so, though, Shift+Space doesn't do anything, breaking my typing.
How can I get Shift+Space to insert a normal Space as was the functionality for years?
I'm using a Bluetooth Apple Wireless Keyboard in Dvorak layout on Elementary Luna. I have tested it on my laptop's main keyboard and the problem is still present, and I've noticed that this problem is present on other machines running Elementary Luna.
Here's output of xev
trying the key combination:
Outer window is 0x6600001, inner window is 0x6600002
PropertyNotify event, serial 8, synthetic NO, window 0x6600001,
atom 0x27 (WM_NAME), time 1502279833, state PropertyNewValue
PropertyNotify event, serial 9, synthetic NO, window 0x6600001,
atom 0x22 (WM_COMMAND), time 1502279833, state PropertyNewValue
PropertyNotify event, serial 10, synthetic NO, window 0x6600001,
atom 0x28 (WM_NORMAL_HINTS), time 1502279833, state PropertyNewValue
CreateNotify event, serial 11, synthetic NO, window 0x6600001,
parent 0x6600001, window 0x6600002, (10,10), width 50, height 50
border_width 4, override NO
PropertyNotify event, serial 14, synthetic NO, window 0x6600001,
atom 0x15b (WM_PROTOCOLS), time 1502279834, state PropertyNewValue
MapNotify event, serial 15, synthetic NO, window 0x6600001,
event 0x6600001, window 0x6600002, override NO
ConfigureNotify event, serial 23, synthetic NO, window 0x6600001,
event 0x6600001, window 0x6600001, (0,0), width 178, height 178,
border_width 0, above 0x6400003, override NO
PropertyNotify event, serial 23, synthetic NO, window 0x6600001,
atom 0x1f1 (_NET_WM_ALLOWED_ACTIONS), time 1502279847, state PropertyNewValue
ReparentNotify event, serial 23, synthetic NO, window 0x6600001,
event 0x6600001, window 0x6600001, parent 0xf4517d,
(0,0), override NO
PropertyNotify event, serial 23, synthetic NO, window 0x6600001,
atom 0x163 (_NET_WM_DESKTOP), time 1502279850, state PropertyNewValue
PropertyNotify event, serial 23, synthetic NO, window 0x6600001,
atom 0x163 (_NET_WM_DESKTOP), time 1502279850, state PropertyNewValue
PropertyNotify event, serial 23, synthetic NO, window 0x6600001,
atom 0x160 (_NET_FRAME_EXTENTS), time 1502279850, state PropertyNewValue
ConfigureNotify event, serial 23, synthetic NO, window 0x6600001,
event 0x6600001, window 0x6600001, (10,30), width 178, height 178,
border_width 0, above 0x0, override NO
PropertyNotify event, serial 23, synthetic NO, window 0x6600001,
atom 0x18e (WM_STATE), time 1502279850, state PropertyNewValue
PropertyNotify event, serial 23, synthetic NO, window 0x6600001,
atom 0x169 (_NET_WM_STATE), time 1502279850, state PropertyNewValue
ConfigureNotify event, serial 23, synthetic YES, window 0x6600001,
event 0x6600001, window 0x6600001, (-1,66), width 178, height 178,
border_width 2, above 0x0, override NO
MapNotify event, serial 23, synthetic NO, window 0x6600001,
event 0x6600001, window 0x6600001, override NO
VisibilityNotify event, serial 23, synthetic NO, window 0x6600001,
state VisibilityUnobscured
Expose event, serial 23, synthetic NO, window 0x6600001,
(0,0), width 178, height 10, count 3
Expose event, serial 23, synthetic NO, window 0x6600001,
(0,10), width 10, height 58, count 2
Expose event, serial 23, synthetic NO, window 0x6600001,
(68,10), width 110, height 58, count 1
Expose event, serial 23, synthetic NO, window 0x6600001,
(0,68), width 178, height 110, count 0
PropertyNotify event, serial 23, synthetic NO, window 0x6600001,
atom 0x169 (_NET_WM_STATE), time 1502279855, state PropertyNewValue
FocusIn event, serial 23, synthetic NO, window 0x6600001,
mode NotifyNormal, detail NotifyNonlinear
KeymapNotify event, serial 23, synthetic NO, window 0x0,
keys: 4294967265 0 0 0 16 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
PropertyNotify event, serial 23, synthetic NO, window 0x6600001,
atom 0x169 (_NET_WM_STATE), time 1502279855, state PropertyNewValue
PropertyNotify event, serial 23, synthetic NO, window 0x6600001,
atom 0x196 (XKLAVIER_STATE), time 1502279857, state PropertyNewValue
KeyRelease event, serial 28, synthetic NO, window 0x6600001,
root 0xed, subw 0x0, time 1502279871, (1355,447), root:(1356,515),
state 0x0, keycode 36 (keysym 0xff0d, Return), same_screen YES,
XLookupString gives 1 bytes: (0d) ""
XFilterEvent returns: False
PropertyNotify event, serial 28, synthetic NO, window 0x6600001,
atom 0x169 (_NET_WM_STATE), time 1502279881, state PropertyNewValue
PropertyNotify event, serial 32, synthetic NO, window 0x6600001,
atom 0x1ea (_NET_WM_ICON_GEOMETRY), time 1502279914, state PropertyNewValue
KeyPress event, serial 33, synthetic NO, window 0x6600001,
root 0xed, subw 0x0, time 1502281345, (1355,447), root:(1356,515),
state 0x0, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 33, synthetic NO, window 0x6600001,
root 0xed, subw 0x0, time 1502281545, (1355,447), root:(1356,515),
state 0x1, keycode 65 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 33, synthetic NO, window 0x6600001,
root 0xed, subw 0x0, time 1502281632, (1355,447), root:(1356,515),
state 0x1, keycode 65 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 33, synthetic NO, window 0x6600001,
root 0xed, subw 0x0, time 1502281770, (1355,447), root:(1356,515),
state 0x1, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
FocusOut event, serial 33, synthetic NO, window 0x6600001,
mode NotifyNormal, detail NotifyNonlinear
PropertyNotify event, serial 33, synthetic NO, window 0x6600001,
atom 0x169 (_NET_WM_STATE), time 1502285447, state PropertyNewValue
Interestingly enough, Caps Lock also triggers the problem. When Caps Lock is engaged, Space does nothing.
Best Answer
xmodmap
andxev
You could use
xmodmap
to dump or modify keyboard mapping:You could use
xev
to watch about keyboard eventsYou could try to modify you keyboard mapping:
This may work, but warn! Playing with
xmodmap
could place you into bad situation! Try this immediately after login and prepare yourself to force ending your session (and/or read the fine manual).Using xmodmap in this way won't store your config between X-sessions. I.E. you have to issue same command each time you log in.