Questions tagged [numlock]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
116 views

How to remember or apply Num Lock state based on which keyboard is connected?

I use my laptop on 2 different desks, both with different external keyboards. One of them I generally use with Num Lock on, the other with Num Lock off (the only arrows it has are in the numpad, it's ...
Bart van Heukelom's user avatar
2 votes
0 answers
105 views

When switching tty, who is responsible for synchronizing the state of keyboard NumLock?

My Xorg program uses tty1. Use Ctrl+Alt+F[2~6] to switch between ttY[2~6]. At this time, the NumLock or CapsLock state (including the corresponding LED light on the keyboard) can be synchronized ...
HeroesLoveToRoujiamo's user avatar
2 votes
1 answer
72 views

How to activate a deactivated num_lock?

I use the following code to deactivate the num lock key. xmodmap -e "keycode 77 = """ How can I activate the num lock key again? I think I have to use something like: xmodmap -e &...
Kian Maleki's user avatar
0 votes
0 answers
475 views

Ubuntu, disable "num lock" on startup using crontab

When I type this in a terminal I can disable the "num lock" xmodmap -e "keycode 77 = """ Now I want to disable it on startup. I type, sudo crontab -e It opens a nano ...
Kian Maleki's user avatar
0 votes
1 answer
55 views

Sticky keys with external keypad

I've defined my modifier keys (Shift, Alt, Ctrl) as sticky in terminal using loadkeys and the corresponding keymap definition. They behave as expected with the standard keyboard, but they are not ...
Plzak's user avatar
  • 1
2 votes
1 answer
1k views

How to deactivate num lock on Xubuntu on MacBook?

I just tried to resurrect an old MacBook by installing Xubuntu on it. However, I face a severe problem. Every time I start Xubuntu the num lock is on and there is no key on the MacBook to deactivate ...
Daniel's user avatar
  • 123
2 votes
1 answer
610 views

Using the Numlock key as an equals key with XKB

The Numlock key sees little action in today's day and age, yet it's location in the (standard) keyboard layout is quite prominent. Since I use a lot of spreadsheets, using the keypad for data entry is ...
polemon's user avatar
  • 11.4k
0 votes
0 answers
140 views

Notification (DBus?) when CapsLock status is changed

I need a program, say a Python script, to be notified when the CapsLock and NumLock status are changed. I may have several keyboards and the code must run in user space so I can't rely on a kind of ...
PeterHerb's user avatar
1 vote
1 answer
683 views

Difference in NumPad processing in Linux vs Windows

On my Windows 8.1 machine if NumLock is ON and I press Shift+KP_1 Then KP_1 acts as KP_End as it logically should. But in Linux(Manjaro/Fedora/Ubuntu/MX Linux) if NumLock is ON and I press Shift+...
ng.newbie's user avatar
  • 1,175
0 votes
2 answers
213 views

is there an alternative to numlockx for RHEL 7.6?

I'm setting up an offline RHEL 7.6 workstation (no network allowed, ever) and identifying all of the dependencies involved in using numlockx is becoming ridiculous. I'm trying to find out whether RHEL ...
spemble's user avatar
  • 101
0 votes
1 answer
1k views

How to run a "Keep NumLock always on" command in Linux Mint 19 Cinnamon on each reboot / re-login?

In an answer of my question on Code Review: Keep NumLock always on in Linux (C++), I am pointed to the right solution for this problem, that being a command: setxkbmap -option numpad:mac which ...
Vlastimil Burián's user avatar
1 vote
0 answers
31 views

Fix Numlock for one specific keyboard only (leaving the behaviour of other devices untouched)

My question is basically identical to this U&L Q&A titled: Enable numlock only for external keyboard, with a slight difference. I have the solution running to enable Numlock whenever an ...
Peter Nerlich's user avatar
4 votes
4 answers
7k views

NumLock is off on start-up on Linux Mint 18.2

I upgraded my OS to the latest version - Linux Mint 18.2 Sarah. After upgrading my NumLock is off. I changed my display manager from mdm to lightdm. this method is not working.
mend4x's user avatar
  • 517
2 votes
3 answers
355 views

What is the most CPU efficient way to ensure that NumLock is on?

Situation: I have a script watching over NumLock status, well not really watching, but turning it On every 1 second. The script is running in the background. Reasoning: I often accidentally turn off ...
Vlastimil Burián's user avatar
12 votes
1 answer
10k views

i3 turning on numlock

I hate numlock. I have 'enable numlock on boot' disabled in BIOS. When I boot to windows, numlock is not on. When I boot into Linux and sit at the login screen, numlock is not on. When I enter my ...
Ken - Enough about Monica's user avatar
2 votes
0 answers
955 views

Numlock on by default on Linux Kali [closed]

I am fairly new to this version of Linux. I have it set so that when it boots, it automatically boots into the GUI for the operating system. This means when I load up the OS I am greeted with a login ...
Dan's user avatar
  • 121
3 votes
1 answer
617 views

Keep NumLock always in Linux Mint [duplicate]

I have a simple objective: Keep NumLock always on OS and DE: Linux Mint 17.3 / 18 Cinnamon I found this: Keep NumLock always on So, I created this small script -rwxr--r-- 1 root root 47 ...
Vlastimil Burián's user avatar
19 votes
3 answers
52k views

Turn on NumLock on startup in Linux Mint in the Login window

Situation: When I turn on my Linux Mint 20/19/18/17 Cinnamon the NumLock is Off in the Login window. Objective: Turn on NumLock automatically at startup in the Login window.
Vlastimil Burián's user avatar
8 votes
1 answer
6k views

Remember Numlock state after login in GNOME

I am running Debian GNOME 8.0. I would like to have Numlock ON as default. So I followed the instructions on this page: https://wiki.archlinux.org/index.php/Activating_Numlock_on_Bootup#GDM ...
pmassat's user avatar
  • 141
6 votes
1 answer
4k views

turn on numlock at login screen. GDM

GDM is turning off numlock key. I have tried following: a) installing numlockx and inserting following lines at /etc/gdm/Init/Default if [ -x /usr/bin/numlockx ]; then /usr/bin/numlockx on fi b)...
user746184's user avatar
1 vote
1 answer
1k views

My shift/ctrl and numlock keys stopped working

My ctrl and right-shift keys are not responding, though they still work in a VMware window. Numlock doesn't work. A held-down key does not repeat. clicking in a field in another window does not make ...
JDługosz's user avatar
  • 540
5 votes
1 answer
920 views

Enable numlock when new external keyboard is connected?

I'm not sure this is possible, but I thought why not to ask. I have a laptop without a numeric block, and use it sometimes with external keyboard. Numlock for the internal keyboard = useless, so I ...
MightyPork's user avatar
  • 1,222
2 votes
2 answers
732 views

Resync NumLock light with NumLock status

I plugged a second keyboard into my computer to test something, and now my NumLock light is out of sync with the lock status (the light is off when NumLock is on, and vice-versa). How can I get the ...
Mark's user avatar
  • 4,244
1 vote
2 answers
2k views

No numlock in screen?

I am using a laptop and Putty on a Windows system. When I connect to my Debian Squeeze server in Bash environment, I can use the "Pos1/Home" or "End" (at the numlock part of the keyboard) to navigate ...
Daniel Marschall's user avatar
44 votes
15 answers
25k views

Keep NumLock always on

I have a standard keyboard with numerical keys on the right side (I guess it's called 104-key keyboard). I want to use the numerical keys only as numerical keys. That means I don't want the NumLock to ...
Martin Vegter's user avatar
5 votes
1 answer
10k views

Switching on numlock by default in Linux Mint

Whenever I boot in to Linux Mint the NumLock is switched off by default. As my username consists of some numbers, I need to switch on NumLock each time. I want it to be switched on by default each ...
IcyFlame's user avatar
  • 334
2 votes
2 answers
3k views

Setxkbmap turns off NumLock LED - but not NumLock

Whenever I use setxkbmap in a terminal (or my .bashrc), the next time I press any modifier keys (ctrl, shift, alt) the NumLock LED on my keyboard goes off, but NumLock itself is still active so it's ...
user avatar
12 votes
5 answers
10k views

Turn NumLock on on startup?

I usually edit in Vim,and when pressing +, I'd rather move my hand to the right part of the keyboard where + resides rather than doing shift + =. But when NumLock is not on, in Vim it just opens a ...
bollovan's user avatar
  • 523