The system is the official LTSP server package and the ltsp_chroot 
installed by the ltsp-build-client script on a Debian squeeze.

Unfortunately the numlockx deb package (1.1-10) does not handle the 
NumLock LED (or 
the xorg-server does not listen to "it"...).
However, I have found an alternative source at the debian bugreport page

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=482592

which works, i.e. the numlock led will not be confused after 
using numlockx.
(It sometimes happens -- after changing console -- that the LED is not in 
the proper state, however, pressing it once or twice cures the situation.)

--
Zsolt
/* numlockx.c */
/* I write that... it works well on my squeeze */

#include <X11/XKBlib.h>
#include <X11/extensions/XKB.h>
#include <X11/keysym.h>
int main(){
         Display *disp = XOpenDisplay (NULL);
         if(disp == NULL) return 1;
         unsigned int nl_mask = XkbKeysymToModifiers (disp, XK_Num_Lock);
         XkbLockModifiers (disp, XkbUseCoreKbd, nl_mask, nl_mask);
         XCloseDisplay (disp);
return 0;}
/*
         dep : libx11-dev
         compil : gcc numlockx.c -lX11 -o /usr/bin/numlockx
*/

/* Paul */

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to