Posts: 65
THX1138
Joined: 14 Sep 2017
#1
I have numlockx 1.2.7 installed. I'm not sure whether I installed it or whether it came with antiX. In any case, numlock is off when I start antiX and I'd like it to be on. Am I supposed to invoke numlockx somehow or is installing it supposed to be enough?
Posts: 1,445
skidoo
Joined: 09 Feb 2012
#2
Am I supposed to invoke numlockx somehow
yes.
shortest manpage evar: man numlockx


(i didn't test but) you should be able to invoke it by adding a line to your session autostart file
numlockx on &


hey, I just realized...
my numlock is turned on, and I don't recall installing numlock (so guess it's pre-installed in antiX)
and all along I figgered it was due to marking numlock=on within the BIOS setup
Posts: 215
macondo
Joined: 14 Sep 2007
#3
$ nano .xinitrc

this is what I got in mine:

Code: Select all

#!/bin/sh
setxkbmap -option terminate:ctrl_alt_bksp
xsetroot -solid black
unclutter -idle 2 &
numlockx &

exec icewm
save/exit/reboot to test it.
Posts: 65
THX1138
Joined: 14 Sep 2017
#4
Thanks. Should there already be a .xinitrc file in my home directory or is it somewhere else or should I just create one in my home directory?
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#5
THX1138 wrote: Thanks. Should there already be a .xinitrc file in my home directory or is it somewhere else or should I just create one in my home directory?
Do not create an .xinitrc file. Instead put the entry (numlockx &) into ~/.desktop-session/startup file