Bug#757475: numlockx: auto mode fails

2014-08-10 Thread Ariel


On Sun, 10 Aug 2014, Drew Parsons wrote:


On Fri, 2014-08-08 at 16:47 -0400, Ariel wrote:



/lib/udev/findkeyboards is part of udev.



Compare udev on unstable, or testing:


Here is the commit where it was removed: 
http://cgit.freedesktop.org/systemd/systemd/commit/src/udev?id=ddc77f62244bb41d5c8261517e2e1ff1b763fc94


It looks like it should have been added to "hwdb" but debian has no such 
package, just some proposals.


I think you should reassign this bug to udev and make it a release 
blocker. They should not remove this utility until *after* they provide a 
new place for it.


-Ariel


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



Bug#757475: numlockx: auto mode fails

2014-08-10 Thread Drew Parsons
On Fri, 2014-08-08 at 16:47 -0400, Ariel wrote:
/lib/udev/findkeyboards is part of udev.
> 
> https://packages.debian.org/wheezy/amd64/udev/filelist
> 

No, it's literally not there.  That's the filelist for stable. Compare
udev on unstable, or testing:
https://packages.debian.org/jessie/amd64/udev/filelist


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



Bug#757475: numlockx: auto mode fails

2014-08-08 Thread Ariel


On Sat, 9 Aug 2014, Drew Parsons wrote:


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?


/lib/udev/findkeyboards is part of udev.

https://packages.debian.org/wheezy/amd64/udev/filelist

-Ariel


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



Bug#757475: numlockx: auto mode fails

2014-08-08 Thread Drew Parsons
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