startx and numlocks

Dru dlavigne6 at sympatico.ca
Sun Nov 23 06:58:17 PST 2003



On Fri, 21 Nov 2003, Chris Pressey wrote:

> On Fri, 21 Nov 2003 08:38:24 -0500 (EST)
> Dru <dlavigne6 at sympatico.ca> wrote:
>
> >
> > Does anyone know how to keep numlocks on when using "startx"? I have
> > numlocks on in all of my terminals, but when I start X, it goes off.
> > Is there a line I can add to ".xinitrc"?
> >
> > TIA,
> >
> > Dru
>
> Hi Dru,
>
> Have you looked at /usr/ports/x11/numlockx ?

Thanks, that does the trick. For those that want to try it, after you've
installed the port, add this line to the beginning of your "~/.xinitrc":

exec /usr/X11R6/bin/numlockx &

Dru


More information about the freebsd-questions mailing list