I am unable to type the dollar sign ($) using Shift+4 combo in Ubuntu. Nothing happens when this combo is pressed.
The issue was first noticed in 16.04, and continues after upgrade to 17.04.
As this is a dual boot Ubuntu and is not frequently used for programming, this issue was noticed only recently. Hence I cannot remember if any new app caused this issue.
Some more details regarding the system and debugging:
- The laptop has a standard keyboard (no special currency symbols etc), with keyboard layout set as US in Ubuntu.
- Shift key, and 4 key works individually. Shift+3, Shift+5 combos work correctly.
- Shift+4 combo works correctly while booted to Windows, and $ sign appears correctly.
- Tried typing $ sign with on-screen keyboard in Ubuntu (on-board), but nothing happens when I click on Shift key and then the 4 key.
- Can type $ using unicode (Ctrl+Shift+U 0024) in Ubuntu
It would be really helpful if anyone can provide directions on how I can debug this issue or info on any known app causing this.
xev output for Shift+3:
KeyPress event, serial 28, synthetic NO, window 0x4000001,
root 0x20a, subw 0x0, time 386927, (870,72), root:(870,124),
state 0x10, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 28, synthetic NO, window 0x4000001,
root 0x20a, subw 0x0, time 387092, (870,72), root:(870,124),
state 0x11, keycode 12 (keysym 0x23, numbersign), same_screen YES,
XLookupString gives 1 bytes: (23) "#"
XmbLookupString gives 1 bytes: (23) "#"
XFilterEvent returns: False
KeyRelease event, serial 28, synthetic NO, window 0x4000001,
root 0x20a, subw 0x0, time 387208, (870,72), root:(870,124),
state 0x11, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 28, synthetic NO, window 0x4000001,
root 0x20a, subw 0x0, time 387224, (870,72), root:(870,124),
state 0x10, keycode 12 (keysym 0x33, 3), same_screen YES,
XLookupString gives 1 bytes: (33) "3"
XFilterEvent returns: False
xev output for Shift+4:
KeyPress event, serial 28, synthetic NO, window 0x4000001,
root 0x20a, subw 0x0, time 607916, (648,613), root:(648,665),
state 0x10, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeymapNotify event, serial 28, synthetic NO, window 0x0,
keys: 10 0 0 0 0 0 4 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
KeyRelease event, serial 28, synthetic NO, window 0x4000001,
root 0x20a, subw 0x0, time 608219, (648,613), root:(648,665),
state 0x11, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
sudo dpkg-reconfigure keyboard-configuration
and reboot might help ... as you said that it has never come to your notice since installation, the default keyboard configuration for ubuntu might not be appropriate for your hardware ... but before this check if Shift+4 are pressed simultaneously (highlighted in visual keyboard) as mentioned in above comment – รยקคгรђשค Jul 23 '17 at 06:59xev
in the question. The Shift+4 combo is resulting in a keymap event, although I don't understand where this is configured. I am using an Asus ROG laptop, and tried dpkg reconfigure to choose 'Asus Laptop' option. This isn't solving the issue. – eternalthinker Jul 28 '17 at 23:00shift
+4
doesdmesg | tail
report an error message? – WinEunuuchs2Unix Jul 28 '17 at 23:58dconf-editor
and run it ... go to desktop/ibus/general and tell what do you observe? – รยקคгรђשค Jul 29 '17 at 04:56