I also experienced this weird NumLock state described by Egmont (5 is a
digit, the rest are cursor keys).

I only use one keyboard layout (Hungarian) and don't want to switch it to any 
other, thus I deleted the English one in the System Settings / Text Entry.
But after startup my keyboard layout is mostly set to English (which is also 
described by others, e.g. 
http://askubuntu.com/questions/362973/keyboard-layout-switches-to-english-each-time-i-reboot).

Setxkbmap shows the following:
    $ setxkbmap -query
    rules:      evdev
    model:      pc105
    layout:     us

So I have to manually switch to Hungarian either by
1.) clicking on the only Hungarian item in the keyboard indicator,
(Setxkbmap shows:
    rules:      evdev
    model:      pc105
    layout:     hu,us
    variant:    ,          )

2.) or entering setxkbmap hu in the terminal.
(Setxkbmap shows:
    rules:      evdev
    model:      pc105
    layout:     hu         )

But after this and using any modifier key (e.g. switching tasks with Alt+Tab or 
switching desktops with Ctrl+Alt+cursors) I face the mentioned inconsistent 
numpad state.
BTW numlockx says:
    $ numlockx status
    Numlock is on

Since I have to do the layout switching only once after startup I
overcame this faulty behavior with a script starting automatically after
login, as follows:

#!/bin/sh
setxkbmap hu
numlockx off
numlockx on

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-settings-daemon in Ubuntu.
https://bugs.launchpad.net/bugs/1247668

Title:
  NumLock turned off on layout switch

Status in “gnome-settings-daemon” package in Ubuntu:
  Confirmed

Bug description:
  Extracting from bug 1218322, confirmed there by multiple users:

  When switching the keyboard layout using a shortcut (such as
  Alt+Shift), NumLock functionality is (mostly) turned off.  More
  precisely: it goes into an inconsistent state where pressing numpad 5
  inserts the digit 5, but the other numpad keys move the cursor.
  Pressing the NumLock key turns it off completely (pressing numpad 5 no
  longer does anything), and pressing once again turns it on.

  This means that if someone prefers to have the NumLock functionality
  switched on all the time, they have to press the NumLock key twice
  after each layout change. I find this a huge usability problem.

  (I don't have a LED, so I cannot tell how that one is lit.)

  The bug is not present when changing the layout via the indicator
  applet.

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: gnome-settings-daemon 3.8.5-0ubuntu11.1
  ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
  Uname: Linux 3.11.0-12-generic x86_64
  ApportVersion: 2.12.5-0ubuntu2.1
  Architecture: amd64
  Date: Sun Nov  3 21:54:37 2013
  InstallationDate: Installed on 2012-05-30 (522 days ago)
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 
(20120425)
  MarkForUpload: True
  SourcePackage: gnome-settings-daemon
  UpgradeStatus: Upgraded to saucy on 2013-10-12 (21 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/1247668/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to