Numpad weird mappings

Bug #1298668 reported by Nilfred on 2014-03-27
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xkeyboard-config (Ubuntu)

Bug Description

1) The release of Ubuntu you are using, via 'lsb_release -rd' or System -> About Ubuntu
lsb_release -rd
Description: Ubuntu Trusty Tahr (development branch)
Release: 14.04
2) The version of the package you are using, via 'apt-cache policy pkgname' or by checking in Software Center
3) What you expected to happen
xmodmap -e "keycode 106 = KP_Divide U2215 KP_Divide U2215 0x10000f7 XF86Ungrab 0x10000f7 XF86Ungrab"
xmodmap -e "keycode 63 = KP_Multiply U22C5 KP_Multiply U22C5 0x10000d7 XF86ClearGrab 0x10000d7 XF86ClearGrab"
xmodmap -e "keycode 91 = KP_Delete KP_Decimal KP_Delete KP_Decimal period U202F comma U202F"
4) What happened instead
xmodmap -pke
keycode 106 = U2215 KP_Divide U2215 KP_Divide 0x10000f7 XF86Ungrab 0x10000f7 XF86Ungrab
keycode 63 = U22C5 KP_Multiply U22C5 KP_Multiply 0x10000d7 XF86ClearGrab 0x10000d7 XF86ClearGrab
keycode 91 = KP_Delete comma KP_Delete comma period U202F period U202F

I couldn't use calculator with a single hand.
What's output isn't what is printed in the Spanish keyboard.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: udev 204-5ubuntu13
ProcVersionSignature: Ubuntu 3.13.0-19.40-generic 3.13.6
Uname: Linux 3.13.0-19-generic x86_64
ApportVersion: 2.13.3-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Mar 27 19:30:59 2014
InstallationDate: Installed on 2010-01-28 (1519 days ago)
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027.1)
MachineType: System manufacturer System Product Name
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-19-generic root=UUID=4bcab513-d663-472a-9d5a-6b0b7f3b75cc ro bootchart=svg elevator=deadline quiet splash crashkernel=384M-:128M crashkernel=384M-:128M vt.handoff=7
SourcePackage: systemd
UpgradeStatus: Upgraded to trusty on 2014-03-26 (1 days ago) 01/16/2012
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 2201
dmi.board.asset.tag: To be filled by O.E.M. F1A75-V PRO
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev X.0x
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr2201:bd01/16/2012:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnF1A75-VPRO:rvrRevX.0x:cvnChassisManufacture:ct3:cvrChassisVersion: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer

Nilfred (nilfred) wrote :
Martin Pitt (pitti) wrote :

Can you please be a little more specific how the keys misbehave? I. e. which keys did you press, what did you expect to happen, what happened instead? This isn't clear (at least to me, I'm not an specialist) from the xmodmap lines. Thanks!

affects: systemd (Ubuntu) → xkeyboard-config (Ubuntu)
Changed in xkeyboard-config (Ubuntu):
status: New → Incomplete
Nilfred (nilfred) wrote :

Hardware requirements:
Standard 104 keys keyboard with numeric pad. Any language.

How to reproduce:
Open Calc.
Write using just the numpad:
Will result in this "Malformed expression" instead:

For console guys, try these commands using the numpad: "ls /", "ls *", "cd ..":
ls ∕
ls: no se puede acceder a ∕: No existe el archivo o el directorio
ls ⋅
ls: no se puede acceder a ⋅: No existe el archivo o el directorio
cd ,,
bash: cd: ,,: No existe el archivo o el directorio;

The keys that misbehave are:
Numeric keypad dash
Numeric keypad asterisk
Numeric keypad decimal

What did you expect to happen?
Numeric keypad dash should output a dash ("/")
Numeric keypad asterisk should output an asterisk ("*")
Numeric keypad decimal should output a decimal dot (".")

What happened instead?
Numeric keypad dash outputs a non standard dash ("∕")
Numeric keypad asterisk outputs an elevated dot ("⋅")
Numeric keypad decimal outputs a decimal comma (",")

Selecting "English (EEUU)" or "English (EEUU international with dead keys)" as layout does not solve this bug, so I must remove "Spanish" from the title.

summary: - Spanish numpad unusable on most applications
+ Numpad unusable on most applications

Found another one:
Numeric keypad minus
Numeric keypad minus should output a minus ("-")
Numeric keypad minus outputs a long minus ("−")

These keys used to work reliably on 12.04.4. I just "upgrade" to 14.04 thought:
sudo update-manager -d

Launchpad Janitor (janitor) wrote :

[Expired for xkeyboard-config (Ubuntu) because there has been no activity for 60 days.]

Changed in xkeyboard-config (Ubuntu):
status: Incomplete → Expired
Nilfred (nilfred) wrote :

Finally found a solution:

dconf reset /org/gnome/desktop/input-sources/xkb-options


gsettings reset org.gnome.desktop.input-sources xkb-options

The problem was:
dconf read /org/gnome/desktop/input-sources/xkb-options
You can test the pain yourself with this command:
dconf write /org/gnome/desktop/input-sources/xkb-options "['keypad:future']"
And then try to use the calculator.

Nilfred (nilfred) on 2016-01-17
Changed in xkeyboard-config (Ubuntu):
status: Expired → New
summary: - Numpad unusable on most applications
+ Numpad weird mappings
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers