On Tuesday 24 May 2016 19:41:41 wabe wrote: > Philip Webb wrote: > > 160524 wabe wrote: > > > Philip Webb wrote: > > >> I've noticed that the NumLock key goes off after 'startx'. > > >> My window manager is Fluxbox & I don't see any mention there > > >> nor does there seem to be any setting under /etc/X11 . > > >> I have added 'numlock' to the default runlevel, > > >> but that makes no difference. > > > > > > I had the same "problem" under XFCE till I added to my .xinitrc > > > 'xsetleds +num -caps -scroll' > > > > I tried that, inserting it before/after 'startfluxbox', > > but it makes no difference. > > 'xsetleds' has no man file & 'which xsetleds' yields nothing. > > $ which xsetleds > /usr/bin/xsetleds > > eix xsetleds > [I] x11-misc/xsetleds > Verfügbare Versionen: 0.1.3{tbz2} ~0.1.3-r1 > Installierte Versionen: 0.1.3{tbz2}(07:53:32 25.10.2010) > Startseite: ftp://ftp.unix-ag.org/user/bmeurer/xsetleds/ > Beschreibung: small tool to report and change the keyboard > LED states of an X display > > > There is also a manpage for xsetleds. I guess, xsetleds isn't just > installed on your system. > > -- > Regards > wabe Alternatively, check man xset. I was not sure if either of these just switches the LEDs on/off, or if it also modifies the underlying functionality. I couldn't get xset to change my numlock because it wouldn't recognise "Num Lock" as a name and numbers 1 to 3 would not have an effect on it. Anyway, the way I did it was by emerging numlockx and then creating this file: cat /etc/X11/xinit/xinitrc.d/95-numlockx #!/bin/sh numlockx on -- Regards, Mick