Questions tagged [numlock]

28 questions
43
votes
15 answers

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 switch on and off the numerical keys. However,…
Martin Vegter
  • 69
  • 66
  • 195
  • 326
18
votes
3 answers

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
  • 27,586
  • 56
  • 179
  • 309
12
votes
1 answer

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 password and enter i3, numlock is on. …
11
votes
5 answers

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 new line above and inserts the letter k. And every…
bollovan
  • 513
  • 5
  • 11
7
votes
1 answer

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 replacing gdm by gdm3 for my case. This turns…
pmassat
  • 121
  • 1
  • 7
5
votes
1 answer

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 time I log in. I had a look at the following…
IcyFlame
  • 334
  • 1
  • 4
  • 12
5
votes
1 answer

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) Using setleds +num, but it corrupts the numlock…
user746184
  • 93
  • 1
  • 6
5
votes
1 answer

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 never use it. No numlock for the external keyboard =…
MightyPork
  • 1,222
  • 11
  • 21
4
votes
4 answers

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
  • 517
  • 1
  • 7
  • 15
3
votes
1 answer

Keep NumLock always in Linux Mint

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 Apr 15 07:50 keep-numlock-on.sh with…
Vlastimil Burián
  • 27,586
  • 56
  • 179
  • 309
2
votes
0 answers

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 normally. If I switch between tty1 and tty[2~6], the…
2
votes
1 answer

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 "keycode 77 = ? but I do not know what use instead of ?
Kian Maleki
  • 131
  • 3
2
votes
1 answer

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 it. I have no idea why num lock is on at start.…
Daniel
  • 123
  • 5
2
votes
1 answer

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 very convenient, with one caveat: the equal sign…
polemon
  • 11,133
  • 11
  • 69
  • 111
2
votes
2 answers

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 in some kind of inconsistent state. If I now press…
user21105
1
2