Xenablenumlock

This page is dedicated to enabling the Numlock (Number Lock) key in LTSP/LDM.

AHEM

http://marc.info/?l=ltsp-developer&m=121630805906461&w=2 … see this before looking below. Apparently this howto wont work for LDM.

  • Install numlockx package:
sudo apt-get install numlockx
  • Create an LDM script to utilize numlockx (since /etc/X11/Xsession.d/ scripts don't get executed until AFTER you login):
sudo vim /etc/X11/Xsession.d/80MyCustomScriptName

Script:

#!/bin/bash
if [ -x /usr/bin/numlockx ]; then /usr/bin/numlockx on || /bin/true; fi

# EOF
  • Reboot thin-clients, and viola! Numlock goodness for all users.

Thanks to sbalneav in #ltsp for this hint!
Further thanks to vagrantc and johnny in $ltsp for pointing me to the LDM specific rc.d dirs!

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License