|
FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD. |
|
Thread Tools | Display Modes |
|
|
|||
Xorg starts with numlock on
I finally have XOrg and KDE running on my laptop, running 7.2-release. However I have one significant problem now, XOrg starts with numlock on, and I cannot seem to disable it. Being as this is a laptop keyboard, this turns several important keys into numbers.
What do I need to do to correct this? I set KDE to turn the num lock off when it starts but that doesn't seem to work. I see that when X is first loading, before KDE actually starts up, the num lock is turned on at that point. |
|
||||
I use numlockx in ~/.xinitrc:
http://www.freshports.org/x11/numlockx/ Ifm you're using KDM/GDM you will probably need to add to a different startup script (Which I do not know).
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. |
|
|||
I don't have any documentation for numlockx; it seems designed to turn numlock on - I need to turn it off. Is there an option to do that?
|
|
|||
I use Xorg under OpenBSD, without a DE.. numlock is off.
It's more likely that KDE is controlling it as Carpetsmoker has suggested. I found this guide.. via Google: http://linux.about.com/od/kubuntu_doc/a/kubudg35t07.htm |
|
|||
Quote:
Any other ideas? I have set KDE to turn it off when it starts, but it doesn't work. I would be more than happy to just disable num lock entirely as this is a laptop keyboard, but I can't find a way to do that. |
|
|||
After some more experimentation I found that indeed
Code:
numlockx off I eventually wrote a shell script for my ~/bin directory, which I called "wwww" (since the letter w is not effected by the status of numlock) that essentially just invoked the command above. Then, once I could boot into KDE and use all my keys, I went to system settings -> advanced -> autostart -> where I could enter the same command to be started on starting KDE. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Xorg taking the fun out of BSD | Carpetsmoker | General software and network | 122 | 6th December 2010 01:21 PM |
Xorg freeze? | xfel | OpenBSD Installation and Upgrading | 2 | 6th November 2008 09:37 PM |
executing commands for all users when X starts with KDM | caesius | FreeBSD General | 2 | 20th October 2008 09:03 AM |
Is xorg necessary....... | rex | FreeBSD General | 10 | 19th October 2008 03:05 PM |
xorg bug? | enterhaken | FreeBSD Ports and Packages | 9 | 17th July 2008 02:38 PM |