Fedora 36
XFCE 4.16
Dell Optiplex 980
I am needing to know how do I get my numlock to automatically turn on when X loads and the log in screen comes up?
I have Numlockx installed, but the numlock does not come on after x loads.
I had it set in the DELL bios for numlock to be on at boot, but after X loads, when you go to hit a number on the 10 key all you hear is an internal beep from the computer. I have to toggle the numlock off and back on then punch the numbers in for my password.
Have it set this way was fine for all the other DE's i've used... MATE and Gnome... But not for XFCE for some reason.
On 7/9/22 08:21, c. marlow wrote:
Have it set this way was fine for all the other DE's i've used... MATE and Gnome... But not for XFCE for some reason.
Have you asked at the Xfce forum at http://forum.xfce.org/index.php yet? I've always found them very helpful.
On 7/9/22 07:21, c. marlow wrote:
Fedora 36
XFCE 4.16
Dell Optiplex 980
I am needing to know how do I get my numlock to automatically turn on when X loads and the log in screen comes up?
I have Numlockx installed, but the numlock does not come on after x loads.
I had it set in the DELL bios for numlock to be on at boot, but after X loads, when you go to hit a number on the 10 key all you hear is an internal beep from the computer. I have to toggle the numlock off and back on then punch the numbers in for my password.
Have it set this way was fine for all the other DE's i've used... MATE and Gnome... But not for XFCE for some reason.
I have never needed the cursoring functions on the 10-key so I created a file I load at boot that sets the numlock and replaces the cursor stuff with 0-9.
.kbrc
#!/bin/bash
xmodmap -e "keycode 77 = KP_Equal KP_Equal KP_Equal" xmodmap -e "keycode 90 = KP_0 KP_0 KP_0" xmodmap -e "keycode 87 = KP_1 KP_1 KP_1" xmodmap -e "keycode 88 = KP_2 KP_2 KP_2" xmodmap -e "keycode 89 = KP_3 KP_3 KP_3" xmodmap -e "keycode 83 = KP_4 KP_4 KP_4" xmodmap -e "keycode 84 = KP_5 KP_5 KP_5" xmodmap -e "keycode 85 = KP_6 KP_6 KP_6" xmodmap -e "keycode 79 = KP_7 KP_7 KP_7" xmodmap -e "keycode 80 = KP_8 KP_8 KP_8" xmodmap -e "keycode 81 = KP_9 KP_9 KP_9" xmodmap -e "keycode 91 = KP_Decimal KP_Decimal KP_Decimal"
and at the end of .bashrc
#------------------------------# # replace cursor pad w/ 10key [ -f ~/.kbrc ] && . ~/.kbrc
On 7/9/22 11:58, Mike Wright wrote:
On 7/9/22 07:21, c. marlow wrote:
Fedora 36
XFCE 4.16
Dell Optiplex 980
I am needing to know how do I get my numlock to automatically turn on when X loads and the log in screen comes up?
I have Numlockx installed, but the numlock does not come on after x loads.
I had it set in the DELL bios for numlock to be on at boot, but after X loads, when you go to hit a number on the 10 key all you hear is an internal beep from the computer. I have to toggle the numlock off and back on then punch the numbers in for my password.
Have it set this way was fine for all the other DE's i've used... MATE and Gnome... But not for XFCE for some reason.
I have never needed the cursoring functions on the 10-key so I created a file I load at boot that sets the numlock and replaces the cursor stuff with 0-9.
.kbrc
#!/bin/bash
xmodmap -e "keycode 77 = KP_Equal KP_Equal KP_Equal" xmodmap -e "keycode 90 = KP_0 KP_0 KP_0" xmodmap -e "keycode 87 = KP_1 KP_1 KP_1" xmodmap -e "keycode 88 = KP_2 KP_2 KP_2" xmodmap -e "keycode 89 = KP_3 KP_3 KP_3" xmodmap -e "keycode 83 = KP_4 KP_4 KP_4" xmodmap -e "keycode 84 = KP_5 KP_5 KP_5" xmodmap -e "keycode 85 = KP_6 KP_6 KP_6" xmodmap -e "keycode 79 = KP_7 KP_7 KP_7" xmodmap -e "keycode 80 = KP_8 KP_8 KP_8" xmodmap -e "keycode 81 = KP_9 KP_9 KP_9" xmodmap -e "keycode 91 = KP_Decimal KP_Decimal KP_Decimal"
and at the end of .bashrc
#------------------------------# # replace cursor pad w/ 10key [ -f ~/.kbrc ] && . ~/.kbrc
I did this so long ago I forgot something kool. The numlock is remapped to "=".
If you don't want the = sign comment out the first xmodmap line.
:m
On Sat, 2022-07-09 at 12:13 -0700, Mike Wright wrote:
I did this so long ago I forgot something kool. The numlock is remapped to "=".
In all the years I've been using PCs, I've never wanted the number pad to be anything other than a numberpad. I see no reason to duplicate the cursor keys right next to it. The only use I've ever found for the numlock key was to test if the keyboard was working (the light goes on and off as expected).