Package: numlockx
Version: 1.2-6
Severity: normal

numlockx provides /etc/X11/Xsession.d/55numlockx, which is intended to
automatically activate numlock when X starts.  

It contains code to look for a USB keyboard when used on a laptop in
auto mode:
  fkb=/lib/udev/findkeyboards
  [ -x $fkb ] && /lib/udev/findkeyboards | grep -q "USB keyboard" && NUMLOCK=on 
  

But /lib/udev/findkeyboards does not exist, so this code always fails.
Is it provided by some package that numlockx should Depend on or Suggest?


A separate aesthetic problem is that that line would be better as
  [ -x $fkb ] && $fkb | grep -q "USB keyboard" && NUMLOCK=on     

I think the functionality that Xsession.d/55numlockx is
intended to provide (autodetecting USB keyboards) would be better done
through the udev hotplug mechanism.  Xsession.d will only run when X
starts up, so the desired behaviour will not happen if a laptop is
first started without the USB keyboard plugged in.


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages numlockx depends on:
ii  libc6     2.19-7
ii  libx11-6  2:1.6.2-2
ii  libxext6  2:1.3.2-1
ii  libxtst6  2:1.2.2-1

numlockx recommends no packages.

Versions of packages numlockx suggests:
ii  gdm3 [x-display-manager]  3.12.2-2
ii  kdm [x-display-manager]   4:4.11.11-1

-- Configuration Files:
/etc/X11/Xsession.d/55numlockx changed [not included]

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to