Results 1 to 10 of 10
This problem is specific to FreeBSD as I understand it. I have done the following to activate the numlock key at startup:
cd /usr/ports/x11/numlockx/
make install clean
However the boot/loader.conf ...
- 01-05-2008 #1Linux User
- Join Date
- Dec 2004
- Posts
- 323
KDE/FreeBSD numlock key problem
This problem is specific to FreeBSD as I understand it. I have done the following to activate the numlock key at startup:
cd /usr/ports/x11/numlockx/
make install clean
However the boot/loader.conf file makes no mention of a numlock key.
When the computer starts up, the numlock key is activated, but as soon as X starts, numlock is being deactivated. How can this be solved: I want the numlock key on when KDE has loaded.
Thanks in advance
- 01-06-2008 #2
- 01-08-2008 #3Linux User
- Join Date
- Dec 2004
- Posts
- 323
Thanks for the response. Unfortunately that did not work and I still have to manually activate the numlock key. Currently I have this in ~/.xinitrc:
If there is anything you see that is incorrect, please let me know.Code:xsetroot -solid "#4a6a8a" # Force 96 DPI xrdb -quiet -merge -nocpp <<EOF Xft.dpi: 96 EOF numlockx on & kwin & dbsd-initialconf && /usr/local/share/desktopbsd/initialconf/finish-cfg.sh
- 01-09-2008 #4
For KDE try adding it to ~/.xession. (That's appropriate for xdm; I'm not sure about kdm.)
If no luck, then see this gentoo tip under the "for KDM users" section. The FBSD path may differ slightly.
If still no good, does the numlockx command work when run within a terminal (with X running)?
- 01-20-2008 #5Linux User
- Join Date
- Dec 2004
- Posts
- 323
Thank you for your response. First of all, there is no file .xsession. I do have .xsession-errors however, which appears to contain some logging data.
If I type numlockx in bash, the following is shown:
What approach to take now?Code:# numlockx Xlib: connection to ":0.0" refused by server Xlib: No protocol specified Error opening display!
- 01-20-2008 #6
- 01-22-2008 #7Linux User
- Join Date
- Dec 2004
- Posts
- 323
Yes, that works. Now I suppose I need to enable this in a start up script somewhere? And will this work for the user that is logged in only or for all users who happen to login?
- 01-22-2008 #8
I'm not sure if this applies to BSD or not, but in KDE 3.5 you can go to Control Center>Peripherals>Keyboard>NumLock on KDE start up
I do not respond to private messages asking for Linux help, Please keep it on the forums only.
All new users please read this. and the Forum FAQS.
- 01-22-2008 #9
- 01-22-2008 #10Linux User
- Join Date
- Dec 2004
- Posts
- 323
Thanks, that worked. I will find out someday what script was written to to enable this.


Reply With Quote
