Re: [newbie] Num Lock
First, make sure you have numlock-1.0-7mdk installed. Next, open kpackage and find the numlock package (System / Configuration / Boot and Init). Single click on the package and look at the 'properties' tab to verify that you have this version installed. Next look at the 'File list' tab and you'll see a list of where the different files relevant to that package have been installed; you should see an entry that says /usr/X11R6/bin/enable_X11_numlock If you don't see this package, then you either don't have the correct version or somehow the file was corrupted when you downloaded; that program was specifically added to the last version. If you would like to get emails on the latest packages and updates, go to the Mandrake home page and navigate to the developer area and subscribe to the changlog list. I can verify that the program does exist, because I just installed it about a week or two ago and it works great. Let me know how it works out, Mike "Stephen F. Bosch" wrote: Michael Holt wrote: If you installed the latest version of the numlock program from the site listed below, enable_X11_numlock should automatically be installed in the directory /etc/X11R6/bin I've installed the said Numlock rpm, and it hasn't had any impact. My Numlock key resolutely ignores this script. What do I need to do to make it work, or is this specific to my hardware? (btw, the aforementioned X11 program is *not* included in the RPM, at least not the release RPM). -Stephen- -- The Penguins are coming!!! Michael Holt [EMAIL PROTECTED]
Re: [newbie] Num Lock
This link should get you that file. ftp://rpmfind.net/linux/MandrakeCooker/cooker/Mandrake/RPMS/numlock-1.0-7mdk.i586.rpm Seve -Original Message- From: Michael Holt [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Saturday, April 15, 2000 1:37 AM Subject: Re: [newbie] Num Lock First, make sure you have numlock-1.0-7mdk installed. Next, open kpackage and find the numlock package (System / Configuration / Boot and Init). Single click on the package and look at the 'properties' tab to verify that you have this version installed. Next look at the 'File list' tab and you'll see a list of where the different files relevant to that package have been installed; you should see an entry that says /usr/X11R6/bin/enable_X11_numlock If you don't see this package, then you either don't have the correct version or somehow the file was corrupted when you downloaded; that program was specifically added to the last version. If you would like to get emails on the latest packages and updates, go to the Mandrake home page and navigate to the developer area and subscribe to the changlog list. I can verify that the program does exist, because I just installed it about a week or two ago and it works great. Let me know how it works out, Mike "Stephen F. Bosch" wrote: Michael Holt wrote: If you installed the latest version of the numlock program from the site listed below, enable_X11_numlock should automatically be installed in the directory /etc/X11R6/bin I've installed the said Numlock rpm, and it hasn't had any impact. My Numlock key resolutely ignores this script. What do I need to do to make it work, or is this specific to my hardware? (btw, the aforementioned X11 program is *not* included in the RPM, at least not the release RPM). -Stephen- -- The Penguins are coming!!! Michael Holt [EMAIL PROTECTED]
Re: [newbie] Num Lock
Oops! I guess I should have included that link, thanks for adding. Mike Sevatio Octavio wrote: This link should get you that file. ftp://rpmfind.net/linux/MandrakeCooker/cooker/Mandrake/RPMS/numlock-1.0-7mdk.i586.rpm Seve -Original Message- From: Michael Holt [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Saturday, April 15, 2000 1:37 AM Subject: Re: [newbie] Num Lock First, make sure you have numlock-1.0-7mdk installed. Next, open kpackage and find the numlock package (System / Configuration / Boot and Init). Single click on the package and look at the 'properties' tab to verify that you have this version installed. Next look at the 'File list' tab and you'll see a list of where the different files relevant to that package have been installed; you should see an entry that says /usr/X11R6/bin/enable_X11_numlock If you don't see this package, then you either don't have the correct version or somehow the file was corrupted when you downloaded; that program was specifically added to the last version. If you would like to get emails on the latest packages and updates, go to the Mandrake home page and navigate to the developer area and subscribe to the changlog list. I can verify that the program does exist, because I just installed it about a week or two ago and it works great. Let me know how it works out, Mike "Stephen F. Bosch" wrote: Michael Holt wrote: If you installed the latest version of the numlock program from the site listed below, enable_X11_numlock should automatically be installed in the directory /etc/X11R6/bin I've installed the said Numlock rpm, and it hasn't had any impact. My Numlock key resolutely ignores this script. What do I need to do to make it work, or is this specific to my hardware? (btw, the aforementioned X11 program is *not* included in the RPM, at least not the release RPM). -Stephen- -- The Penguins are coming!!! Michael Holt [EMAIL PROTECTED] -- The Penguins are coming!!! Michael Holt [EMAIL PROTECTED]
RE: [newbie] Num Lock
I'm not able to find that file can some one send the file thank a lot the is enable_X11_numlock -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Michael Holt Sent: Friday, April 14, 2000 9:26 AM To: [EMAIL PROTECTED] Subject: Re: [newbie] Num Lock From the KDE desktop (assuming you're using it), click the icon 'DrakConf' and then select 'Start up services'. From there, scroll down the list and make sure you've selected 'Numlock'. Also, if you download the latest numlock version from ftp://rpmfind.net/linux/MandrakeCooker (you'll have to check which folder it's in - contrib or cooker) then you'll also be able to drop a link to /usr/X11R6/bin/enable_X11_numlock into your autostart folder and there you go. Mike "Sami A. Kutbi" wrote: Hi all how can i have the NumLock enable as soon as i log in. -- The Penguins are coming!!! Michael Holt [EMAIL PROTECTED]
[newbie] Num Lock
Hi all how can i have the NumLock enable as soon as i log in.
Re: [newbie] num lock
- Original Message - From: pete moss [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, August 16, 1999 9:29 PM Subject: [newbie] num lock i know this is minor, but does anyone know how to make the num lock activate automatically when i boot kde? You would think this is trivial, but no one seems able to accomplish it, at least that I have found. I used to use a small utility in the old DOS 1.x days to do this until DOS allowed the bios to control this setting and Windows keeps the same state when it started. Why can't Linux/KDE do this? The setleds command was used (in Mandrake 5.3) to turn on numlock for the bash shell, but starting kde would turn it back off. It is in Mandrake 6.0 also. It may need to be uncommented, I'm not certain. It is similar to what is in the Linux FAQ. From Mandrake 5.3 and 6.0 /etc/rc.d/rc.system: # Linux Mandrake : this little script switch on the LEDs # in console mode INITTY=/dev/tty[1-8] for tty in $INITTY; do setleds -D +num $tty done There is an interesting section in /etc/XF86Config: # Let the server do the NumLock processing. This should only be # required when using pre-R6 clients #ServerNumLock # Specify which keyboard LEDs can be user-controlled (eg, with xset(1)) #Xleds 1 2 3 But as you can see, it is commented out. http://amelia.db.erau.edu/ldp/HOWTO/Config-HOWTO-3.html contains the following advice: "We have seen above how to make a few special keys work. The sample file .Xmodmap works well if you want to use Xjed, but it makes the keypad unusable. You'll then need another config file, which we'll call .Xmodmap.num: ! Definitions can be found in X11/keysymdef.h keycode 77 = Num_Lock keycode 112 = KP_Divide keycode 63 = KP_Multiply keycode 82 = KP_Subtract keycode 86 = KP_Add keycode 79 = KP_7 keycode 80 = KP_8 keycode 81 = KP_9 keycode 83 = KP_4 keycode 84 = KP_5 keycode 85 = KP_6 keycode 87 = KP_1 keycode 88 = KP_2 keycode 89 = KP_3 keycode 90 = KP_0 keycode 91 = KP_Decimal Make sure that your /etc/X11/XF86Config does not contain these three lines: ServerNumLock Xleds XkbDisable and in case, comment them out. To re-enable the keypad, you'll issue the command xmodmap .Xmodmap.num." This explains why it is comment out, but does not tell us how to do what we want. From http://www.xfree86.org/man/XF86Conf.html : "XLeds led ... makes led available for clients instead of using the traditional function (Scroll Lock, Caps Lock Num Lock). led is a list of numbers in the range 1 to 3." And from http://www.itlibrary.com/reference/library/0672308509/lsg05.htm : "In theory, you can use the Xleds setting to permit programming of the LED buttons on most keyboards (for Num Lock, Caps Lock, and Scroll Lock). Leave it commented as the LEDs are not used for much user feedback. " This site _might_ have something, but I am at a language disadvantage: http://dione.ids.pl/~pborys/xfaq/xfaq.html This may be of some help: http://amelia.db.erau.edu/ldp/HOWTO/Keyboard-and-Console-HOWTO-10.html , but probably not, and finally, from http://amelia.db.erau.edu/ldp/FAQ/Linux-FAQ-7.html "7.10 How do I get NUM LOCK to default to on? Use the setleds program, for example (in /etc/rc.local or one of the /etc/rc.d/* files): for t in 1 2 3 4 5 6 7 8 do setleds +num /dev/tty$t /dev/null done Setleds is part of the kbd package (`` How do I remap my keyboard to UK, French, etc.? ''). Alternatively, patch your kernel. You need to arrange for KBD_DEFLEDS to be defined to (1 VC_NUMLOCK) when compiling drivers/char/keyboard.c. " I assume that the latter accomplishes in th ekernel the same thing the shell script does, but I haven't tried it to see if 1) it works and 2) the "numlock on" state survives starting kde. So, in conclusion, it _is_ trivial to turn on numlock for the terminal windows, but not to keep the numlock state or set it automatically when starting KDE. So with all that Linux can accomplish, why not this? What have I missed? Hoyt
Re: [newbie] num lock - A solution to turn numlock on in KDE
I can't believe I did all that looking anmd found the answer on my own hard drive in my personal "knowledge base": "From: Wolfgang Bornath [EMAIL PROTECTED] Subject: Re: How to set Numlock Off at logon Date: Monday, April 12, 1999 11:05 PM "Dave C." [EMAIL PROTECTED] writes: That's funny. I'd like to know how to turn it ON as default, whether KDE is running or not. -Dave As I posted to Val: To turn ON numlock at boottime you may use the setleds command. To make it permanent you may put it in a startup file. Mandrake does so by default. In /etc/rc.d/rc.sysinit you may write: INITTY=/dev/tty[1-8] for tty in $INITTY; do setleds -D +num $tty done Now you have numlock in textmode on tty 1-8. In KDE it's a totally different story. I haven't found a solution to do this with a simple command yet. My solution is to map the keys of the num-pad to the single digits they shall provide. I do this in ~/.Xmodmap, the file for keymapping for the user. Looks like: ! redefines numeric keypad to be used without NumLock keycode 79 = 7 keycode 80 = 8 keycode 81 = 9 keycode 83 = 4 keycode 84 = 5 keycode 85 = 6 keycode 87 = 1 keycode 88 = 2 keycode 89 = 3 keycode 90 = 0 keycode 91 = comma keycode 86 = plus ! deactivates NumLock key keycode 77 = - Now I've numlock ON when typing on a tty and numlock OFF but the mapped keys when typing in KDE (or any other wm you may choose). Works for me so I never really cared for a more simple solution. Wolfgang" So I did overlook the answer in the info I gathered before. Perhaps the question is Why doesn't Mandrake do this for us since they do so much else that makes the distribution special? Hoyt
[newbie] num lock
i know this is minor, but does anyone know how to make the num lock activate automatically when i boot kde? :P
[newbie] NUM Lock Problem
I have just installed Linux-Mandrake for the first time. I put it on my Thinkpad 760ED and everything works great. Except.. Every time I boot up, my num lock is on and when I try to login in, if the login id uses any keys that fall in the numeric keypad area, I get numbers instead of letters. If anybody can help this rookie out I'd greatly appreciate it. TIA, Craig